(1.0ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "adeia_action_id" integer, "adeia_permission_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) select sqlite_version(*)  (0.6ms) CREATE INDEX "index_adeia_action_permissions_on_adeia_action_id" ON "adeia_action_permissions" ("adeia_action_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_adeia_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_adeia_action_id' AND type='index'   (0.9ms) CREATE INDEX "index_adeia_action_permissions_on_adeia_permission_id" ON "adeia_action_permissions" ("adeia_permission_id")  (0.8ms) CREATE TABLE "adeia_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.7ms) CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "adeia_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "adeia_group_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.7ms) CREATE INDEX "index_adeia_group_users_on_adeia_group_id" ON "adeia_group_users" ("adeia_group_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_adeia_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_adeia_group_id' AND type='index'   (0.8ms) CREATE INDEX "index_adeia_group_users_on_user_id" ON "adeia_group_users" ("user_id")  (1.0ms) CREATE TABLE "adeia_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "adeia_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "owner_type" varchar, "adeia_element_id" integer, "permission_type" integer, "read_right" boolean DEFAULT 'f', "create_right" boolean DEFAULT 'f', "update_right" boolean DEFAULT 'f', "destroy_right" boolean DEFAULT 'f', "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE INDEX "index_adeia_permissions_on_adeia_element_id" ON "adeia_permissions" ("adeia_element_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_adeia_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_adeia_element_id' AND type='index'   (0.9ms) CREATE INDEX "index_adeia_permissions_on_owner_type_and_owner_id" ON "adeia_permissions" ("owner_type", "owner_id")  (0.9ms) CREATE TABLE "adeia_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar, "is_valid" boolean, "adeia_permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.7ms) CREATE INDEX "index_adeia_tokens_on_adeia_permission_id" ON "adeia_tokens" ("adeia_permission_id")  (1.2ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.8ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "password_digest" varchar, "remember_token" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES (20151012185726)  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES (20151012185720);   (1.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2019-02-02 10:18:59 UTC], ["updated_at", 2019-02-02 10:18:59 UTC]]  (0.6ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateAdeiaElements (20151003144041)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]  (1.5ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "adeia_action_id" integer, "adeia_permission_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_adeia_action_permissions_on_adeia_action_id" ON "adeia_action_permissions" ("adeia_action_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_adeia_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_adeia_action_id' AND type='index'   (0.9ms) CREATE INDEX "index_adeia_action_permissions_on_adeia_permission_id" ON "adeia_action_permissions" ("adeia_permission_id")  (0.9ms) CREATE TABLE "adeia_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.8ms) CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.7ms) CREATE TABLE "adeia_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "adeia_group_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.8ms) CREATE INDEX "index_adeia_group_users_on_adeia_group_id" ON "adeia_group_users" ("adeia_group_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_adeia_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_adeia_group_id' AND type='index'   (1.0ms) CREATE INDEX "index_adeia_group_users_on_user_id" ON "adeia_group_users" ("user_id")  (0.7ms) CREATE TABLE "adeia_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.0ms) CREATE TABLE "adeia_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "owner_type" varchar, "adeia_element_id" integer, "permission_type" integer, "read_right" boolean DEFAULT 'f', "create_right" boolean DEFAULT 'f', "update_right" boolean DEFAULT 'f', "destroy_right" boolean DEFAULT 'f', "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE INDEX "index_adeia_permissions_on_adeia_element_id" ON "adeia_permissions" ("adeia_element_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_adeia_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_adeia_element_id' AND type='index'   (0.9ms) CREATE INDEX "index_adeia_permissions_on_owner_type_and_owner_id" ON "adeia_permissions" ("owner_type", "owner_id")  (1.1ms) CREATE TABLE "adeia_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar, "is_valid" boolean, "adeia_permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE INDEX "index_adeia_tokens_on_adeia_permission_id" ON "adeia_tokens" ("adeia_permission_id")  (0.9ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.0ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "password_digest" varchar, "remember_token" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES (20151012185726)  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES (20151012185720);   (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) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2019-02-02 10:19:39 UTC], ["updated_at", 2019-02-02 10:19:39 UTC]]  (0.6ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (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) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUsers (20151012185720)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "password_digest" varchar, "remember_token" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151012185720"]]  (0.6ms) commit transaction Migrating to CreateArticles (20151012185726)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151012185726"]]  (0.4ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2019-02-02 10:21:25 UTC], ["updated_at", 2019-02-02 10:21:25 UTC]]  (0.5ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_articles_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_articles_on_user_id' AND type='index'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]  (1.1ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "password_digest" varchar, "remember_token" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20151012185726)  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20151012185720);   (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) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2019-02-02 10:22:16 UTC], ["updated_at", 2019-02-02 10:22:16 UTC]]  (0.6ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]  (1.3ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "adeia_action_id" integer, "adeia_permission_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (1.3ms) CREATE INDEX "index_adeia_action_permissions_on_adeia_action_id" ON "adeia_action_permissions" ("adeia_action_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_adeia_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_adeia_action_id' AND type='index'   (0.8ms) CREATE INDEX "index_adeia_action_permissions_on_adeia_permission_id" ON "adeia_action_permissions" ("adeia_permission_id")  (0.8ms) CREATE TABLE "adeia_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.8ms) CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "adeia_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "adeia_group_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.8ms) CREATE INDEX "index_adeia_group_users_on_adeia_group_id" ON "adeia_group_users" ("adeia_group_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_adeia_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_adeia_group_id' AND type='index'   (0.9ms) CREATE INDEX "index_adeia_group_users_on_user_id" ON "adeia_group_users" ("user_id")  (0.7ms) CREATE TABLE "adeia_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "adeia_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_type" varchar, "owner_id" integer, "adeia_element_id" integer, "permission_type" integer, "read_right" boolean DEFAULT 'f', "create_right" boolean DEFAULT 'f', "update_right" boolean DEFAULT 'f', "destroy_right" boolean DEFAULT 'f', "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.7ms) CREATE INDEX "index_adeia_permissions_on_adeia_element_id" ON "adeia_permissions" ("adeia_element_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_adeia_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_adeia_element_id' AND type='index'   (0.9ms) CREATE INDEX "index_adeia_permissions_on_owner_type_and_owner_id" ON "adeia_permissions" ("owner_type", "owner_id")  (0.8ms) CREATE TABLE "adeia_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar, "is_valid" boolean, "adeia_permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE INDEX "index_adeia_tokens_on_adeia_permission_id" ON "adeia_tokens" ("adeia_permission_id")  (0.8ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.7ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "password_digest" varchar, "remember_token" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20151012185726)  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20151012185720);   (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) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2019-02-02 10:22:50 UTC], ["updated_at", 2019-02-02 10:22:50 UTC]]  (0.7ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateAdeiaElements (20151003144041)  (0.0ms) begin transaction  (0.1ms) CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) rollback transaction  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (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) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateAdeiaElements (20151003144041)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144041"]]  (0.7ms) commit transaction Migrating to CreateAdeiaPermissions (20151003144208)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "adeia_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_type" varchar, "owner_id" integer, "adeia_element_id" integer, "permission_type" integer, "read_right" boolean DEFAULT 'f', "create_right" boolean DEFAULT 'f', "update_right" boolean DEFAULT 'f', "destroy_right" boolean DEFAULT 'f', "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_adeia_permissions_on_owner_type_and_owner_id" ON "adeia_permissions" ("owner_type", "owner_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_owner_type_and_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_owner_type_and_owner_id' AND type='index'   (0.1ms) CREATE INDEX "index_adeia_permissions_on_adeia_element_id" ON "adeia_permissions" ("adeia_element_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144208"]]  (0.9ms) commit transaction Migrating to CreateAdeiaGroups (20151003144650)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "adeia_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144650"]]  (0.6ms) commit transaction Migrating to CreateAdeiaGroupUsers (20151003144706)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "adeia_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "adeia_group_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_adeia_group_users_on_adeia_group_id" ON "adeia_group_users" ("adeia_group_id")  (0.0ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_adeia_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_adeia_group_id' AND type='index'   (0.1ms) CREATE INDEX "index_adeia_group_users_on_user_id" ON "adeia_group_users" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144706"]]  (0.7ms) commit transaction Migrating to CreateAdeiaTokens (20151003150524)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "adeia_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar, "is_valid" boolean, "adeia_permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_adeia_tokens_on_adeia_permission_id" ON "adeia_tokens" ("adeia_permission_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003150524"]]  (0.7ms) commit transaction Migrating to CreateAdeiaActions (20151003150747)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "adeia_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003150747"]]  (0.7ms) commit transaction Migrating to CreateAdeiaActionPermissions (20151003150806)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "adeia_action_id" integer, "adeia_permission_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_adeia_action_permissions_on_adeia_action_id" ON "adeia_action_permissions" ("adeia_action_id")  (0.0ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_adeia_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_adeia_action_id' AND type='index'   (0.1ms) CREATE INDEX "index_adeia_action_permissions_on_adeia_permission_id" ON "adeia_action_permissions" ("adeia_permission_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003150806"]]  (0.8ms) commit transaction Migrating to CreateUsers (20151012185720)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "password_digest" varchar, "remember_token" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151012185720"]]  (0.7ms) commit transaction Migrating to CreateArticles (20151012185726)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151012185726"]]  (0.7ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2019-02-02 10:23:25 UTC], ["updated_at", 2019-02-02 10:23:25 UTC]]  (0.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_adeia_permission_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_adeia_permission_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_adeia_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_adeia_action_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_user_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_adeia_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_adeia_group_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_adeia_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_adeia_element_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_owner_type_and_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_owner_type_and_owner_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_tokens_on_adeia_permission_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_tokens_on_adeia_permission_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_articles_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_articles_on_user_id' AND type='index'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "Adeia::Group"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "FFUfkwjpmOBc8rp1mVJY6w"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Sat, 02 Mar 2019], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT ? [["token", "FFUfkwjpmOBc8rp1mVJY6w"], ["LIMIT", 1]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."create_right" = ? [["id", 1], ["name", "admin/articles"], ["create_right", true]]  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."create_right" = ? [["id", 1], ["name", "admin/articles"], ["create_right", true]]  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."create_right" = ? [["id", 1], ["name", "admin/articles"], ["create_right", true]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."create_right" = ? [["id", 1], ["name", "admin/articles"], ["create_right", true]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1001]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1001 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1002], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1002]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1002 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1003], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1003]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1003 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1003 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1004], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1004]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1004 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1004 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1005], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1005]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1005 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1006], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1006]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1006 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1007], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1007]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1007 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1007 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1008], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1008]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1008 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1008 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.7ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1009], ["adeia_element_id", 1], ["permission_type", 0], ["destroy_right", true], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1009]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1009 AND "adeia_permissions"."destroy_right" = ? AND "adeia_elements"."name" = ? [["destroy_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1009 AND "adeia_permissions"."destroy_right" = ? AND "adeia_elements"."name" = ? [["destroy_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1010], ["adeia_element_id", 1], ["permission_type", 0], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1010]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = ? AND "adeia_actions"."name" = ? [["name", "admin/articles"], ["name", "share"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = ? AND "adeia_actions"."name" = ? [["name", "admin/articles"], ["name", "share"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1011], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "ehq10DrqSgZz-Yp12c4bXg"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Sat, 02 Mar 2019], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT ? [["token", "ehq10DrqSgZz-Yp12c4bXg"], ["LIMIT", 1]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."update_right" = ? [["id", 1], ["name", "admin/articles"], ["update_right", true]]  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."update_right" = ? [["id", 1], ["name", "admin/articles"], ["update_right", true]]  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."update_right" = ? [["id", 1], ["name", "admin/articles"], ["update_right", true]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."update_right" = ? [["id", 1], ["name", "admin/articles"], ["update_right", true]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1012], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1012]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1012 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1012 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1013], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1013]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1013 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1013 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1016], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1016]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1016 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1016 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1018], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1018]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1018 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1018 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1020], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1020], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1020]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1020 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1020 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1022], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1021], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1022]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1022 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1022 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_group_users" ("adeia_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_group_id", 1], ["user_id", 1023], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "Adeia::Group"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1023]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE (("adeia_permissions"."owner_type" = 'Adeia::Group' AND "adeia_permissions"."owner_id" = 1) OR ("adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1023)) AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$Q0lyokEIBTQaPjNYaX8HAOIc8350HLy1GJQRUbW2eTKj..qeE3Jca"], ["remember_token", "3VTAzCjsufpe97ul9X1Rgg"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "3VTAzCjsufpe97ul9X1Rgg"], ["LIMIT", 1]] Completed 200 OK in 1ms (ActiveRecord: 0.1ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$R6YIvLYs2G7OrMUH71P9Wutwp0UYu2KJKN3d8ytDbYztVuh5nbOlK"], ["remember_token", "gQAI1zxZFntnP5aesXjZBg"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "gQAI1zxZFntnP5aesXjZBg"], ["LIMIT", 1]] Completed 200 OK in 0ms (ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 5ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 2ms (ActiveRecord: 0.2ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$TjYjJNswoGNWPayr9h5Q.eyTlse8h8SQA5xZVPYVinSUoQPATkFpW"], ["remember_token", "iwWoKbziEzbZbPdtQg-9oA"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "iwWoKbziEzbZbPdtQg-9oA"], ["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Completed 200 OK in 2ms (ActiveRecord: 0.3ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$WpLVZIuSyu4vAX0LtNtSwOzC7jKMl6ABZV6KZ4AFCEeF1sU558Uz2"], ["remember_token", "n-wSW8XCzyNjyY7FmQtILw"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("id", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 100], ["title", "Rspec tests"], ["content", "Lorem ipsum"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "n-wSW8XCzyNjyY7FmQtILw"], ["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Completed 200 OK in 8ms (ActiveRecord: 0.7ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$6hRYIq7/eeOowLGr7TnANOUmgCgOKbRqSEIeQ2QI6AT2mZT.AxHCe"], ["remember_token", "ULWS8JT9plEWMKtNFBvg6g"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "letters"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "letters"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("id", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 100], ["title", "Rspec tests"], ["content", "Lorem ipsum"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "ULWS8JT9plEWMKtNFBvg6g"], ["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "letters"]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "letters"]] Completed 200 OK in 4ms (ActiveRecord: 0.4ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$6KrR8TExR95r8Yq1f4550.THnw822aWM2tr8ie6/RjkrAzgWzeXnq"], ["remember_token", "KsN-PXosW4flr0uGQkTbNg"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("id", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 100], ["title", "Rspec tests"], ["content", "Lorem ipsum"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "KsN-PXosW4flr0uGQkTbNg"], ["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]] Completed 200 OK in 4ms (ActiveRecord: 0.3ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 1ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 2ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$4fSK7/ky0f4ZpOmU0FBRV.Rn3RAyDASEhgOqOx1NkHgt8mFQoamyC"], ["remember_token", "rY9AEpQYDWdwFf_Z1XQz0A"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "rY9AEpQYDWdwFf_Z1XQz0A"], ["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Completed 200 OK in 2ms (ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$hzsyBttH1qXLjtLOE8VIou73YefgYxk84uEUk3vEbxywKesMWzTYO"], ["remember_token", "6Of3qwcY5ZsI1p25uC9brQ"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "6Of3qwcY5ZsI1p25uC9brQ"], ["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Rendering articles/index.html.erb within layouts/application Rendered articles/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 19ms (Views: 14.0ms | ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$i//3UHOi3kRG0sxcQnjMDOS8NZ8ZusEZPAzwxAZ/cYHCYO7QPl4rS"], ["remember_token", "5a8Lg56eTlNN7hRsCE5rTQ"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "5a8Lg56eTlNN7hRsCE5rTQ"], ["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Rendering articles/index.html.erb within layouts/application Rendered articles/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.2ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$LwS3YNSVa7grDpmCoek6ZuTyi.64moMmn1o1aEvLt2q8u8QvqsEiu"], ["remember_token", "i-PyNWSuH359UY87V4VjiQ"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:48 UTC], ["updated_at", 2019-02-02 10:23:48 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$ogOCPvACdUMwwm5vmGxAXudDyIAWrSXK91gbg4uD4UN4FKeKyBwAC"], ["remember_token", "QoRDT248brzntYE_GSMQ7Q"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "i-PyNWSuH359UY87V4VjiQ"], ["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Rendering articles/index.html.erb within layouts/application Rendered articles/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.2ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$1FW5OuO7mooRnEjApLDaMuLnfqClco725LlDA6nmIEzSBBVXcoVNq"], ["remember_token", "ar3R3iy3RtMf2Pr-WQsmbg"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$0XkFWWNTuS9rEpFsc6qbGulN2JYihVGFHEY1igh2V5RWro9ydgKMS"], ["remember_token", "d22ltdA-GphRCEMNy4CkMg"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "ar3R3iy3RtMf2Pr-WQsmbg"], ["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Rendering articles/index.html.erb within layouts/application Rendered articles/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.2ms) Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$N8qfh8.gacqGMkZUM7y7SOoL8tWEsdeHM0gluS.fCxwV6cnp5URpK"], ["remember_token", "gFPSyVkMZbBsT5nbDBlVLQ"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$5Xmg5.lfwWG1Zyp2N1/XFuJ0BlrdiuaW5sIYSccb/KGVGixk5UsGC"], ["remember_token", "97dxai5YqZiCL-YZKRzPxQ"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 11], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "gFPSyVkMZbBsT5nbDBlVLQ"], ["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Rendering articles/index.html.erb within layouts/application Rendered articles/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms) Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$XUdUdGdHreVnCN6vOHZ7qe4agNuiDVCzGucck2AZrnKQlRPTlSnqK"], ["remember_token", "NCuOKnrXL_w9xENSUKuQqA"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$JcAO7hnC/NgV790qWjaxCebW4TlMQCN6IOIEp4/BbUVkmUK/9uT/6"], ["remember_token", "T2fRNBj0U57nsD4c2ybNAA"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "NCuOKnrXL_w9xENSUKuQqA"], ["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Rendering articles/index.html.erb within layouts/application Rendered articles/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.2ms) Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$Gw4Eah5jii7ltJnRB/Xpu.9kP/xldA6FSMCZcp8dfV4PQxhajC3re"], ["remember_token", "nWzTSR9z9lcgTFd2uYMfKg"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$O1ZZVzoF4IUaqtlQaNceNOGhKlGJ4y1j3i5kXCleIMFP.pd.2X40C"], ["remember_token", "xbTPMnMCQtrJqMDjqaBPcA"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#show as HTML Parameters: {"id"=>"1"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "nWzTSR9z9lcgTFd2uYMfKg"], ["LIMIT", 1]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Rendering articles/show.html.erb within layouts/application Rendered articles/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.3ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$09pCBB0rB2VWrykU4zh8t.r1zLtlAWW/jP.5WEXhY6GQgXTYm/3ae"], ["remember_token", "PHtP2DVhgeu73abgJVS-Xg"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$NB4O/vXACLWndxeYx2Z5C.vBrYyjeZvePJMImm/EC4LvdpORlnzlm"], ["remember_token", "0OWd_FPMPMGF9k9JQCv-3w"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "PHtP2DVhgeu73abgJVS-Xg"], ["LIMIT", 1]] Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Rendering articles/show.html.erb within layouts/application Rendered articles/show.html.erb within layouts/application (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.3ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$/gDzh/Cfv5aHwG2yIKywTeOow5Ju99PZy1YO1jehbPZWUvoOqb97i"], ["remember_token", "cf0-vHT7WFbnAZYtHyb9Rg"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#new as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "cf0-vHT7WFbnAZYtHyb9Rg"], ["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "articles"]] Rendering articles/new.html.erb within layouts/application Rendered articles/new.html.erb within layouts/application (0.2ms) Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$2A7sckogByiG9mP5tGMFE.skvuIp9zlYSF89R5TRKRI4hX7LiwSbu"], ["remember_token", "5DpsuSbkSyxsd5IsFnExVA"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$AMGhUJaXVnJbF9ZqFtQ5zuzLRGjvg0bqcbkZTSoJuXQ5bt6BUUXw6"], ["remember_token", "pfEmNOhkdv8tO4Uj0dGK4Q"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "5DpsuSbkSyxsd5IsFnExVA"], ["LIMIT", 1]] Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "articles"]] Rendering articles/edit.html.erb within layouts/application Rendered articles/edit.html.erb within layouts/application (0.2ms) Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.3ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$YiQ7Wxp3AswUuZqgJBF.xuOUxVol1B66zIe4SML5NDbCGc/kBXQsW"], ["remember_token", "Pr0hE7Q9MFuS9ciHCbjSjQ"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$EHKnFswQ08hbQAp06txz6OqptI6vcT5cmsaB.wX00wbdqHMF0m2LG"], ["remember_token", "NdbW7i8nH4ID_AdzgWWucA"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "Pr0hE7Q9MFuS9ciHCbjSjQ"], ["LIMIT", 1]] Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "articles"]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "articles"]] Rendering articles/edit.html.erb within layouts/application Rendered articles/edit.html.erb within layouts/application (0.0ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$wxCrPWkNKGKeWNiKJXjYYey53.535iH855auJ2DOsoB2tUyIIKFde"], ["remember_token", "fVNbqhXIRTNdZsx6Fif62g"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/articles" for 127.0.0.1 at 2019-02-02 11:23:49 +0100 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.2ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction Started GET "/comments" for 127.0.0.1 at 2019-02-02 11:23:49 +0100 Processing by CommentsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Redirected to http://www.example.com/login Completed 302 Found in 4ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2019-02-02 11:23:49 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (12.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 266ms (Views: 263.7ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$HI/SU5e5pV1sBToHPf5G9Oq2ct/alfISGzSHrGEn8Xyz/6nTT9PFi"], ["remember_token", "udLZyQM2W0Tuqy4cAsncYw"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2019-02-02 11:23:49 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "session"=>{"name"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]] Redirected to http://www.example.com/comments Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/comments" for 127.0.0.1 at 2019-02-02 11:23:49 +0100 Processing by CommentsController#index as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "udLZyQM2W0Tuqy4cAsncYw"], ["LIMIT", 1]] Rendering text template Rendered text template (0.0ms) Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction Started GET "/comments/new" for 127.0.0.1 at 2019-02-02 11:23:49 +0100 Processing by CommentsController#new as HTML Rendering comments/new.html.erb within layouts/application Rendered comments/new.html.erb within layouts/application (0.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.2ms) Started POST "/comments" for 127.0.0.1 at 2019-02-02 11:23:49 +0100 Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "commit"=>"Create a comment"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Redirected to http://www.example.com/login Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2019-02-02 11:23:49 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (1.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.2ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$NNxkerVFsKo1h18SRgrCBuvX9Vdd6wOrev95c/FQM7OFlnvnrD4oa"], ["remember_token", "ooj3DF9ektJiqINGsjTiZw"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2019-02-02 11:23:49 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "session"=>{"name"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]] Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2019-02-02 11:23:49 +0100 Processing by PagesController#dashboard as HTML Rendering pages/dashboard.html.erb within layouts/application Rendered pages/dashboard.html.erb within layouts/application (0.2ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "ooj3DF9ektJiqINGsjTiZw"], ["LIMIT", 1]] Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$3GLxUKuAGrJzKwTO21He9uByGcEaDKqrIKuRtI0JA4UQZLuiYuV3G"], ["remember_token", "2sYNwjs1o7aY3R0FDsSC_g"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "adeia/permissions"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" INNER JOIN "adeia_action_permissions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" WHERE "adeia_action_permissions"."adeia_permission_id" = ? [["adeia_permission_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$PZ/UZDFra2HrvROzQ/0nhOarF.9GbfjDLboNin5.8ja3/TA89BtkK"], ["remember_token", "irgrYS5kfvNgBMtAVKwOag"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "adeia/permissions"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$pVqS/v1TmiJ2HCB9VN9ydOhaxWecIgvVIcUp4qp/o7xmgn.cKvIm."], ["remember_token", "OQB60o9ECFxzR9YoDutMPA"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "adeia/permissions"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["create_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" INNER JOIN "adeia_action_permissions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" WHERE "adeia_action_permissions"."adeia_permission_id" = ? [["adeia_permission_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$AYfEDQZI7LHm/m3NNKQRxO9Y7.CiuKR7gFsAtgYns6JQLtEH5rylO"], ["remember_token", "hutB4vcd8KyTiTf2TYXFzw"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "adeia/permissions"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:23:49 UTC], ["updated_at", 2019-02-02 10:23:49 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "adeia/permissions"], ["LIMIT", 1]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."adeia_element_id" = 1 AND "adeia_permissions"."permission_type" = ? ORDER BY "adeia_permissions"."id" ASC LIMIT ? [["permission_type", 2], ["LIMIT", 1]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.5ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "Adeia::Group"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]] SQL (0.6ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "QrmJEDkvAShsXVS18wP89g"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Sat, 02 Mar 2019], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT ? [["token", "QrmJEDkvAShsXVS18wP89g"], ["LIMIT", 1]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."create_right" = ? [["id", 1], ["name", "admin/articles"], ["create_right", true]]  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."create_right" = ? [["id", 1], ["name", "admin/articles"], ["create_right", true]]  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."create_right" = ? [["id", 1], ["name", "admin/articles"], ["create_right", true]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."create_right" = ? [["id", 1], ["name", "admin/articles"], ["create_right", true]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.4ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1001]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1001 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1002], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1002]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1002 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1003], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1003]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1003 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1003 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1004], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1004]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1004 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1004 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1005], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1005]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1005 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1006], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1006]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1006 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1007], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1007]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1007 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1007 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:19 UTC], ["updated_at", 2019-02-02 10:30:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1008], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1008]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1008 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1008 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1009], ["adeia_element_id", 1], ["permission_type", 0], ["destroy_right", true], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1009]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1009 AND "adeia_permissions"."destroy_right" = ? AND "adeia_elements"."name" = ? [["destroy_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1009 AND "adeia_permissions"."destroy_right" = ? AND "adeia_elements"."name" = ? [["destroy_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1010], ["adeia_element_id", 1], ["permission_type", 0], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1010]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = ? AND "adeia_actions"."name" = ? [["name", "admin/articles"], ["name", "share"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = ? AND "adeia_actions"."name" = ? [["name", "admin/articles"], ["name", "share"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1011], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "9QxaospGjdyuUlxmgQNGsw"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Sat, 02 Mar 2019], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT ? [["token", "9QxaospGjdyuUlxmgQNGsw"], ["LIMIT", 1]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."update_right" = ? [["id", 1], ["name", "admin/articles"], ["update_right", true]]  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."update_right" = ? [["id", 1], ["name", "admin/articles"], ["update_right", true]]  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."update_right" = ? [["id", 1], ["name", "admin/articles"], ["update_right", true]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."update_right" = ? [["id", 1], ["name", "admin/articles"], ["update_right", true]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1012], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1012]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1012 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1012 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1013], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1013]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1013 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1013 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1016], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1016]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1016 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1016 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1018], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1018]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1018 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1018 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1020], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1020], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1020]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1020 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1020 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1022], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1021], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1022]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1022 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1022 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_group_users" ("adeia_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_group_id", 1], ["user_id", 1023], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "Adeia::Group"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1023]] Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE (("adeia_permissions"."owner_type" = 'Adeia::Group' AND "adeia_permissions"."owner_id" = 1) OR ("adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1023)) AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$EkQyn5yHMgQ1veRCOgzkpujl6GjcnF/UNDOHo3KUoBSe8vzCNUCgq"], ["remember_token", "Ap5u39WBLXoFr5ED6oVjOA"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "Ap5u39WBLXoFr5ED6oVjOA"], ["LIMIT", 1]] Completed 200 OK in 1ms (ActiveRecord: 0.1ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$X0hBRTmIoAOit14pToO0lOYtzwDBQf3QW06l7B7XWa7X2dhRvglhC"], ["remember_token", "XZqfDgS5A-rGqsPChKnWCg"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "XZqfDgS5A-rGqsPChKnWCg"], ["LIMIT", 1]] Completed 200 OK in 0ms (ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 4ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 1ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$odrqqdMkccVoIpk2GBG4IuvF.Oe5TyNAlLC3yZ/HKf4mbLXtxW45u"], ["remember_token", "YhHFDxkLCgwCdwG2e8evIQ"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "YhHFDxkLCgwCdwG2e8evIQ"], ["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Completed 200 OK in 3ms (ActiveRecord: 0.5ms)  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$UjYlQe4.H0qz3D7Pi.4ZX.UdCAZfLWShssP5NzTQ4vvIRxTpjfckm"], ["remember_token", "d0oNNItUrSQymmopb3rWmg"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" ("id", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 100], ["title", "Rspec tests"], ["content", "Lorem ipsum"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "d0oNNItUrSQymmopb3rWmg"], ["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Completed 200 OK in 9ms (ActiveRecord: 0.9ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$jtcwk38gfL0PEGAc.xT/iusydmYEutnneIZWY9ywB/rsI4kKqH1ZO"], ["remember_token", "wwMZCwM7gyjQV22mBpK11g"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "letters"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "letters"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("id", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 100], ["title", "Rspec tests"], ["content", "Lorem ipsum"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "wwMZCwM7gyjQV22mBpK11g"], ["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "letters"]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "letters"]] Completed 200 OK in 3ms (ActiveRecord: 0.3ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$8bq1W0UtNcIWS7yZbNKnee.YVNEB2ZUUpwCg/J3gOOsxp0nDcMTk2"], ["remember_token", "uWVCcXhEjU6I2YHa811i1w"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("id", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 100], ["title", "Rspec tests"], ["content", "Lorem ipsum"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "uWVCcXhEjU6I2YHa811i1w"], ["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]] Completed 200 OK in 3ms (ActiveRecord: 0.3ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 1ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 1ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$IoLSyftXoL4BZcuXoaDqnOzhIvSAc9bzTEos9QkQ0R7N/iKntFIxu"], ["remember_token", "lkFZvIAE4PFeY9fr1oP3uA"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "lkFZvIAE4PFeY9fr1oP3uA"], ["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Completed 200 OK in 2ms (ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$7xbCUTn.NRJrS3Xm/3ph.e2SD3psWg0rxJ7vZkuticRKUZslgzzr."], ["remember_token", "yj4Vixe-TrVAX3QF_I76AQ"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "yj4Vixe-TrVAX3QF_I76AQ"], ["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Rendering articles/index.html.erb within layouts/application Rendered articles/index.html.erb within layouts/application (0.2ms) Completed 200 OK in 17ms (Views: 12.1ms | ActiveRecord: 0.2ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$YarvTNzWaa9YQw14ewMcb.eFJ02q/X.F2Ydht1mI311fKKR3zegJm"], ["remember_token", "fHKf8Lc5jxz3FryueoMYfw"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "fHKf8Lc5jxz3FryueoMYfw"], ["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Rendering articles/index.html.erb within layouts/application Rendered articles/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$FvYAwfS5mWVMBqGJ2Paty.60HRbInEMjK9xEfZ0iSjpQWDYOqlpUO"], ["remember_token", "NqsoFLNjlXrPDkKyFCeL7g"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$ksJ2aMSIQ73js3JROEPelu3qINz52wG4HQEpUfL2cZZPaJ4aUOGN2"], ["remember_token", "dtUDY0-lsdbzDbBhlQRn7Q"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "NqsoFLNjlXrPDkKyFCeL7g"], ["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Rendering articles/index.html.erb within layouts/application Rendered articles/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.2ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$HTNiuVbBuZYgHUwoW9371uMEtm7Ktp75TJPv47eAShfXThj5j1OVK"], ["remember_token", "Fnyvhkkr_q_CvP3_dply3Q"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$EOjWgEt8APuvYi9.xe4i.eXCl9tpdAXxjyBWfocgIeVAdiUF2i8IO"], ["remember_token", "66aI6wG9I3CoU0XtrIZrWw"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "Fnyvhkkr_q_CvP3_dply3Q"], ["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Rendering articles/index.html.erb within layouts/application Rendered articles/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.2ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$AGgkuxmkGmag9PZhGJBPk.aqlRy4Q8qzOtdK7hOKgEwLt5SMHHVyC"], ["remember_token", "a0L0m2godpvzGXZZF1EQ-w"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$m.sXWkdQbbVKXjf.eCzZ8enbhZScN8h/jvpm/fHxHmrtTfsQJioo."], ["remember_token", "OXfikN9SBGkI5CA4GAs8MA"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 11], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "a0L0m2godpvzGXZZF1EQ-w"], ["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Rendering articles/index.html.erb within layouts/application Rendered articles/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.2ms) Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$BVXm08cUbC20Ws3XY40F/.c8DJBmIp/F/sKeCEX1mH2d3m1db1vMC"], ["remember_token", "SqAXYHPIevCPbo_9-QnMbQ"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$9mzGimqchJq.JYZ0sHtLvuSKZs1srq/MkYmIBn1E.0OPLEZW3K33K"], ["remember_token", "cOrg-B-yNqQr4o0bV4wFQQ"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "SqAXYHPIevCPbo_9-QnMbQ"], ["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Rendering articles/index.html.erb within layouts/application Rendered articles/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.2ms) Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$drYWhU0n7Loui01nB1smCO1Z8QU3kciNAfpWXmDMf8PuToPkxa/gK"], ["remember_token", "CyQDiTT3uOpLvCYZi-alqA"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$.mLar7c8siXX.c1r3C0FqeUv4M7jmq6aRVZRQZc5NtjMBb0ogfIMe"], ["remember_token", "l8ZFvugTiBnmaKhdVwm1Dg"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#show as HTML Parameters: {"id"=>"1"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "CyQDiTT3uOpLvCYZi-alqA"], ["LIMIT", 1]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Rendering articles/show.html.erb within layouts/application Rendered articles/show.html.erb within layouts/application (0.1ms) Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$IKLjwh0pJd00Hwn6IUdAYei.9B3nhmGljm09HaqkNbPrjCzVgCKLG"], ["remember_token", "7BWszXnQ7aVHU_zSG74qAw"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$Vt6/Q.8Up8P9GXDgu86jDO1OJBn4Wn6Kw5EmjR75QoKKLFNsjFONe"], ["remember_token", "0B6mFE0J2Wu6XBWHFvwx1g"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#show as HTML Parameters: {"id"=>"1"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "7BWszXnQ7aVHU_zSG74qAw"], ["LIMIT", 1]] Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Rendering articles/show.html.erb within layouts/application Rendered articles/show.html.erb within layouts/application (0.0ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.2ms)  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$/OU3qw4R2A6akCbKTyn8zuDuQc2MBxxvNWY7Mec9BPn1LT3FFT5qW"], ["remember_token", "pV1zQoQXweRO7yQiV57DBA"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#new as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "pV1zQoQXweRO7yQiV57DBA"], ["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "articles"]] Rendering articles/new.html.erb within layouts/application Rendered articles/new.html.erb within layouts/application (0.1ms) Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$QSur8dTFfzzr9u9aUbLcz.OsFSbl7vOGIfTKuOJu06ZLZFW0OGS4W"], ["remember_token", "ydzYn65lczei35QW4v5MEA"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$MeTKjEwj6yGyqVINOIJDj.piV8JRhM7pfyQzDkHMXp6BWS5PWzN3a"], ["remember_token", "pBXk3vWAFYvUmA4FKcZavQ"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "ydzYn65lczei35QW4v5MEA"], ["LIMIT", 1]] Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "articles"]] Rendering articles/edit.html.erb within layouts/application Rendered articles/edit.html.erb within layouts/application (0.2ms) Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.3ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$lfgkltI9wJka3Aco/2mna.mI4S2svHIH3iaX8eFmoV9ABq78E2zV."], ["remember_token", "ToK4PcE-Dle9EC6mjfef6g"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$cLq4eqiJh7bMRM1of7JGHeyDSRw6aKk3UKDcD2Ah/O4GdD2HmgdD2"], ["remember_token", "DyIpU8lB-jn2TshDASeX8g"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "ToK4PcE-Dle9EC6mjfef6g"], ["LIMIT", 1]] Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "articles"]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "articles"]] Rendering articles/edit.html.erb within layouts/application Rendered articles/edit.html.erb within layouts/application (0.0ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$J79N5PqTo8YR4GBDOuohCuQ5nX.i0UM.YZQrTlF1lFGi.3Qdk70TO"], ["remember_token", "jj6NTQOROWWPkqIcHfdqdA"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/articles" for 127.0.0.1 at 2019-02-02 11:30:20 +0100 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE 1=0 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE 1=0 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Redirected to http://www.example.com/login Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/login" for 127.0.0.1 at 2019-02-02 11:30:20 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (11.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 168ms (Views: 166.2ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2019-02-02 11:30:20 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "session"=>{"name"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]] Redirected to http://www.example.com/articles Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/articles" for 127.0.0.1 at 2019-02-02 11:30:20 +0100 Processing by ArticlesController#index as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "jj6NTQOROWWPkqIcHfdqdA"], ["LIMIT", 1]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] CACHE (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Rendering articles/index.html.erb within layouts/application Article Load (0.1ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (5.7ms) Completed 200 OK in 16ms (Views: 11.6ms | ActiveRecord: 0.5ms)  (0.2ms) rollback transaction  (0.0ms) begin transaction Started GET "/comments" for 127.0.0.1 at 2019-02-02 11:30:20 +0100 Processing by CommentsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Redirected to http://www.example.com/login Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2019-02-02 11:30:20 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (1.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 10ms (Views: 7.9ms | ActiveRecord: 0.1ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$81cHNQIWQMfj51WY5x57C.ci1lCuhU4WYq8fGhZLdzGDEG/a1MsVa"], ["remember_token", "qnfZGglb1G3Vz-L4e_Ak-A"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2019-02-02 11:30:20 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "session"=>{"name"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]] Redirected to http://www.example.com/comments Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/comments" for 127.0.0.1 at 2019-02-02 11:30:20 +0100 Processing by CommentsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "qnfZGglb1G3Vz-L4e_Ak-A"], ["LIMIT", 1]] Rendering text template Rendered text template (0.0ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction Started GET "/comments/new" for 127.0.0.1 at 2019-02-02 11:30:20 +0100 Processing by CommentsController#new as HTML Rendering comments/new.html.erb within layouts/application Rendered comments/new.html.erb within layouts/application (0.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.1ms) Started POST "/comments" for 127.0.0.1 at 2019-02-02 11:30:20 +0100 Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "commit"=>"Create a comment"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Redirected to http://www.example.com/login Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2019-02-02 11:30:20 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (0.9ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.1ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$0j.rxjtoyaL4RcgaYG1TsOgY1iodkvO0GCaQ2aiFY9tqWNUfSriea"], ["remember_token", "RI9Kzl_0oZ4IVhfTh-MDGQ"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2019-02-02 11:30:20 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "session"=>{"name"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]] Redirected to http://www.example.com/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2019-02-02 11:30:20 +0100 Processing by PagesController#dashboard as HTML Rendering pages/dashboard.html.erb within layouts/application Rendered pages/dashboard.html.erb within layouts/application (0.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "RI9Kzl_0oZ4IVhfTh-MDGQ"], ["LIMIT", 1]] Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$66FDznrSNq0nLxVm8gnvFOH/AC.sNHjr8yq/MG.S11.Ph4fSji2gW"], ["remember_token", "8jVJ3sCjJa7tP6u7dhZYzA"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "adeia/permissions"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" INNER JOIN "adeia_action_permissions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" WHERE "adeia_action_permissions"."adeia_permission_id" = ? [["adeia_permission_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$7moj/4Uw2wMPCykaO0lNDOrB6nzDr7LD2kR9FPMvnE2U1/mc.6u9m"], ["remember_token", "u_3uQWKsOaBM7GvIQEUQ-w"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "adeia/permissions"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$q9VaMw0G7/nM2jkTeqL5Yul1OdwzCQEQ0brvsRGIerwb8DGIS9FOy"], ["remember_token", "IvnKuV2Lb_XPBTQ5i6yzyA"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "adeia/permissions"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["create_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" INNER JOIN "adeia_action_permissions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" WHERE "adeia_action_permissions"."adeia_permission_id" = ? [["adeia_permission_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$hEhkwYTX4FSwAlLLDZZOmOudLMWV7s/FBlF5128xfxEmSm1SFxBaa"], ["remember_token", "T4HcIzN5Aj0AYWAGqm1fWQ"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "adeia/permissions"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("owner_type", "owner_id", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2019-02-02 10:30:20 UTC], ["updated_at", 2019-02-02 10:30:20 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "adeia/permissions"], ["LIMIT", 1]] Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."adeia_element_id" = 1 AND "adeia_permissions"."permission_type" = ? ORDER BY "adeia_permissions"."id" ASC LIMIT ? [["permission_type", 2], ["LIMIT", 1]]  (0.3ms) rollback transaction