(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.5ms) 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'  (1.1ms) CREATE INDEX "index_adeia_action_permissions_on_adeia_permission_id" ON "adeia_action_permissions" ("adeia_permission_id")  (1.3ms) CREATE TABLE "adeia_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.1ms) CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.1ms) 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)  (1.0ms) 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.2ms) CREATE INDEX "index_adeia_group_users_on_user_id" ON "adeia_group_users" ("user_id")  (1.1ms) CREATE TABLE "adeia_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.3ms) 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)   (1.3ms) 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'   (1.1ms) 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)   (1.0ms) 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)   (1.2ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id")  (1.0ms) 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.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT version FROM "schema_migrations"  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20151012185726')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151012185720') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  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.2ms)  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_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_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.2ms)  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.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) 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.4ms) 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'  (1.2ms) CREATE INDEX "index_adeia_action_permissions_on_adeia_permission_id" ON "adeia_action_permissions" ("adeia_permission_id")  (1.0ms) CREATE TABLE "adeia_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.0ms) CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.1ms) 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)  (1.1ms) 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")  (1.2ms) CREATE TABLE "adeia_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.2ms) 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)   (1.1ms) 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'   (1.1ms) CREATE INDEX "index_adeia_permissions_on_owner_type_and_owner_id" ON "adeia_permissions" ("owner_type", "owner_id")  (1.2ms) 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)   (1.2ms) CREATE INDEX "index_adeia_tokens_on_adeia_permission_id" ON "adeia_tokens" ("adeia_permission_id")  (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)   (1.2ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id")  (1.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)   (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20151012185726')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151012185720') ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.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) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id")  (1.0ms) 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.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT version FROM "schema_migrations"  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151012185726')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151012185720') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.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) select sqlite_version(*)  (1.3ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id")  (1.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)  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151012185726')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151012185720') ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.8ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:09.854487"], ["updated_at", "2017-03-05 13:38:09.854487"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.6ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2017-03-05 13:38:09.875893"], ["updated_at", "2017-03-05 13:38:09.875893"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.6ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:09.886942"], ["updated_at", "2017-03-05 13:38:09.886942"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["create_right", "t"], ["created_at", "2017-03-05 13:38:09.915881"], ["updated_at", "2017-03-05 13:38:09.915881"]] SQL (1.8ms) 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", "2017-03-05 13:38:09.919089"], ["updated_at", "2017-03-05 13:38:09.919089"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "exp_at", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "O8sF6VAHbKYgmPrAo18Ztw"], ["is_valid", "t"], ["exp_at", "2017-04-05"], ["adeia_permission_id", 1], ["created_at", "2017-03-05 13:38:09.941221"], ["updated_at", "2017-03-05 13:38:09.941221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "O8sF6VAHbKYgmPrAo18Ztw"]]  (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"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (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_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (0.0ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]] 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"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.6ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.7ms) 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" = 1001 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"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1001 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:09.970185"], ["updated_at", "2017-03-05 13:38:09.970185"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:09.973567"], ["updated_at", "2017-03-05 13:38:09.973567"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2017-03-05 13:38:09.977107"], ["updated_at", "2017-03-05 13:38:09.977107"]] 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", "2017-03-05 13:38:09.978318"], ["updated_at", "2017-03-05 13:38:09.978318"]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 1002 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"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1002 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:09.988782"], ["updated_at", "2017-03-05 13:38:09.988782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:09.992173"], ["updated_at", "2017-03-05 13:38:09.992173"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["created_at", "2017-03-05 13:38:09.996090"], ["updated_at", "2017-03-05 13:38:09.996090"]] 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", "2017-03-05 13:38:09.997327"], ["updated_at", "2017-03-05 13:38:09.997327"]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 1003  (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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]] 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.3ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:10.009446"], ["updated_at", "2017-03-05 13:38:10.009446"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.012762"], ["updated_at", "2017-03-05 13:38:10.012762"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["created_at", "2017-03-05 13:38:10.016946"], ["updated_at", "2017-03-05 13:38:10.016946"]] 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", "2017-03-05 13:38:10.018315"], ["updated_at", "2017-03-05 13:38:10.018315"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]] 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:10.028921"], ["updated_at", "2017-03-05 13:38:10.028921"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.031882"], ["updated_at", "2017-03-05 13:38:10.031882"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["create_right", "t"], ["created_at", "2017-03-05 13:38:10.036713"], ["updated_at", "2017-03-05 13:38:10.036713"]] 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", "2017-03-05 13:38:10.038215"], ["updated_at", "2017-03-05 13:38:10.038215"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 1005 Adeia::Permission Load (0.6ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1005 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (2.3ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:10.053351"], ["updated_at", "2017-03-05 13:38:10.053351"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.056680"], ["updated_at", "2017-03-05 13:38:10.056680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["create_right", "t"], ["created_at", "2017-03-05 13:38:10.061581"], ["updated_at", "2017-03-05 13:38:10.061581"]] 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", "2017-03-05 13:38:10.063205"], ["updated_at", "2017-03-05 13:38:10.063205"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 1006 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"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1006 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:10.089811"], ["updated_at", "2017-03-05 13:38:10.089811"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.093365"], ["updated_at", "2017-03-05 13:38:10.093365"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["update_right", "t"], ["created_at", "2017-03-05 13:38:10.097903"], ["updated_at", "2017-03-05 13:38:10.097903"]] 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", "2017-03-05 13:38:10.101779"], ["updated_at", "2017-03-05 13:38:10.101779"]] Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.2ms) 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" = 1007  (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"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1007 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]] 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"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1007 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:10.119567"], ["updated_at", "2017-03-05 13:38:10.119567"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.122894"], ["updated_at", "2017-03-05 13:38:10.122894"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["update_right", "t"], ["created_at", "2017-03-05 13:38:10.127061"], ["updated_at", "2017-03-05 13:38:10.127061"]] 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", "2017-03-05 13:38:10.128553"], ["updated_at", "2017-03-05 13:38:10.128553"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.3ms) 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" = 1008  (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"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1008 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]] 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"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1008 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:10.143838"], ["updated_at", "2017-03-05 13:38:10.143838"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.147113"], ["updated_at", "2017-03-05 13:38:10.147113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["destroy_right", "t"], ["created_at", "2017-03-05 13:38:10.152463"], ["updated_at", "2017-03-05 13:38:10.152463"]] 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", "2017-03-05 13:38:10.154088"], ["updated_at", "2017-03-05 13:38:10.154088"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 1009  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."destroy_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1009 AND "adeia_elements"."name" = 'admin/articles' [["destroy_right", "t"]] 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"."destroy_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1009 AND "adeia_elements"."name" = 'admin/articles' [["destroy_right", "t"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:10.168277"], ["updated_at", "2017-03-05 13:38:10.168277"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.171626"], ["updated_at", "2017-03-05 13:38:10.171626"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["created_at", "2017-03-05 13:38:10.176665"], ["updated_at", "2017-03-05 13:38:10.176665"]] 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", "2017-03-05 13:38:10.178519"], ["updated_at", "2017-03-05 13:38:10.178519"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.2ms) 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" = 1010  (1.5ms) 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" = 'admin/articles' AND "adeia_actions"."name" = 'share' Adeia::Permission Load (0.4ms) 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" = 'admin/articles' AND "adeia_actions"."name" = 'share'  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:10.200451"], ["updated_at", "2017-03-05 13:38:10.200451"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.204796"], ["updated_at", "2017-03-05 13:38:10.204796"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["update_right", "t"], ["created_at", "2017-03-05 13:38:10.210813"], ["updated_at", "2017-03-05 13:38:10.210813"]] 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", "2017-03-05 13:38:10.212467"], ["updated_at", "2017-03-05 13:38:10.212467"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "exp_at", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "qz4JsbZMurK0fLZ9o__XNQ"], ["is_valid", "t"], ["exp_at", "2017-04-05"], ["adeia_permission_id", 1], ["created_at", "2017-03-05 13:38:10.217863"], ["updated_at", "2017-03-05 13:38:10.217863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "qz4JsbZMurK0fLZ9o__XNQ"]]  (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"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (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_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]] 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"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:10.230842"], ["updated_at", "2017-03-05 13:38:10.230842"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.234636"], ["updated_at", "2017-03-05 13:38:10.234636"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["update_right", "t"], ["created_at", "2017-03-05 13:38:10.240329"], ["updated_at", "2017-03-05 13:38:10.240329"]] 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", "2017-03-05 13:38:10.242074"], ["updated_at", "2017-03-05 13:38:10.242074"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.2ms) 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" = 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"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1012 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]] 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"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1012 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:10.254899"], ["updated_at", "2017-03-05 13:38:10.254899"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.258016"], ["updated_at", "2017-03-05 13:38:10.258016"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["update_right", "t"], ["created_at", "2017-03-05 13:38:10.262336"], ["updated_at", "2017-03-05 13:38:10.262336"]] 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", "2017-03-05 13:38:10.266601"], ["updated_at", "2017-03-05 13:38:10.266601"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.2ms) 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" = 1013  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]] Adeia::Permission Load (0.4ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (5.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:10.291770"], ["updated_at", "2017-03-05 13:38:10.291770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.295174"], ["updated_at", "2017-03-05 13:38:10.295174"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["update_right", "t"], ["created_at", "2017-03-05 13:38:10.298605"], ["updated_at", "2017-03-05 13:38:10.298605"]] 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", "2017-03-05 13:38:10.300008"], ["updated_at", "2017-03-05 13:38:10.300008"]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]] Adeia::Permission Load (0.4ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) rollback transaction  (0.2ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:10.315048"], ["updated_at", "2017-03-05 13:38:10.315048"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.319495"], ["updated_at", "2017-03-05 13:38:10.319495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["update_right", "t"], ["created_at", "2017-03-05 13:38:10.323389"], ["updated_at", "2017-03-05 13:38:10.323389"]] 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", "2017-03-05 13:38:10.325258"], ["updated_at", "2017-03-05 13:38:10.325258"]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1018 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]] 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"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1018 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:10.336523"], ["updated_at", "2017-03-05 13:38:10.336523"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.339607"], ["updated_at", "2017-03-05 13:38:10.339607"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["update_right", "t"], ["created_at", "2017-03-05 13:38:10.344586"], ["updated_at", "2017-03-05 13:38:10.344586"]] 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", "2017-03-05 13:38:10.345970"], ["updated_at", "2017-03-05 13:38:10.345970"]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1020 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]] 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"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1020 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:10.356863"], ["updated_at", "2017-03-05 13:38:10.356863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.359962"], ["updated_at", "2017-03-05 13:38:10.359962"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["update_right", "t"], ["created_at", "2017-03-05 13:38:10.363713"], ["updated_at", "2017-03-05 13:38:10.363713"]] 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", "2017-03-05 13:38:10.365108"], ["updated_at", "2017-03-05 13:38:10.365108"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 1022  (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"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]] 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"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2017-03-05 13:38:10.382449"], ["updated_at", "2017-03-05 13:38:10.382449"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", "2017-03-05 13:38:10.387478"], ["updated_at", "2017-03-05 13:38:10.387478"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:10.391916"], ["updated_at", "2017-03-05 13:38:10.391916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.394355"], ["updated_at", "2017-03-05 13:38:10.394355"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["create_right", "t"], ["created_at", "2017-03-05 13:38:10.397378"], ["updated_at", "2017-03-05 13:38:10.397378"]] 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", "2017-03-05 13:38:10.398611"], ["updated_at", "2017-03-05 13:38:10.398611"]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.2ms) 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" = 1023 Adeia::Permission Load (0.4ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'Adeia::Group' AND "adeia_permissions"."owner_id" IN (1, 1023) AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (1.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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$rBaiM1x7vrVlLYB1rWw7cOws00slFXE9hB3lJVofFsdEIk3Uq4gya"], ["remember_token", "9fSq4MvGJ8_2r3m_Qn0oUw"], ["created_at", "2017-03-05 13:38:10.452370"], ["updated_at", "2017-03-05 13:38:10.452370"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "9fSq4MvGJ8_2r3m_Qn0oUw"]] Rendered text template (0.0ms) Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) 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$bQrr6FybEEtMXYiLGIuvV.8s68MrRxKIYV6TS18B7T7luMte8Gs7y"], ["remember_token", "-XwkTPb7llfceWlsizUNvw"], ["created_at", "2017-03-05 13:38:10.489608"], ["updated_at", "2017-03-05 13:38:10.489608"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "-XwkTPb7llfceWlsizUNvw"]] Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 1.0ms | ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) 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$V4LUv.WZYBJKLS74shKyy.Zjjk1o2BrLpG/X3bXUrEUjQjQooZpYq"], ["remember_token", "Qr4TXzKcjhCQXwnBhxOICw"], ["created_at", "2017-03-05 13:38:10.542289"], ["updated_at", "2017-03-05 13:38:10.542289"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2017-03-05 13:38:10.546573"], ["updated_at", "2017-03-05 13:38:10.546573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.549964"], ["updated_at", "2017-03-05 13:38:10.549964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["created_at", "2017-03-05 13:38:10.554354"], ["updated_at", "2017-03-05 13:38:10.554354"]] 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", "2017-03-05 13:38:10.555890"], ["updated_at", "2017-03-05 13:38:10.555890"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "Qr4TXzKcjhCQXwnBhxOICw"]] 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" = 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Rendered text template (0.0ms) Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.7ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$HqzOboKPSqR1eaqj7m.zfuJ5uzzHV9Lh0Jy/tpVFzLzjDsCkIkYe."], ["remember_token", "QWkXFXJ_sTjMwdbfSu46Lg"], ["created_at", "2017-03-05 13:38:10.577034"], ["updated_at", "2017-03-05 13:38:10.577034"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2017-03-05 13:38:10.583977"], ["updated_at", "2017-03-05 13:38:10.583977"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.587962"], ["updated_at", "2017-03-05 13:38:10.587962"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 100], ["read_right", "t"], ["created_at", "2017-03-05 13:38:10.592097"], ["updated_at", "2017-03-05 13:38:10.592097"]] 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", "2017-03-05 13:38:10.594024"], ["updated_at", "2017-03-05 13:38:10.594024"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "articles" ("title", "content", "id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Rspec tests"], ["content", "Lorem ipsum"], ["id", 100], ["created_at", "2017-03-05 13:38:10.606042"], ["updated_at", "2017-03-05 13:38:10.606042"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "QWkXFXJ_sTjMwdbfSu46Lg"]] Adeia::Group Load (0.3ms) 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" = 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Rendered text template (0.0ms) Completed 200 OK in 16ms (Views: 0.5ms | ActiveRecord: 2.5ms)  (1.1ms) rollback transaction  (0.1ms) 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$Iv50uHrP0MV//GIUFGvz6egzwMjHQU2ImwegbP/Wca.vpFn6vGNUe"], ["remember_token", "F8RH3C7M8l5uxB5owHj-Hw"], ["created_at", "2017-03-05 13:38:10.628344"], ["updated_at", "2017-03-05 13:38:10.628344"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "letters"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "letters"], ["created_at", "2017-03-05 13:38:10.632067"], ["updated_at", "2017-03-05 13:38:10.632067"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.634701"], ["updated_at", "2017-03-05 13:38:10.634701"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 100], ["read_right", "t"], ["created_at", "2017-03-05 13:38:10.637703"], ["updated_at", "2017-03-05 13:38:10.637703"]] 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", "2017-03-05 13:38:10.639073"], ["updated_at", "2017-03-05 13:38:10.639073"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("title", "content", "id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Rspec tests"], ["content", "Lorem ipsum"], ["id", 100], ["created_at", "2017-03-05 13:38:10.647394"], ["updated_at", "2017-03-05 13:38:10.647394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "F8RH3C7M8l5uxB5owHj-Hw"]] Adeia::Group Load (0.2ms) 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" = 1  (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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'letters' [["read_right", "t"]] Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'letters' [["read_right", "t"]] Rendered text template (0.0ms) Completed 200 OK in 10ms (Views: 0.6ms | ActiveRecord: 1.2ms)  (1.2ms) rollback transaction  (0.1ms) 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$A0M6NXiYQrLkq1naLMTNg.I8GIeQB2.Y/6QA/hDDiyrYBPaysy726"], ["remember_token", "_Qag8gIkLsNQ_W_J_mcN5g"], ["created_at", "2017-03-05 13:38:10.667765"], ["updated_at", "2017-03-05 13:38:10.667765"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:10.672210"], ["updated_at", "2017-03-05 13:38:10.672210"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.674979"], ["updated_at", "2017-03-05 13:38:10.674979"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 100], ["read_right", "t"], ["created_at", "2017-03-05 13:38:10.678578"], ["updated_at", "2017-03-05 13:38:10.678578"]] 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", "2017-03-05 13:38:10.680252"], ["updated_at", "2017-03-05 13:38:10.680252"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "articles" ("title", "content", "id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Rspec tests"], ["content", "Lorem ipsum"], ["id", 100], ["created_at", "2017-03-05 13:38:10.685453"], ["updated_at", "2017-03-05 13:38:10.685453"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "_Qag8gIkLsNQ_W_J_mcN5g"]] 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" = 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]] Rendered text template (0.0ms) Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.8ms)  (0.9ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.6ms)  (0.1ms) rollback transaction  (0.1ms) 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$b2V84wcCVhE7XgWCn6LxZu3SkrTPkLCZwzjXcU.RLCL1JMkD6.lsq"], ["remember_token", "CYailCpSwgpEvJG8aot08A"], ["created_at", "2017-03-05 13:38:10.732795"], ["updated_at", "2017-03-05 13:38:10.732795"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2017-03-05 13:38:10.736923"], ["updated_at", "2017-03-05 13:38:10.736923"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.739713"], ["updated_at", "2017-03-05 13:38:10.739713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["created_at", "2017-03-05 13:38:10.742745"], ["updated_at", "2017-03-05 13:38:10.742745"]] 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", "2017-03-05 13:38:10.744485"], ["updated_at", "2017-03-05 13:38:10.744485"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "CYailCpSwgpEvJG8aot08A"]] Adeia::Group Load (0.2ms) 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" = 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Rendered text template (0.0ms) Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.6ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:10.762009"], ["updated_at", "2017-03-05 13:38:10.762009"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2017-03-05 13:38:10.765643"], ["updated_at", "2017-03-05 13:38:10.765643"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.768829"], ["updated_at", "2017-03-05 13:38:10.768829"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:10.778555"], ["updated_at", "2017-03-05 13:38:10.778555"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.781840"], ["updated_at", "2017-03-05 13:38:10.781840"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2017-03-05 13:38:10.790684"], ["updated_at", "2017-03-05 13:38:10.790684"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.794364"], ["updated_at", "2017-03-05 13:38:10.794364"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:10.803178"], ["updated_at", "2017-03-05 13:38:10.803178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2017-03-05 13:38:10.805673"], ["updated_at", "2017-03-05 13:38:10.805673"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.808365"], ["updated_at", "2017-03-05 13:38:10.808365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:10.818650"], ["updated_at", "2017-03-05 13:38:10.818650"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2017-03-05 13:38:10.821366"], ["updated_at", "2017-03-05 13:38:10.821366"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.824103"], ["updated_at", "2017-03-05 13:38:10.824103"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2017-03-05 13:38:10.831602"], ["updated_at", "2017-03-05 13:38:10.831602"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2017-03-05 13:38:10.834335"], ["updated_at", "2017-03-05 13:38:10.834335"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) 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$tPrBMeO7NsT3uw5N7sEtceAKBl.R/x/fBb3FkrLcIkyYAycSoLFV."], ["remember_token", "ow8e74hRtNFk3j2lCzlRIQ"], ["created_at", "2017-03-05 13:38:10.842947"], ["updated_at", "2017-03-05 13:38:10.842947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2017-03-05 13:38:10.846887"], ["updated_at", "2017-03-05 13:38:10.846887"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.850424"], ["updated_at", "2017-03-05 13:38:10.850424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["created_at", "2017-03-05 13:38:10.853466"], ["updated_at", "2017-03-05 13:38:10.853466"]] 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", "2017-03-05 13:38:10.854558"], ["updated_at", "2017-03-05 13:38:10.854558"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "ow8e74hRtNFk3j2lCzlRIQ"]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered articles/index.html.erb within layouts/application (0.4ms) Completed 200 OK in 12ms (Views: 7.6ms | ActiveRecord: 0.5ms)  (0.9ms) rollback transaction  (0.1ms) 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$LKXQo5yQpkrX2j1W3N4/LuNKiZ1F02r9oMHimgLR90IAIBXFsu7aG"], ["remember_token", "qPZ1jlut7HOZG4ChtQDPHA"], ["created_at", "2017-03-05 13:38:10.876918"], ["updated_at", "2017-03-05 13:38:10.876918"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2017-03-05 13:38:10.880977"], ["updated_at", "2017-03-05 13:38:10.880977"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.884619"], ["updated_at", "2017-03-05 13:38:10.884619"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["created_at", "2017-03-05 13:38:10.887702"], ["updated_at", "2017-03-05 13:38:10.887702"]] 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", "2017-03-05 13:38:10.889197"], ["updated_at", "2017-03-05 13:38:10.889197"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "qPZ1jlut7HOZG4ChtQDPHA"]] Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered articles/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (1.2ms) rollback transaction  (0.1ms) 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$1uVgGFLGPXt8iQJMMUwx8OT5NkyS88F6HmU7aT9TjLJK7I7k3YzEO"], ["remember_token", "CH5KUxevx7gtfHqiB_rbMQ"], ["created_at", "2017-03-05 13:38:10.903927"], ["updated_at", "2017-03-05 13:38:10.903927"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2017-03-05 13:38:10.907379"], ["updated_at", "2017-03-05 13:38:10.907379"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.910540"], ["updated_at", "2017-03-05 13:38:10.910540"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["created_at", "2017-03-05 13:38:10.913532"], ["updated_at", "2017-03-05 13:38:10.913532"]] 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", "2017-03-05 13:38:10.914730"], ["updated_at", "2017-03-05 13:38:10.914730"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (0.1ms) 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$qcmyMqBSh9fk.LFw2Vgybeu.oppg5I.ss.YvAxV7uSmPLLbKidQD."], ["remember_token", "IFeMnLWDdaClBUCVdKLP0Q"], ["created_at", "2017-03-05 13:38:10.921947"], ["updated_at", "2017-03-05 13:38:10.921947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", "2017-03-05 13:38:10.924751"], ["updated_at", "2017-03-05 13:38:10.924751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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", "2017-03-05 13:38:10.926942"], ["updated_at", "2017-03-05 13:38:10.926942"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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", "2017-03-05 13:38:10.929369"], ["updated_at", "2017-03-05 13:38:10.929369"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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", "2017-03-05 13:38:10.931695"], ["updated_at", "2017-03-05 13:38:10.931695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (0.2ms) 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", "2017-03-05 13:38:10.933986"], ["updated_at", "2017-03-05 13:38:10.933986"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "CH5KUxevx7gtfHqiB_rbMQ"]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered articles/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (1.2ms) rollback transaction  (0.1ms) 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$GJjo6i6OAQ1zXGvoo0zL/Oxw2.y8/iW3QRilF7Tlrgags1hqEIPOm"], ["remember_token", "9wcVtY65ddsXHkV-CkKGag"], ["created_at", "2017-03-05 13:38:10.950430"], ["updated_at", "2017-03-05 13:38:10.950430"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2017-03-05 13:38:10.954550"], ["updated_at", "2017-03-05 13:38:10.954550"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:10.957890"], ["updated_at", "2017-03-05 13:38:10.957890"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["created_at", "2017-03-05 13:38:10.961070"], ["updated_at", "2017-03-05 13:38:10.961070"]] 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", "2017-03-05 13:38:10.963020"], ["updated_at", "2017-03-05 13:38:10.963020"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.2ms) 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", "2017-03-05 13:38:10.967163"], ["updated_at", "2017-03-05 13:38:10.967163"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 1], ["created_at", "2017-03-05 13:38:10.969901"], ["updated_at", "2017-03-05 13:38:10.969901"]]  (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", 1], ["created_at", "2017-03-05 13:38:10.987172"], ["updated_at", "2017-03-05 13:38:10.987172"]]  (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", 1], ["created_at", "2017-03-05 13:38:10.988953"], ["updated_at", "2017-03-05 13:38:10.988953"]]  (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", 1], ["created_at", "2017-03-05 13:38:10.990424"], ["updated_at", "2017-03-05 13:38:10.990424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (0.1ms) 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$wh.GhayPrghWX5uDINQHFuWCDjazcd.49VoeLoPxerY3HY39T/zge"], ["remember_token", "RJ7rF5eKqhLlmSd4rGEtFg"], ["created_at", "2017-03-05 13:38:10.994159"], ["updated_at", "2017-03-05 13:38:10.994159"]]  (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", "2017-03-05 13:38:10.995994"], ["updated_at", "2017-03-05 13:38:10.995994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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", "2017-03-05 13:38:10.998066"], ["updated_at", "2017-03-05 13:38:10.998066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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", "2017-03-05 13:38:10.999800"], ["updated_at", "2017-03-05 13:38:10.999800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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", "2017-03-05 13:38:11.001920"], ["updated_at", "2017-03-05 13:38:11.001920"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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", "2017-03-05 13:38:11.004416"], ["updated_at", "2017-03-05 13:38:11.004416"]]  (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 1 [["remember_token", "9wcVtY65ddsXHkV-CkKGag"]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered articles/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 7ms (Views: 1.3ms | ActiveRecord: 0.6ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (1.2ms) rollback transaction  (0.1ms) 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$S4wMohdtz8XL4UY721rzAOOOD6DAfPQsc0p.hmGhklCiZXRXg09pS"], ["remember_token", "-FGxFKTvMBVTIyUImn6M3A"], ["created_at", "2017-03-05 13:38:11.019830"], ["updated_at", "2017-03-05 13:38:11.019830"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2017-03-05 13:38:11.023674"], ["updated_at", "2017-03-05 13:38:11.023674"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:11.027139"], ["updated_at", "2017-03-05 13:38:11.027139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["created_at", "2017-03-05 13:38:11.031712"], ["updated_at", "2017-03-05 13:38:11.031712"]] 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", "2017-03-05 13:38:11.033219"], ["updated_at", "2017-03-05 13:38:11.033219"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (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", 1], ["created_at", "2017-03-05 13:38:11.036861"], ["updated_at", "2017-03-05 13:38:11.036861"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 1], ["created_at", "2017-03-05 13:38:11.038561"], ["updated_at", "2017-03-05 13:38:11.038561"]]  (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", "2017-03-05 13:38:11.040040"], ["updated_at", "2017-03-05 13:38:11.040040"]]  (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", 1], ["created_at", "2017-03-05 13:38:11.041500"], ["updated_at", "2017-03-05 13:38:11.041500"]]  (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", "2017-03-05 13:38:11.042961"], ["updated_at", "2017-03-05 13:38:11.042961"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (0.1ms) 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$.UBvebtCbZqEqEHyGPnyqe7cUXnQxAD50XwnJj6nytX8jgYMtRg7m"], ["remember_token", "HLZPHj1mB_Pw0b79YJlp1g"], ["created_at", "2017-03-05 13:38:11.046823"], ["updated_at", "2017-03-05 13:38:11.046823"]]  (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", "2017-03-05 13:38:11.048398"], ["updated_at", "2017-03-05 13:38:11.048398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (0.1ms) 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", 2], ["created_at", "2017-03-05 13:38:11.050377"], ["updated_at", "2017-03-05 13:38:11.050377"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (0.2ms) 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", "2017-03-05 13:38:11.054059"], ["updated_at", "2017-03-05 13:38:11.054059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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", "2017-03-05 13:38:11.056258"], ["updated_at", "2017-03-05 13:38:11.056258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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", "2017-03-05 13:38:11.057995"], ["updated_at", "2017-03-05 13:38:11.057995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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", "2017-03-05 13:38:11.059644"], ["updated_at", "2017-03-05 13:38:11.059644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 11], ["read_right", "t"], ["created_at", "2017-03-05 13:38:11.064954"], ["updated_at", "2017-03-05 13:38:11.064954"]] 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", "2017-03-05 13:38:11.066427"], ["updated_at", "2017-03-05 13:38:11.066427"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "-FGxFKTvMBVTIyUImn6M3A"]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered articles/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms) Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (1.1ms) rollback transaction  (0.1ms) 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$.NmM0BzMyaUDsBx21BVkCOHgj8swBfd7q39rXILWnQUPsPcE3u6iK"], ["remember_token", "qB4GKYrj0sy3dsAT2opQIA"], ["created_at", "2017-03-05 13:38:11.082656"], ["updated_at", "2017-03-05 13:38:11.082656"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$VOYlGLBw/H458tBmbB9ebessdfgnj3GlG2szBO0S56C.Q6cnqPB9C"], ["remember_token", "r7R4p5TtYRFn51DpgPFe8Q"], ["created_at", "2017-03-05 13:38:11.087456"], ["updated_at", "2017-03-05 13:38:11.087456"]]  (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", "2017-03-05 13:38:11.089591"], ["updated_at", "2017-03-05 13:38:11.089591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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", "2017-03-05 13:38:11.091501"], ["updated_at", "2017-03-05 13:38:11.091501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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", "2017-03-05 13:38:11.093177"], ["updated_at", "2017-03-05 13:38:11.093177"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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", "2017-03-05 13:38:11.094829"], ["updated_at", "2017-03-05 13:38:11.094829"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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", "2017-03-05 13:38:11.096655"], ["updated_at", "2017-03-05 13:38:11.096655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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", "2017-03-05 13:38:11.098400"], ["updated_at", "2017-03-05 13:38:11.098400"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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", "2017-03-05 13:38:11.102452"], ["updated_at", "2017-03-05 13:38:11.102452"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2017-03-05 13:38:11.106615"], ["updated_at", "2017-03-05 13:38:11.106615"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:11.110251"], ["updated_at", "2017-03-05 13:38:11.110251"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "t"], ["created_at", "2017-03-05 13:38:11.114741"], ["updated_at", "2017-03-05 13:38:11.114741"]] 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", "2017-03-05 13:38:11.116712"], ["updated_at", "2017-03-05 13:38:11.116712"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 2], ["read_right", "t"], ["created_at", "2017-03-05 13:38:11.124686"], ["updated_at", "2017-03-05 13:38:11.124686"]] 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", "2017-03-05 13:38:11.126198"], ["updated_at", "2017-03-05 13:38:11.126198"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "qB4GKYrj0sy3dsAT2opQIA"]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered articles/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.6ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (1.3ms) rollback transaction  (0.2ms) 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$AJiYb2PaahZ6Ua65MPsXIeb6kxXa7xI.uLrSJQ182A7IC/dsqZYQK"], ["remember_token", "rvXZQ0mxqYd2ENZruqgLnw"], ["created_at", "2017-03-05 13:38:11.142246"], ["updated_at", "2017-03-05 13:38:11.142246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2017-03-05 13:38:11.145603"], ["updated_at", "2017-03-05 13:38:11.145603"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:11.149060"], ["updated_at", "2017-03-05 13:38:11.149060"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["created_at", "2017-03-05 13:38:11.152238"], ["updated_at", "2017-03-05 13:38:11.152238"]] 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", "2017-03-05 13:38:11.153447"], ["updated_at", "2017-03-05 13:38:11.153447"]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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$NC7rZik1XYxDj4NuHA8r9eI4vRykhfy9kTC7uJhEs/HdfSF3XdqJ."], ["remember_token", "Y72ljKlSWje_jC_c7t5fnw"], ["created_at", "2017-03-05 13:38:11.158404"], ["updated_at", "2017-03-05 13:38:11.158404"]]  (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", "2017-03-05 13:38:11.159832"], ["updated_at", "2017-03-05 13:38:11.159832"]]  (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 1 [["remember_token", "rvXZQ0mxqYd2ENZruqgLnw"]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 0.5ms)  (1.1ms) rollback transaction  (0.1ms) 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$XTSBWExW8ebpzln2R/zuju0st95hCpF7uK9ynXnAkVD9Bbr4vJXn2"], ["remember_token", "iw3TDKZO50SBfQ65GzueyA"], ["created_at", "2017-03-05 13:38:11.175792"], ["updated_at", "2017-03-05 13:38:11.175792"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2017-03-05 13:38:11.179117"], ["updated_at", "2017-03-05 13:38:11.179117"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:11.182743"], ["updated_at", "2017-03-05 13:38:11.182743"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["created_at", "2017-03-05 13:38:11.185912"], ["updated_at", "2017-03-05 13:38:11.185912"]] 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", "2017-03-05 13:38:11.187042"], ["updated_at", "2017-03-05 13:38:11.187042"]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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$qvo3vvMLg.usccFxXVf/7efZbOrsAZrRetwhECv/tsiu7h.scBqJm"], ["remember_token", "wy37YztbY2K1aAJk91Re6g"], ["created_at", "2017-03-05 13:38:11.192051"], ["updated_at", "2017-03-05 13:38:11.192051"]]  (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", "2017-03-05 13:38:11.193501"], ["updated_at", "2017-03-05 13:38:11.193501"]]  (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 1 [["remember_token", "iw3TDKZO50SBfQ65GzueyA"]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Rendered articles/show.html.erb within layouts/application (0.4ms) Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.4ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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$r1vc2.jiptNOAwXbmLf1Z.a2BLLQut8zMc20y571N/NCxrHSkA1d."], ["remember_token", "togVOm4DTaR8W-hmRE0krw"], ["created_at", "2017-03-05 13:38:11.208073"], ["updated_at", "2017-03-05 13:38:11.208073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2017-03-05 13:38:11.212990"], ["updated_at", "2017-03-05 13:38:11.212990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:11.216988"], ["updated_at", "2017-03-05 13:38:11.216988"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["create_right", "t"], ["created_at", "2017-03-05 13:38:11.220303"], ["updated_at", "2017-03-05 13:38:11.220303"]] 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", "2017-03-05 13:38:11.221452"], ["updated_at", "2017-03-05 13:38:11.221452"]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "togVOm4DTaR8W-hmRE0krw"]] Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 1 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"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["create_right", "t"]] Rendered articles/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 0.6ms)  (0.9ms) rollback transaction  (0.2ms) 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$newTJPEovhx94EKR4eEaeuq/xWFZR6.cJLdtnmStL1DcwSLIzYNg2"], ["remember_token", "VByMN5aslRNOgsIaXx117w"], ["created_at", "2017-03-05 13:38:11.238168"], ["updated_at", "2017-03-05 13:38:11.238168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2017-03-05 13:38:11.241987"], ["updated_at", "2017-03-05 13:38:11.241987"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:11.245453"], ["updated_at", "2017-03-05 13:38:11.245453"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["update_right", "t"], ["created_at", "2017-03-05 13:38:11.248708"], ["updated_at", "2017-03-05 13:38:11.248708"]] 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", "2017-03-05 13:38:11.250158"], ["updated_at", "2017-03-05 13:38:11.250158"]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$Y3oqai5TGRtQNirLdWDwOe9WZKMNkITm01quBw/q7Y4sY5/SwPWVW"], ["remember_token", "Ls4HgDvKt2NRjTo-Id5pew"], ["created_at", "2017-03-05 13:38:11.256966"], ["updated_at", "2017-03-05 13:38:11.256966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", "2017-03-05 13:38:11.259667"], ["updated_at", "2017-03-05 13:38:11.259667"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "VByMN5aslRNOgsIaXx117w"]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]] Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.2ms) 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" = 1  (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"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] 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"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] Rendered articles/edit.html.erb within layouts/application (0.4ms) Completed 200 OK in 9ms (Views: 3.2ms | ActiveRecord: 0.9ms)  (1.0ms) rollback transaction  (0.1ms) 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$gxbr94xpL1yRHhDmVgElEe.uGvOcS3O4WqROBtCojN0KOy30aIIca"], ["remember_token", "hCyuh2p--tPY5w1EY1lKdA"], ["created_at", "2017-03-05 13:38:11.277834"], ["updated_at", "2017-03-05 13:38:11.277834"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2017-03-05 13:38:11.281233"], ["updated_at", "2017-03-05 13:38:11.281233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:11.283762"], ["updated_at", "2017-03-05 13:38:11.283762"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["update_right", "t"], ["created_at", "2017-03-05 13:38:11.287125"], ["updated_at", "2017-03-05 13:38:11.287125"]] 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", "2017-03-05 13:38:11.288356"], ["updated_at", "2017-03-05 13:38:11.288356"]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$gzis2GucNd6xkElKSsMyO.odPLDAbIG.60FiZgDxwYYkiYdngmVgK"], ["remember_token", "Bh4TtBBXUEOjbtw12FR9vA"], ["created_at", "2017-03-05 13:38:11.293435"], ["updated_at", "2017-03-05 13:38:11.293435"]]  (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", "2017-03-05 13:38:11.295125"], ["updated_at", "2017-03-05 13:38:11.295125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "hCyuh2p--tPY5w1EY1lKdA"]] Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] 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"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] Rendered articles/edit.html.erb within layouts/application (0.3ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$0/pyL8ZO538EoxRCXGGSb.eIkxKpbdBX37hivjC7JHqy17Qy5oOQi"], ["remember_token", "B5ekJum6qlH32KScPvV5Yw"], ["created_at", "2017-03-05 13:38:11.308116"], ["updated_at", "2017-03-05 13:38:11.308116"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2017-03-05 13:38:11.312492"], ["updated_at", "2017-03-05 13:38:11.312492"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:11.316047"], ["updated_at", "2017-03-05 13:38:11.316047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["created_at", "2017-03-05 13:38:11.319066"], ["updated_at", "2017-03-05 13:38:11.319066"]] 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", "2017-03-05 13:38:11.320174"], ["updated_at", "2017-03-05 13:38:11.320174"]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/articles" for 127.0.0.1 at 2017-03-05 14:38:11 +0100 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Redirected to http://www.example.com/login Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:38:11 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (17.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 405ms (Views: 404.4ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:38:11 +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 1 [["name", "admin"]] Redirected to http://www.example.com/articles Completed 302 Found in 3ms (ActiveRecord: 0.1ms) Started GET "/articles" for 127.0.0.1 at 2017-03-05 14:38:11 +0100 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "B5ekJum6qlH32KScPvV5Yw"]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] 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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] CACHE (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Article Load (0.1ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (12.7ms) Completed 200 OK in 19ms (Views: 14.5ms | ActiveRecord: 0.6ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments" for 127.0.0.1 at 2017-03-05 14:38:11 +0100 Processing by CommentsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Redirected to http://www.example.com/login Completed 302 Found in 1ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:38:11 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.1ms)  (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$2g/UzypdyXhWE55nP.Y3yuUjKgs5QTHyi1IsQupvjVexJKhjqnOZu"], ["remember_token", "jG96vy9HwgIsw1Tg_HCOvw"], ["created_at", "2017-03-05 13:38:11.811466"], ["updated_at", "2017-03-05 13:38:11.811466"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:38:11 +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 1 [["name", "admin"]] Redirected to http://www.example.com/comments Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/comments" for 127.0.0.1 at 2017-03-05 14:38:11 +0100 Processing by CommentsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "jG96vy9HwgIsw1Tg_HCOvw"]] Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments/new" for 127.0.0.1 at 2017-03-05 14:38:11 +0100 Processing by CommentsController#new as HTML Rendered comments/new.html.erb within layouts/application (0.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.2ms) Started POST "/comments" for 127.0.0.1 at 2017-03-05 14:38:11 +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 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 2017-03-05 14:38:11 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.2ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)  (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$QjZMndcmIFg2Vtu5xQTz4uy/MO7E0EcsuYu5a92M9Hg9IqJuCkKJ."], ["remember_token", "4iQfoiqw5EJpdFFQ4i_s5w"], ["created_at", "2017-03-05 13:38:11.850024"], ["updated_at", "2017-03-05 13:38:11.850024"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:38:11 +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 1 [["name", "admin"]] Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2017-03-05 14:38:11 +0100 Processing by PagesController#dashboard as HTML Rendered pages/dashboard.html.erb within layouts/application (0.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "4iQfoiqw5EJpdFFQ4i_s5w"]] Completed 200 OK in 8ms (Views: 8.1ms | ActiveRecord: 0.1ms)  (0.5ms) 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$QfsvjM8Qbock.Uud2vIX0uwc62BpSxy1VU0EHZgsT1qSr8OjtbLnG"], ["remember_token", "AFFmASF3TdiwZBL5gkBCgg"], ["created_at", "2017-03-05 13:38:11.878460"], ["updated_at", "2017-03-05 13:38:11.878460"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2017-03-05 13:38:11.881239"], ["updated_at", "2017-03-05 13:38:11.881239"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", "t"], ["created_at", "2017-03-05 13:38:11.884212"], ["updated_at", "2017-03-05 13:38:11.884212"]] Adeia::Action Load (0.2ms) 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.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) 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$RZ9PJgW7Y1DXbFtww/DzwOeYYd1xlcZVpkwsLaDYc0Svc1Tm9FIjy"], ["remember_token", "mWiz5O2qZP5ZDJ8mFkanEg"], ["created_at", "2017-03-05 13:38:11.893689"], ["updated_at", "2017-03-05 13:38:11.893689"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:11.896540"], ["updated_at", "2017-03-05 13:38:11.896540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2017-03-05 13:38:11.898628"], ["updated_at", "2017-03-05 13:38:11.898628"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", "t"], ["resource_id", 1], ["created_at", "2017-03-05 13:38:11.902340"], ["updated_at", "2017-03-05 13:38:11.902340"]] 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", "2017-03-05 13:38:11.903671"], ["updated_at", "2017-03-05 13:38:11.903671"]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) 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$ZqvmRREQln/Hj5mPEkdOduWiKurt1rwNX8skOYjkPfBSJ5MBhsyQa"], ["remember_token", "ZT7Qjk-YsH25er2ufkEFVw"], ["created_at", "2017-03-05 13:38:11.911756"], ["updated_at", "2017-03-05 13:38:11.911756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2017-03-05 13:38:11.915204"], ["updated_at", "2017-03-05 13:38:11.915204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", "t"], ["create_right", "t"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2017-03-05 13:38:11.918064"], ["updated_at", "2017-03-05 13:38:11.918064"]] Adeia::Action Load (0.2ms) 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.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) 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$ns5L6CNwLwAJcXMcCQnZtuMet2EgWLgGAZYyUHJNF8bzCLRy9BtDq"], ["remember_token", "_GPOf1Cbn7y9ELKaejUHzg"], ["created_at", "2017-03-05 13:38:11.927093"], ["updated_at", "2017-03-05 13:38:11.927093"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2017-03-05 13:38:11.930041"], ["updated_at", "2017-03-05 13:38:11.930041"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2017-03-05 13:38:11.961078"], ["updated_at", "2017-03-05 13:38:11.961078"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", "t"], ["resource_id", 1], ["created_at", "2017-03-05 13:38:11.965182"], ["updated_at", "2017-03-05 13:38:11.965182"]] 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", "2017-03-05 13:38:11.966645"], ["updated_at", "2017-03-05 13:38:11.966645"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]] Adeia::Permission Load (0.4ms) SELECT "adeia_permissions".* FROM "adeia_permissions" WHERE "adeia_permissions"."permission_type" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."adeia_element_id" = 1 ORDER BY "adeia_permissions"."id" ASC LIMIT 1 [["permission_type", 2]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) 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.1ms) begin transaction Adeia::Element Load (3.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.6ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.6ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "Adeia::Group"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]] SQL (1.5ms) 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "gWTixLTpKoGk-3Ww_3Z2Gw"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Wed, 05 Apr 2017], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT ? [["token", "gWTixLTpKoGk-3Ww_3Z2Gw"], ["LIMIT", 1]]  (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"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."create_right" = ? [["id", 1], ["name", "admin/articles"], ["create_right", true]]  (0.2ms) 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]]  (1.1ms) rollback transaction  (0.3ms) begin transaction Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.9ms) 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]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1002], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]] SQL (0.4ms) 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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]]  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1003], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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]]  (1.2ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1004], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1004]]  (1.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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1005], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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]]  (1.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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1006], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1006]]  (1.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1007], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1007]]  (1.2ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1008], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.9ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1009], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["destroy_right", true], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1009]]  (1.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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_id", 1010], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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 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", 1010]]  (1.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1011], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "NVcXuzuFSwHjjEZXLxqfxQ"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Wed, 05 Apr 2017], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT ? [["token", "NVcXuzuFSwHjjEZXLxqfxQ"], ["LIMIT", 1]]  (0.3ms) 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.2ms) 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.2ms) 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.2ms) 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.9ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1012], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1012]]  (1.2ms) rollback transaction  (0.2ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1013], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1013]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1016], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.2ms) 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.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", 1016]]  (1.3ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1018], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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 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", 1018]]  (1.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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1020], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1020], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1020]]  (0.9ms) 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1022], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1021], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1022]]  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "adeia_group_users" ("adeia_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_group_id", 1], ["user_id", 1023], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "Adeia::Group"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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 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]]  (1.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.7ms)  (0.1ms) rollback transaction  (0.1ms) 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$egiBr7.ssfUpDNXSDf2yYOmc4K33T7QDd7Ie1HXqccOTCV0AbIQ5O"], ["remember_token", "TIdsFg0qSdZ1qsFd8H8pnw"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 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", "TIdsFg0qSdZ1qsFd8H8pnw"], ["LIMIT", 1]] Rendering text template Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) 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 5ms (ActiveRecord: 0.3ms)  (0.2ms) rollback transaction  (0.1ms) 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$255CSzDF7fvL6xns/wPayuwN.3vXqIVFpRRs9JrVvW3D7V1i3FEJ2"], ["remember_token", "FIX-u952IArd_DTIdozevQ"], ["created_at", 2017-03-05 13:40:24 UTC], ["updated_at", 2017-03-05 13:40:24 UTC]]  (0.1ms) 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", "FIX-u952IArd_DTIdozevQ"], ["LIMIT", 1]] Rendering text template Rendered text template (0.0ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (1.0ms) rollback transaction  (0.1ms) 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]] Rendering text template Rendered text template (0.0ms) Completed 200 OK in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) 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]] Rendering text template Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) 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$2Z4w9J3tMJ5kp.QcKco1DO9VyBMRg0IeVSZvziRGqDD0R6A9tvA6."], ["remember_token", "hNyhnHzAaGgvPFmZgQKypw"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", "hNyhnHzAaGgvPFmZgQKypw"], ["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]] Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.1ms)  (2.4ms) rollback transaction  (0.1ms) 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$uJQMSbwyl3LcpwarN5kY8uVy.addBoSxncxSlyM89lGR/LcKITkt."], ["remember_token", "MB8LfxzXsBFu8CenY_G0Jg"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]] Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "articles" ("id", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 100], ["title", "Rspec tests"], ["content", "Lorem ipsum"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "MB8LfxzXsBFu8CenY_G0Jg"], ["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]] Completed 500 Internal Server Error in 22ms (ActiveRecord: 1.7ms)  (1.0ms) rollback transaction  (0.1ms) 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$zGEqf7MajEY.MjuJ5gaf7uUA0HaAMAeeYMQlKTCmAk5kGwgOFrdWC"], ["remember_token", "dFczVYYGt26gWdU52wKZNw"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "letters"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.1ms) 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "dFczVYYGt26gWdU52wKZNw"], ["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]] Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.3ms)  (1.2ms) rollback transaction  (0.1ms) 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$2j4Ed4zlptsoerCF7PN2leABWKvT6oQMMsFwyXPahANdIuaZW5r62"], ["remember_token", "IXrifYHCzkamVrp2e6X7gg"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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 AnonymousController#index as HTML  (0.1ms) 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "IXrifYHCzkamVrp2e6X7gg"], ["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]] Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.3ms)  (1.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.2ms) 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]] Rendering text template Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) 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]] Rendering text template Rendered text template (0.1ms) Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) 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$JWrC5NTfxRtJvsvdnoch8uOu5bc5F9xOyrm3B/joltbVCh0F4Q95C"], ["remember_token", "Ljw07txiFK3jDEH7yu2yKw"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) 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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", "Ljw07txiFK3jDEH7yu2yKw"], ["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]] Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.1ms)  (0.8ms) 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) 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.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) 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$E.oT0YKgWDgVeNqUsEa/W.Be3dxUl3DrqioBwtdtQ9cM6NcPJshiS"], ["remember_token", "B-xN4mVR5BAbuCHTCASHuw"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]] Adeia::Action Load (0.1ms) 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#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "B-xN4mVR5BAbuCHTCASHuw"], ["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]] Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.1ms)  (1.1ms) rollback transaction  (0.1ms) 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$O5J8bgxQZE1twWrjvu28F.HVmVc3Xo7l8Bjt/jkB.z3SSECLWtJja"], ["remember_token", "jLCJs21dQhKRGmBqYV0rEA"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]] Adeia::Action Load (0.1ms) 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#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "jLCJs21dQhKRGmBqYV0rEA"], ["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]] Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.1ms)  (1.1ms) rollback transaction  (0.1ms) 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$/I5gVN3/soPHEvPEwmKCp.aCxI3BFVGepPWKxWFzEEdKS6KaZLpL6"], ["remember_token", "YMFRb0B8PaicVEdDkMwUkQ"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$..iyvGwWPOs5OwqsJBSGWufwUUTKd6Y3ohnqZn3tijguMfpi8mEXS"], ["remember_token", "WrECUCo2g5y7UzCn48iCCQ"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (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", 2], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (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.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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) 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", "YMFRb0B8PaicVEdDkMwUkQ"], ["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.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]] Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.1ms)  (1.3ms) rollback transaction  (0.1ms) 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$nDLh0.gkmRGDMTWlm7BCves6Rb85TDYjleHTgGurozFk86cLsCkwu"], ["remember_token", "_aIa2AU2J1-8ZsXA9xyKww"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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  (0.1ms) 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$qti1fmfY7AZEb4MMlWHSt.LqyXZqf6aCOC9gc2MtFY2AOySApWv4m"], ["remember_token", "BKECTdXPwWluE6ULL3jMYQ"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (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 "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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (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", "_aIa2AU2J1-8ZsXA9xyKww"], ["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]] Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.1ms)  (1.1ms) 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$W9/ukxSIQnC2V5LtzqNs4e.ox5AsVcP1kZxlETU7Zwd8WewqLdMoa"], ["remember_token", "1pZZmXKgpWw-9nbf-BULUw"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]] Adeia::Action Load (0.1ms) 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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$PdCF3BZTwFXH5VuXo/WROOqh.EdtJKBuck4N8yZCxhw24iUldgZpS"], ["remember_token", "18cmqbSlmEX3W_abqrSM6g"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (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.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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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]] 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.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 11], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "1pZZmXKgpWw-9nbf-BULUw"], ["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]] Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.1ms)  (2.6ms) 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$gcP0L/CLJqC88ZIrCBz2NuSts3GcVNhMvLgp6RupUjLFoc7NmaIlq"], ["remember_token", "ovIxHr8oUlSu8j7KTwkctQ"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$W0sf4C2sAJdHCcF3MJBZ1O.zlWT3iPrhBPoPpFHfz/OOsU64MPB6a"], ["remember_token", "-ddQAzK1RILf3o4Jyc4uaQ"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (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 "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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (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 "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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (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]] 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.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 2], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]] Adeia::Action Load (0.1ms) 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#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "ovIxHr8oUlSu8j7KTwkctQ"], ["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]] Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.1ms)  (4.9ms) rollback transaction  (0.1ms) 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$ALayw7tFdwc.gAQP9himxe1HuTAY0BvCjBYlGBsUpFcf9H8EjcjkS"], ["remember_token", "2lwjx4jh60dofPi22n1w-g"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$bj0QmMDfE7KlM761y5EgOOLOMy7t61IORjqLynjDJ5XNezgMuYWKi"], ["remember_token", "W6w7L8hs0bMVzwARK8s1zQ"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (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", 2], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", "2lwjx4jh60dofPi22n1w-g"], ["LIMIT", 1]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["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]] Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.2ms)  (1.1ms) rollback transaction  (0.1ms) 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$PpusOMTNHbV7PgbAKZ4MJ.uAP30ibWClz529iNILammfgS.dRlMVG"], ["remember_token", "2iL_9O3lHZO2uxkj8yiH7A"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]] SQL (0.4ms) 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$/nT6ZB4f6uP1Jc6Y/gMZ/.yXpGWlCsKzwAP/bSbTGJ5c1Yd7ke3nu"], ["remember_token", "1Q-Oz57kWsdICqWGYWE38g"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) 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", "2iL_9O3lHZO2uxkj8yiH7A"], ["LIMIT", 1]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["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]] Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.3ms)  (1.2ms) rollback transaction  (0.1ms) 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$KUagso8hc6uGSD4P6I1hoe.ZYrZyDVM4G2X/ga3lKVWdZDFD4ZrP2"], ["remember_token", "9dyFaCBhchF84RqQPYHyEQ"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]] Adeia::Action Load (0.2ms) 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.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "9dyFaCBhchF84RqQPYHyEQ"], ["LIMIT", 1]] Adeia::Token Load (0.2ms) 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]] Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.3ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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$FXvqUbQuMcVjYllosKIdg.W5LO6EuJctoRnaPAR/q38/m8OaFc7.2"], ["remember_token", "-aPcP3bMzv5s-oTjXegRlw"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$QrsKnEb7byonDnMqHDGIee0putQAchErvKPZvPyceuXChPdUO/l3a"], ["remember_token", "FGjUXCc1tu1vLD17iZSpGw"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (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", 2], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "-aPcP3bMzv5s-oTjXegRlw"], ["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]] Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.1ms)  (1.0ms) rollback transaction  (0.1ms) 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$47RQNbY192yWKdLRUteHYON4vCfgQtbEn1HR7Xxnpv/zztWe3Kt1K"], ["remember_token", "Qh-nCCEOnlB-WPrndLP5-g"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$1/LpnC6bItkmL0R4U5DRWuUNbyz0B87KVVE2FOW5xWg.Yum6hoiBW"], ["remember_token", "pa-xsHEp0piLX5d_JUx9Gg"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "Qh-nCCEOnlB-WPrndLP5-g"], ["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.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]] Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.2ms)  (3.5ms) rollback transaction  (0.1ms) 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$ItA1UJ.cEXAu.WC0llZVGOmN1yIS.4x264HZRvCUfYZZQDYpMIDVC"], ["remember_token", "l1zIZ33rEbwbamZQrif8wA"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 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", 2017-03-05 13:40:25 UTC], ["updated_at", 2017-03-05 13:40:25 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/articles" for 127.0.0.1 at 2017-03-05 14:40:25 +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]] Redirected to http://www.example.com/login Completed 302 Found in 8ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:40:25 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (19.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 461ms (Views: 458.6ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:40:26 +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 3ms (ActiveRecord: 0.1ms) Started GET "/articles" for 127.0.0.1 at 2017-03-05 14:40:26 +0100 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "l1zIZ33rEbwbamZQrif8wA"], ["LIMIT", 1]] Adeia::Token Load (0.2ms) 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]] Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.2ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments" for 127.0.0.1 at 2017-03-05 14:40:26 +0100 Processing by CommentsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Redirected to http://www.example.com/login Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:40:26 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (2.7ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 14ms (Views: 11.7ms | ActiveRecord: 0.2ms)  (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$PwLm4dNFWpX002WeDOsFE.U8lIrqWkv9zM/89Rd504b78Z2X3xlRi"], ["remember_token", "paf8wWr8nJCOJ-IHWsAWgg"], ["created_at", 2017-03-05 13:40:26 UTC], ["updated_at", 2017-03-05 13:40:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:40:26 +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 3ms (ActiveRecord: 0.1ms) Started GET "/comments" for 127.0.0.1 at 2017-03-05 14:40:26 +0100 Processing by CommentsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "paf8wWr8nJCOJ-IHWsAWgg"], ["LIMIT", 1]] Rendering text template Rendered text template (0.0ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments/new" for 127.0.0.1 at 2017-03-05 14:40:26 +0100 Processing by CommentsController#new as HTML Rendering comments/new.html.erb within layouts/application Rendered comments/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 11ms (Views: 8.4ms | ActiveRecord: 0.2ms) Started POST "/comments" for 127.0.0.1 at 2017-03-05 14:40:26 +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 2017-03-05 14:40:26 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (5.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 19ms (Views: 16.2ms | ActiveRecord: 0.1ms)  (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$I3R9qG8miElHEU0FrvXRbOwXsya5BoxtxsZDC3cw6XnRfPCsZZlG6"], ["remember_token", "lC7UHsAkiG3bTU-osTnqqA"], ["created_at", 2017-03-05 13:40:26 UTC], ["updated_at", 2017-03-05 13:40:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:40:26 +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/ Completed 302 Found in 3ms (ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2017-03-05 14:40:26 +0100 Processing by PagesController#dashboard as HTML Rendering pages/dashboard.html.erb within layouts/application Rendered pages/dashboard.html.erb within layouts/application (0.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "lC7UHsAkiG3bTU-osTnqqA"], ["LIMIT", 1]] Completed 200 OK in 12ms (Views: 9.3ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) 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$sIRcNVADV/eCBNwrBKaje.sCZqFGLzqIc1yWCXwmp9AYROOd9F5n."], ["remember_token", "rTTMq4EjB2TbUSSz6fZXAg"], ["created_at", 2017-03-05 13:40:26 UTC], ["updated_at", 2017-03-05 13:40:26 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:40:26 UTC], ["updated_at", 2017-03-05 13:40:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:40:26 UTC], ["updated_at", 2017-03-05 13:40:26 UTC]] Adeia::Action Load (0.2ms) 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.8ms) 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$E42TjtSSe0MZNZ8YW4QVru93cJv/VnVevd6JGhpFGa6X/PuiV833u"], ["remember_token", "4J41F3r4v3LJB4ADGJED7A"], ["created_at", 2017-03-05 13:40:26 UTC], ["updated_at", 2017-03-05 13:40:26 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:26 UTC], ["updated_at", 2017-03-05 13:40:26 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", 2017-03-05 13:40:26 UTC], ["updated_at", 2017-03-05 13:40:26 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:40:26 UTC], ["updated_at", 2017-03-05 13:40:26 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", 2017-03-05 13:40:26 UTC], ["updated_at", 2017-03-05 13:40:26 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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$Cmj1a8ziNIpu7BT4HVOpruC5O9PcQoIUgylq6gHrQ.REDP1kqIugG"], ["remember_token", "kUV4OeviCM-BK0BvaiwETQ"], ["created_at", 2017-03-05 13:40:26 UTC], ["updated_at", 2017-03-05 13:40:26 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:40:26 UTC], ["updated_at", 2017-03-05 13:40:26 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["create_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2017-03-05 13:40:26 UTC], ["updated_at", 2017-03-05 13:40:26 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.8ms) rollback transaction  (0.1ms) 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$js4fN26t1nsVGIlIaLenfusDOMTnnQhm9FcpxqaWR1/dbr8y3Ts9."], ["remember_token", "9wxwFCKYYlWPk2laRFE-qQ"], ["created_at", 2017-03-05 13:40:26 UTC], ["updated_at", 2017-03-05 13:40:26 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:40:26 UTC], ["updated_at", 2017-03-05 13:40:26 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:40:26 UTC], ["updated_at", 2017-03-05 13:40:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:40:26 UTC], ["updated_at", 2017-03-05 13:40:26 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", 2017-03-05 13:40:26 UTC], ["updated_at", 2017-03-05 13:40:26 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 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "adeia/permissions"], ["LIMIT", 1]] Adeia::Permission Load (0.2ms) 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.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.8ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (1.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:42:25 UTC], ["updated_at", 2017-03-05 13:42:25 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:42:25 UTC], ["updated_at", 2017-03-05 13:42:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (2.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:25 UTC], ["updated_at", 2017-03-05 13:42:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.7ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "Adeia::Group"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:42:25 UTC], ["updated_at", 2017-03-05 13:42:25 UTC]] SQL (2.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", 2017-03-05 13:42:25 UTC], ["updated_at", 2017-03-05 13:42:25 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "G8X0hG7LuDsfaZEoqrrDZg"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Wed, 05 Apr 2017], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT ? [["token", "G8X0hG7LuDsfaZEoqrrDZg"], ["LIMIT", 1]]  (0.3ms) 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.5ms) 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.2ms) 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.2ms) 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.9ms) rollback transaction  (0.1ms) 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.6ms) 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.4ms) 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.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1002], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 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", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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.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" = 1002 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (8.5ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1003], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 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", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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" = 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"]]  (1.2ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1004], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 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", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1004]]  (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" = 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.8ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1005], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 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", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1005 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.4ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1006], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 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", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 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 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", 1006]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1006 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (1.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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.2ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1007], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 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", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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" = 1007 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1007 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1008], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 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", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1008]]  (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" = 1008 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1008 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.9ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) 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.8ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1009], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["destroy_right", true], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 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", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 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 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", 1009]]  (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" = 1009 AND "adeia_permissions"."destroy_right" = ? AND "adeia_elements"."name" = ? [["destroy_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1009 AND "adeia_permissions"."destroy_right" = ? AND "adeia_elements"."name" = ? [["destroy_right", true], ["name", "admin/articles"]]  (2.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_id", 1010], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 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", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1010]]  (0.3ms) 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.4ms) 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"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1011], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]] SQL (0.4ms) 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", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", "2hflcqwaTC5wiJaJl5ntpg"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Wed, 05 Apr 2017], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 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", "2hflcqwaTC5wiJaJl5ntpg"], ["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.2ms) 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 (1.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]]  (1.5ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1012], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]] SQL (0.7ms) 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", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]] Adeia::Action Load (0.8ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.3ms) 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.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", 1012]]  (0.3ms) 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.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" = 1012 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.9ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1013], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 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", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) 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", 1013]]  (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" = 1013 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.4ms) 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.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1016], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]] SQL (0.4ms) 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", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1016]]  (0.3ms) 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.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" = 1016 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 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.9ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1018], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]] SQL (0.5ms) 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", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1018]]  (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" = 1018 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 1018 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1020], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1020], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 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", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1020]]  (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" = 1020 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1020 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (2.8ms) rollback transaction  (0.2ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1022], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1021], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]] SQL (0.4ms) 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", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1022]]  (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" = 1022 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1022 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_group_users" ("adeia_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_group_id", 1], ["user_id", 1023], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "Adeia::Group"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 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", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1023]] 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" = '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"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 500 Internal Server Error in 27ms (ActiveRecord: 0.8ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$gBbu4lJwXU/pNWQ2TOl42ugyaTkTzBefGy.NTKJ8gpfihNdUbQ8tS"], ["remember_token", "HjU5UeGMnbi5vVd-onOMwQ"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "HjU5UeGMnbi5vVd-onOMwQ"], ["LIMIT", 1]] Completed 200 OK in 3ms (ActiveRecord: 0.4ms)  (1.4ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.7ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (24.9ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$pfKcQCtND5QCIvYLnRlt7udWBgzyqThYLZEKyJq2VbCCIQxwkCUnW"], ["remember_token", "FwyOK0NqXVFQ2MLQM8_ghA"], ["created_at", 2017-03-05 13:42:26 UTC], ["updated_at", 2017-03-05 13:42:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "FwyOK0NqXVFQ2MLQM8_ghA"], ["LIMIT", 1]] Completed 200 OK in 2ms (ActiveRecord: 0.2ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] User Load (0.1ms) 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 31ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] User Load (0.1ms) 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 10ms (ActiveRecord: 0.7ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$/nE.5/.tCZxFA9S8j1W4KODxUGhCEcjxKO0o878WvxHZ1/zCBLugW"], ["remember_token", "HoqJjwc_pGT6zMBdIHr1bg"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.5ms) 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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 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", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", "HoqJjwc_pGT6zMBdIHr1bg"], ["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.3ms) 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.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] 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" = '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.8ms)  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) 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$lM5QlNXETum5FPXaSuUUAuTueapco9dXRszk7pviye9GWWTwmDXde"], ["remember_token", "GSXlfHgDRhSniel6jP7b_A"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]] SQL (0.4ms) 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", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]] Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "articles" ("id", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 100], ["title", "Rspec tests"], ["content", "Lorem ipsum"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "GSXlfHgDRhSniel6jP7b_A"], ["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::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 34ms (ActiveRecord: 2.4ms)  (1.2ms) rollback transaction  (0.1ms) 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$vEvo0FTZIcLx26YVHCPOburEl8vx1I1CB6Yk65Lae5Qh1au403hia"], ["remember_token", "C8tk7Yd0sGRT21Xdk3wCFQ"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "letters"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "letters"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 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", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" ("id", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 100], ["title", "Rspec tests"], ["content", "Lorem ipsum"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "C8tk7Yd0sGRT21Xdk3wCFQ"], ["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", "letters"]] Adeia::Token Load (0.5ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] 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" = '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 28ms (ActiveRecord: 1.6ms)  (4.3ms) rollback transaction  (0.1ms) 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$wiVS7uHkJOzM/C7OmLiAJugupS2Qi8cLtoAcEqTM9CP2fvbWcMgzC"], ["remember_token", "gnKMD1PRbKID7E27XnAkxQ"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.3ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]] SQL (0.4ms) 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", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" ("id", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 100], ["title", "Rspec tests"], ["content", "Lorem ipsum"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "gnKMD1PRbKID7E27XnAkxQ"], ["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", "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.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", "admin/articles"]] Completed 200 OK in 21ms (ActiveRecord: 1.3ms)  (58.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] User Load (0.1ms) 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 4ms (ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.1ms) 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 3ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) 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$aGp/7oGtzdCiJP6TwEVNuuZfMdbnjecSZQYJvD8CD2BoZ0fVI9XQ6"], ["remember_token", "KJkwNz5T0onJ6QcHBljoNg"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) 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 (1.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 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", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "KJkwNz5T0onJ6QcHBljoNg"], ["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::Token Load (0.1ms) 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 12ms (ActiveRecord: 0.7ms)  (0.8ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.6ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) 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.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.3ms) begin transaction Adeia::Group Load (0.8ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (24.0ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.3ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (7.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.3ms) 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.6ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.5ms) begin transaction Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (3.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (4.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.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:42:27 UTC], ["updated_at", 2017-03-05 13:42:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (1.4ms) begin transaction  (0.5ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$nybLvC6xUykJ7IiaGdESnevhXuy7GBXrPSprAW.j43Uoooe07tMcm"], ["remember_token", "VzL9kOEvQ3-t52Cc1ruxew"], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]] SQL (0.4ms) 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", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]] Adeia::Action Load (0.1ms) 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#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "VzL9kOEvQ3-t52Cc1ruxew"], ["LIMIT", 1]] Adeia::Token Load (0.2ms) 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.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" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Permission Load (0.4ms) 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.1ms) 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 (1.7ms) Completed 200 OK in 214ms (Views: 124.0ms | ActiveRecord: 1.2ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (5.0ms) SAVEPOINT active_record_1 SQL (2.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$1Js80/Hu1H.bTL3SnHqZPeXcIUWXcOCgHB7WdrVXI8KDw2GTX7rt."], ["remember_token", "UimBDNCZ4qjWQcRiUQiXsg"], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) 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.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.3ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (4.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]] SQL (0.9ms) 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", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.2ms) 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", "UimBDNCZ4qjWQcRiUQiXsg"], ["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.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" = 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.1ms) 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.1ms) Completed 200 OK in 20ms (Views: 9.7ms | ActiveRecord: 0.6ms)  (2.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$rTq/.wR0.DOZP4S6A6hNOuOs4.it3bcEb.vFXM.bn96HwQ208X5TO"], ["remember_token", "8rEzLk42SoRL8ghxd4Zw-Q"], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.2ms) 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]]  (4.4ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]] SQL (0.5ms) 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", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]] Adeia::Action Load (4.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.3ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$IdFtkekz5LhJxWapmmZ3HO945hR6b1nw1wDghnkxEN2217vRNAVk6"], ["remember_token", "L1GBwAKfyQV0LdMxda_NUg"], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (3.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.2ms) 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", 2], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (19.5ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "8rEzLk42SoRL8ghxd4Zw-Q"], ["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.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" = '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.1ms) 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 35ms (Views: 1.3ms | ActiveRecord: 20.1ms)  (1.5ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$J7FxWthD98..bE20nlq4Kuaxw0H0pVlOvZI8pBeg9aQp6cNtv/wPW"], ["remember_token", "7Euzw8lnqXyl5nVPZKS15w"], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (1.4ms) 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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 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", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (3.9ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$PvdGN.Ow2ZLuZqNCgCRieuQUZSkgckMFR6dOCeIVrjXyHXo0JdJR2"], ["remember_token", "wFX0mD_pTHLWKkecyCTzqA"], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) 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", 2], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.3ms) 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", 2], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (1.5ms) 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", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.3ms) 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", 2], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.2ms) 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", 2], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.2ms) 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", "7Euzw8lnqXyl5nVPZKS15w"], ["LIMIT", 1]] Adeia::Token Load (0.2ms) 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"]] Adeia::Token Load (0.1ms) 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.1ms) Completed 200 OK in 15ms (Views: 1.4ms | ActiveRecord: 0.8ms)  (8.8ms) rollback transaction  (0.3ms) 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$nQN5BbojoHVYnFYW0F6rdOZQG4MWMKe6PLd9gLJHeHcC8HMC19NC."], ["remember_token", "Dom4HIG2dYXhVy6NCmw3gg"], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]] SQL (0.7ms) 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", 2017-03-05 13:42:28 UTC], ["updated_at", 2017-03-05 13:42:28 UTC]] Adeia::Action Load (0.3ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) 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", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$q5e.UdXxNVrLv8xaeo1nK.pqeW/aStk9QSM.aBSJP79EUByr3GPzm"], ["remember_token", "4Wr_UgcOqzhG3IU_Vwl7QQ"], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 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", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (4.7ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.5ms) 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]] 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.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 11], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 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", 2], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.4ms) 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", "Dom4HIG2dYXhVy6NCmw3gg"], ["LIMIT", 1]] Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (5.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.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" = 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.1ms) 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 22ms (Views: 0.8ms | ActiveRecord: 5.8ms)  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (15.8ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$Ju7CamogXBCk4UZ/ihSUmO7dls2DhvXrL.KYqSw7IlldOz1aCq4kG"], ["remember_token", "u4qlzP10OlDt18v22ot5Hw"], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$QCW5LmJUpgSAsEh97Szgv.rMUfmDyg3gLhkpnYOEGKHzllkl2HpoG"], ["remember_token", "VJ2GTaR21q6kRNOmPmUrqw"], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (1.9ms) 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", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (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 "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", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.1ms) 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 (4.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]] SQL (0.4ms) 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", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 2], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]] SQL (13.3ms) 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", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "u4qlzP10OlDt18v22ot5Hw"], ["LIMIT", 1]] Adeia::Token Load (0.2ms) 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.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" = '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.1ms) 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.1ms) Completed 200 OK in 15ms (Views: 1.2ms | ActiveRecord: 1.0ms)  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$d2v92AMutJK8qDY6IkFsV.3ZTjdTu.YLUlJdItSFWs4HSntCq9gL."], ["remember_token", "5eikgC48Nua70HogyOiwEQ"], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.1ms) 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 (17.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.1ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]] SQL (1.8ms) 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", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (1.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$MFZdPzHeD4RznAAdwH1LH.38EXYRtXXvYTf74Hdwl1l2yu8AmrxEC"], ["remember_token", "L7FQE3sWqV1jS5QMie-mDw"], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", 2], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.3ms) 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", "5eikgC48Nua70HogyOiwEQ"], ["LIMIT", 1]] Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["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.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" = 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"]] Rendering articles/show.html.erb within layouts/application Rendered articles/show.html.erb within layouts/application (0.8ms) Completed 200 OK in 37ms (Views: 5.5ms | ActiveRecord: 0.9ms)  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$3HYiTc0CGu.fZO.5ecsNKudSb.57ExE8t3N618RoM/RdEqJejBrd6"], ["remember_token", "vTB2kxeEjmLrNhfFGOZmGw"], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.1ms) 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 (3.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.1ms) 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 (4.8ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]] SQL (0.5ms) 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", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$mT/G/8DR5EFjX79qYGybyegXSSBGUci7VKj0GG/tkPKH8IGsBKsze"], ["remember_token", "S1lROGkymMI_FKG2jz5W5g"], ["created_at", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 2017-03-05 13:42:29 UTC], ["updated_at", 2017-03-05 13:42:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#show as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "vTB2kxeEjmLrNhfFGOZmGw"], ["LIMIT", 1]] Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["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.3ms) 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.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" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] 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" = '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 89ms (Views: 1.3ms | ActiveRecord: 1.3ms)  (5.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$bhE.UxKzGyZslRL66gHxHuk1Rjp4cCveonff5Bfo3dFZ7O8XYZQfe"], ["remember_token", "SWgJt1I-i3ku6qyoDX966g"], ["created_at", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]]  (1.5ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (23.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (1.6ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]] SQL (0.5ms) 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", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "SWgJt1I-i3ku6qyoDX966g"], ["LIMIT", 1]] Adeia::Token Load (1.7ms) 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]] Adeia::Permission Load (2.9ms) 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.4ms) Completed 200 OK in 53ms (Views: 1.7ms | ActiveRecord: 4.9ms)  (22.3ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$PGewh7y2p2gNDlZCqlbc9OqwIx8MRN7EFiRUIMhIBP1bqabWWd5JK"], ["remember_token", "GavvlUiRfMJjcprpgaPyzA"], ["created_at", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]]  (0.1ms) 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.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]]  (0.1ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]] SQL (0.4ms) 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", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]] Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.7ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$HQEkE45gGQUmRwNrXjBtZOSMMDyq6vVc.ZPNd4vM8TOoJzLJsRGry"], ["remember_token", "jYrD-l5ODykmTIID_p-usA"], ["created_at", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.2ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "GavvlUiRfMJjcprpgaPyzA"], ["LIMIT", 1]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["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.3ms) 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.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" = '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.3ms) Completed 200 OK in 16ms (Views: 1.1ms | ActiveRecord: 0.9ms)  (2.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$3QKqcSSdTKt7W0vuGz5IKuaJK0glKdaE4v7XGUogn2VvNyZXDuIjy"], ["remember_token", "44Ey3aDl7_Q40C9M5eNyxA"], ["created_at", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]]  (0.1ms) 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.4ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 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", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$TJ0XGzl2skXEjRTEl1Sj8ekVt3WlruTim4voqUKz3W6atULCe.v0C"], ["remember_token", "vf5AYGMxX-TM1BIspQ3jGg"], ["created_at", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "44Ey3aDl7_Q40C9M5eNyxA"], ["LIMIT", 1]] Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["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]]  (2.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.4ms) 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.1ms) Completed 200 OK in 26ms (Views: 1.1ms | ActiveRecord: 3.0ms)  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$MYdZPAQhokid1apx5dFc/eNmX/CXfhTykjQZHf9cHugCmSL78pmX."], ["remember_token", "e95ajXq98dUpnxlc5yDH4Q"], ["created_at", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (2.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]]  (0.6ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]] SQL (0.5ms) 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", 2017-03-05 13:42:30 UTC], ["updated_at", 2017-03-05 13:42:30 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/articles" for 127.0.0.1 at 2017-03-05 14:42:30 +0100 Processing by ArticlesController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] CACHE (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 18ms (ActiveRecord: 0.5ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:42:30 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (111.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 755ms (Views: 747.5ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:42:31 +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 4ms (ActiveRecord: 0.1ms) Started GET "/articles" for 127.0.0.1 at 2017-03-05 14:42:31 +0100 Processing by ArticlesController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "e95ajXq98dUpnxlc5yDH4Q"], ["LIMIT", 1]] Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.3ms) 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.3ms) 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.4ms) 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.2ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (27.9ms) Completed 200 OK in 85ms (Views: 59.3ms | ActiveRecord: 2.0ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments" for 127.0.0.1 at 2017-03-05 14:42:31 +0100 Processing by CommentsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Redirected to http://www.example.com/login Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:42:31 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (1.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 16ms (Views: 12.7ms | ActiveRecord: 0.1ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$n23We3.9WhSYOzYiOF6ALO/Nzv.kPpX5sq200DVS4NShDJ2NMXslO"], ["remember_token", "hPbRxhQg6BJ5tNGIIdivOQ"], ["created_at", 2017-03-05 13:42:31 UTC], ["updated_at", 2017-03-05 13:42:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:42:31 +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 3ms (ActiveRecord: 0.1ms) Started GET "/comments" for 127.0.0.1 at 2017-03-05 14:42:31 +0100 Processing by CommentsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "hPbRxhQg6BJ5tNGIIdivOQ"], ["LIMIT", 1]] Rendering text template Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments/new" for 127.0.0.1 at 2017-03-05 14:42:31 +0100 Processing by CommentsController#new as HTML Rendering comments/new.html.erb within layouts/application Rendered comments/new.html.erb within layouts/application (1.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 24ms (Views: 15.1ms | ActiveRecord: 0.2ms) Started POST "/comments" for 127.0.0.1 at 2017-03-05 14:42:31 +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 2017-03-05 14:42:31 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (1.7ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 29ms (Views: 22.4ms | 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$gZjsGnqpQR.ip5oDS3o4puVyddjV8OzH4hGgrL1wArIwBA4wlOS2y"], ["remember_token", "UPzsIyqMtQOQ0EOWkR3qBw"], ["created_at", 2017-03-05 13:42:31 UTC], ["updated_at", 2017-03-05 13:42:31 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:42:31 +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/ Completed 302 Found in 3ms (ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2017-03-05 14:42:31 +0100 Processing by PagesController#dashboard as HTML Rendering pages/dashboard.html.erb within layouts/application Rendered pages/dashboard.html.erb within layouts/application (0.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "UPzsIyqMtQOQ0EOWkR3qBw"], ["LIMIT", 1]] Completed 200 OK in 13ms (Views: 10.1ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$S8zGzFwCNkK0sIa6P5cNEuCB0xfbLb13urqFsN8CncrS8onXop7nG"], ["remember_token", "ofuTh4LNyacuhImfKkyK0g"], ["created_at", 2017-03-05 13:42:32 UTC], ["updated_at", 2017-03-05 13:42:32 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:42:32 UTC], ["updated_at", 2017-03-05 13:42:32 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:42:32 UTC], ["updated_at", 2017-03-05 13:42:32 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  (1.7ms) rollback transaction  (0.7ms) begin transaction  (0.3ms) 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$ySw3sdNk53uLBNci5FzvDujun1f.ApMVLLl6q/o8nImg7IoEDzmGu"], ["remember_token", "X43SXqlzXIwBopln8VL-BQ"], ["created_at", 2017-03-05 13:42:32 UTC], ["updated_at", 2017-03-05 13:42:32 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:32 UTC], ["updated_at", 2017-03-05 13:42:32 UTC]]  (0.2ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:42:32 UTC], ["updated_at", 2017-03-05 13:42:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:42:32 UTC], ["updated_at", 2017-03-05 13:42:32 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", 2017-03-05 13:42:32 UTC], ["updated_at", 2017-03-05 13:42:32 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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$SrzMLRsDlIGNhz2k6ZNc7ObH8hSF/2USXNB3a/6snhKtPGqMa5gNC"], ["remember_token", "7r3XnqlkzMjRo34IKjCZkw"], ["created_at", 2017-03-05 13:42:32 UTC], ["updated_at", 2017-03-05 13:42:32 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:42:32 UTC], ["updated_at", 2017-03-05 13:42:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["create_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2017-03-05 13:42:32 UTC], ["updated_at", 2017-03-05 13:42:32 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.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) 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$tDPX2AGzAymXSpxT00ukB.0IZ/Heo1PW2RVmy6C/eZ2PLYEuYxya."], ["remember_token", "nMsFohxSeLzW5KiYMoN_cA"], ["created_at", 2017-03-05 13:42:32 UTC], ["updated_at", 2017-03-05 13:42:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (25.3ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:42:32 UTC], ["updated_at", 2017-03-05 13:42:32 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:42:32 UTC], ["updated_at", 2017-03-05 13:42:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:42:32 UTC], ["updated_at", 2017-03-05 13:42:32 UTC]] SQL (0.4ms) 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", 2017-03-05 13:42:32 UTC], ["updated_at", 2017-03-05 13:42:32 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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]] Adeia::Permission Load (0.2ms) 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.8ms) rollback transaction ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) 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.1ms) begin transaction Adeia::Element Load (8.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:19 UTC], ["updated_at", 2017-03-05 13:43:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:43:19 UTC], ["updated_at", 2017-03-05 13:43:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.6ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:19 UTC], ["updated_at", 2017-03-05 13:43:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (19.8ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "Adeia::Group"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43:20 UTC]] SQL (2.8ms) 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", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43:20 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "2Rm1-2rBJytqlerEldO2Jw"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Wed, 05 Apr 2017], ["created_at", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT ? [["token", "2Rm1-2rBJytqlerEldO2Jw"], ["LIMIT", 1]]  (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"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."create_right" = ? [["id", 1], ["name", "admin/articles"], ["create_right", true]]  (0.2ms) 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.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (7.5ms) 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.5ms) 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.2ms) rollback transaction  (0.3ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43:20 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43:20 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1002], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43:20 UTC]] SQL (2.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", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43:20 UTC]] Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.2ms) 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.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.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" = 'User' AND "adeia_permissions"."owner_id" = 1002 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (7.1ms) rollback transaction  (0.3ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43:20 UTC]]  (0.1ms) 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.2ms) SAVEPOINT active_record_1 SQL (61.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43:20 UTC]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1003], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43: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", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43:20 UTC]] Adeia::Action Load (0.3ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (1.8ms) 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.2ms) 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.5ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1003 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]]  (27.5ms) rollback transaction  (0.2ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43: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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43:20 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1004], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43: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", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43:20 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.3ms) 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", 1004]]  (0.3ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1004 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]]  (2.3ms) rollback transaction  (0.3ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43:20 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (15.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43:20 UTC]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1005], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43: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", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43:20 UTC]] Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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.4ms) 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"]]  (1.8ms) rollback transaction  (0.3ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43:20 UTC]]  (0.3ms) 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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43:20 UTC]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1006], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43: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", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43:20 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1006]] 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" = 1006 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (1.5ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (2.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43:20 UTC]]  (1.4ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43:20 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1007], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43:20 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", 2017-03-05 13:43:20 UTC], ["updated_at", 2017-03-05 13:43:20 UTC]] Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.2ms) 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.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", 1007]]  (0.3ms) 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.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" = 1007 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (21.6ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.2ms) 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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1008], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]] SQL (0.5ms) 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", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (3.6ms) 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", 1008]]  (0.3ms) 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 (1.4ms) 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"]]  (11.3ms) rollback transaction  (0.8ms) begin transaction Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.1ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1009], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["destroy_right", true], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]] SQL (0.4ms) 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", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]] Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1009]]  (0.4ms) 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.8ms) 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"]]  (1.2ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (3.3ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_id", 1010], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]] SQL (0.4ms) 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", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1010]]  (0.3ms) 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.2ms) 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.8ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 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.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1011], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]] SQL (0.4ms) 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", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "dTzpijnBehozHFRf41VztQ"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Wed, 05 Apr 2017], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT ? [["token", "dTzpijnBehozHFRf41VztQ"], ["LIMIT", 1]]  (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"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."update_right" = ? [["id", 1], ["name", "admin/articles"], ["update_right", true]]  (0.2ms) 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.2ms) 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.2ms) 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.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.2ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1012], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 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", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.7ms) 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.5ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1012 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.9ms) rollback transaction  (0.2ms) begin transaction Adeia::Element Load (0.3ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.1ms) 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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1013], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]] SQL (0.9ms) 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", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.2ms) 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.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", 1013]]  (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" = 1013 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 1013 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.8ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.2ms) 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.3ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1016], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 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", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]] Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1016 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.1ms) 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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1018], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 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", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1018]]  (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" = 1018 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1018 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (1.3ms) rollback transaction  (0.2ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 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.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1020], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1020], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 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", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1020]]  (0.3ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1020 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.9ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 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.9ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1022], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1021], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 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", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1022]]  (0.3ms) 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.4ms) 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.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "adeia_group_users" ("adeia_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_group_id", 1], ["user_id", 1023], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.1ms) 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "Adeia::Group"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 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", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1023]] 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" = '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.9ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 500 Internal Server Error in 39ms (ActiveRecord: 0.7ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$g/4t46F3TktseT1QC5tpaeq.7s7Im10prbIyyBW411kPvzpyVY9eu"], ["remember_token", "TrWL9t1pOkjznW_35gDykg"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "TrWL9t1pOkjznW_35gDykg"], ["LIMIT", 1]] Completed 200 OK in 3ms (ActiveRecord: 0.2ms)  (0.9ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$tJaDM1o/AvLDv9Lqvd4h/OiyB6duZnM9Ace2wIR99MuSY3LHTPU.W"], ["remember_token", "t5oXF0zTNtLr1LM0WwlWoQ"], ["created_at", 2017-03-05 13:43:21 UTC], ["updated_at", 2017-03-05 13:43:21 UTC]]  (0.6ms) 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", "t5oXF0zTNtLr1LM0WwlWoQ"], ["LIMIT", 1]] Completed 200 OK in 1ms (ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.1ms) 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.1ms) 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 26ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (19.7ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] User Load (0.5ms) 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 78ms (ActiveRecord: 20.3ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$ijPkIHtaBnupAStqpm9lQetH5z4q9PavO702n52LN3pXlnmnJv2M."], ["remember_token", "P42u-E9LY-TbSM9lsO3B3g"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (2.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.1ms) 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 (3.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]] SQL (0.4ms) 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", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", "P42u-E9LY-TbSM9lsO3B3g"], ["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.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" = 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.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" = '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 6ms (ActiveRecord: 0.6ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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$KN6JbtkJK9QTnb0lw2w1KebE1Y29PQMvTZZjk2j6s09fSIdvK4zWe"], ["remember_token", "j3N8dJqcyWrrPYuJnFlQuw"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.3ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (2.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]] SQL (0.7ms) 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", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.1ms) SAVEPOINT active_record_1 SQL (2.0ms) INSERT INTO "articles" ("id", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 100], ["title", "Rspec tests"], ["content", "Lorem ipsum"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "j3N8dJqcyWrrPYuJnFlQuw"], ["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::Token Load (0.1ms) 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 35ms (ActiveRecord: 3.6ms)  (2.0ms) rollback transaction  (0.3ms) 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$utf7OtcQWd8coETIL9XyyerPR57FvnIJDCW3M4DP.H8SddHe2Q/rG"], ["remember_token", "7T1VxJMDWF4Dy1YkWsi6aA"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "letters"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (6.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "letters"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 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", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.1ms) 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", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "7T1VxJMDWF4Dy1YkWsi6aA"], ["LIMIT", 1]] Adeia::Group Load (0.2ms) 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", "letters"]] Adeia::Token Load (0.1ms) 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", "letters"]] Completed 200 OK in 23ms (ActiveRecord: 0.9ms)  (0.9ms) rollback transaction  (0.1ms) 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$1N5NzsRDbyoI1h27a91T/eUPeCbPnGzjhaK0eOQQWi7obBO/VxXjK"], ["remember_token", "I7XVytuMQ8fHc2FauPNi9A"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (1.5ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 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", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]] Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" ("id", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 100], ["title", "Rspec tests"], ["content", "Lorem ipsum"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "I7XVytuMQ8fHc2FauPNi9A"], ["LIMIT", 1]] Adeia::Group Load (0.3ms) 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", "admin/articles"]] Adeia::Token Load (0.1ms) 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", "admin/articles"]] Completed 200 OK in 58ms (ActiveRecord: 1.4ms)  (1.0ms) rollback transaction  (0.1ms) 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.1ms) 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 3ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) 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]] User Load (0.1ms) 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 16ms (ActiveRecord: 0.6ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (4.9ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$/ZNYg1DxlcRWDJR.AIPhXuSnTPTdLmX4pBLlhQofmFIfqXQU5Nf/G"], ["remember_token", "GEvDO_j_aUMD3jlk5yH4FA"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.2ms) 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.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.2ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]] SQL (46.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", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]] Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "GEvDO_j_aUMD3jlk5yH4FA"], ["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", 1]]  (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" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Token Load (0.1ms) 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 28ms (ActiveRecord: 1.1ms)  (0.9ms) rollback transaction  (0.3ms) begin transaction Adeia::Element Load (0.3ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.1ms) 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (5.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.3ms) 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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (5.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:22 UTC], ["updated_at", 2017-03-05 13:43:22 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (147.0ms) rollback transaction  (0.2ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.1ms) SAVEPOINT active_record_1 SQL (2.0ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.3ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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$J3WifvkKaHFiG9Piq3X18.iD9cYC6UPXebL0aMC6AkZmTf2Xsee6G"], ["remember_token", "3dG2xKYdbzfvF40H2hNu0g"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]] SQL (0.4ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]] Adeia::Action Load (0.1ms) 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#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "3dG2xKYdbzfvF40H2hNu0g"], ["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.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"]] Adeia::Token Load (0.2ms) 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.5ms) Completed 200 OK in 73ms (Views: 48.4ms | ActiveRecord: 0.9ms)  (1.0ms) rollback transaction  (0.1ms) 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$tJLfqgWHtpjLf9/2sebop.wFWn1xJ3DT8rkCeSBa3ii0v1v3J4UdO"], ["remember_token", "l3VWVT1UmmsEyn0McyPOLg"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 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.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "l3VWVT1UmmsEyn0McyPOLg"], ["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"]] Adeia::Token Load (0.1ms) 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 14ms (Views: 0.7ms | ActiveRecord: 0.7ms)  (0.9ms) rollback transaction  (0.1ms) 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$nnKpBTWXUHFGNT1cUoa01e4qgRWrb3YiXVHlAq5B3rNsTZwd4vPdC"], ["remember_token", "vl7qh401S5vloX7lJn-ShA"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) 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.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]] SQL (2.4ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]] Adeia::Action Load (0.3ms) 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.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$Ef/40CxZKPEit/eTJAkVdu8.2MhKrIW22NdZIj/mfY5JwdwD01ZSq"], ["remember_token", "dpIiRT-ck7oDX_7k2ZSieA"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (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 "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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 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.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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 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.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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (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", "vl7qh401S5vloX7lJn-ShA"], ["LIMIT", 1]] Adeia::Token Load (0.4ms) 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"]] Adeia::Token Load (0.1ms) 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 15ms (Views: 0.7ms | ActiveRecord: 0.9ms)  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$Pz7FMbfx.EjMUQysFkF9kuu3ePnlgMoJpxU8hujdB.ITz.UCRlJNe"], ["remember_token", "mHDGBv5FCd5VUztKST3ZaQ"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) 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 (5.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.6ms) 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (4.0ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$lw.Vi/f/AAXG70fW832Pq.ygwpFaHnFdj5T7Ta5gP/wJIlfcKUlCu"], ["remember_token", "PrLd1bc52nCFN4EFYF0NLw"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (10.8ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "mHDGBv5FCd5VUztKST3ZaQ"], ["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"]] 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 12ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$pp4I3eUc0r1on3.94YomDeszbAhh9WOJpOgcbw4RSpXx/iV/d0MUq"], ["remember_token", "nOrUQbNR_BEGUXVFRTvVUg"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$0GqWbr0U/hQw5tFrchsNZekGLD/cxZwWugE9y.hOYM1EFpM7vF6E."], ["remember_token", "doUpez5nx6idAeBvCiXSgA"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.5ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.3ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 11], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 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", 2], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]] Adeia::Action Load (0.1ms) 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#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "nOrUQbNR_BEGUXVFRTvVUg"], ["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.3ms) 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.1ms) 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 16ms (Views: 0.6ms | ActiveRecord: 0.9ms)  (2.5ms) rollback transaction  (0.5ms) begin transaction  (0.7ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$U8jZBaf6vIU54jPS1likkemBLwvsqKC..csLss3eHArVPNiN37hci"], ["remember_token", "6_HdcWbT50Nu36Q8RpgMFg"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$ksBaJWf.hwa6DzCgcqsDzunjl3tDdHO1txGHGIpotRhPdAORWArAG"], ["remember_token", "X6HxIhjtUL2Ee-gDDS-j9A"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (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.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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 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.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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 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 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 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.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 2], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]] SQL (0.5ms) 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.3ms) 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", "6_HdcWbT50Nu36Q8RpgMFg"], ["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"]] 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 7ms (Views: 0.6ms | ActiveRecord: 0.4ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$OipLJs02Ufc0Tt21vYviNeH9aHY513O586Q9PkSE1yAraT2YTcGQC"], ["remember_token", "Bk6mNmUzY38LVlLF-0_33g"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$m3naTfwO5xAgHKFkjzZCZuM.A38sIHBZ2Q/Yf/3oh77.jfbxNNaSy"], ["remember_token", "9m4N2l87o7iCy-sexW908g"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (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", 2], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) 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", "Bk6mNmUzY38LVlLF-0_33g"], ["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.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.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" = '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.4ms) Completed 200 OK in 16ms (Views: 1.5ms | ActiveRecord: 0.5ms)  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.4ms) 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$U5.d2N89iURu1ZZ04IqT6euJHEkAT4AjrW37bdi5A0uiNbH8TEfge"], ["remember_token", "fo-RJqfhFxc5jImeO15L0w"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (2.2ms) 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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) 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]]  (3.7ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 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", 2017-03-05 13:43:23 UTC], ["updated_at", 2017-03-05 13:43:23 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.4ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$sR5fbn8JROY6Dt6wSza00ODD0t7Lu.CAI9wmDViPqYpkM6SW9CIOm"], ["remember_token", "bCiwy436romLqUd1J1_apA"], ["created_at", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) 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", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#show as HTML Parameters: {"id"=>"1"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "fo-RJqfhFxc5jImeO15L0w"], ["LIMIT", 1]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["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"]] Rendering articles/show.html.erb within layouts/application Rendered articles/show.html.erb within layouts/application (0.1ms) Completed 200 OK in 72ms (Views: 61.0ms | ActiveRecord: 0.8ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$cn0WTrgQM.B/FDVryqWD9.iNaZzKf4fdcOIsShxKXH5bHxbC0S8A2"], ["remember_token", "B_iN3qoEE7Ei8SjFjHVO6Q"], ["created_at", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]]  (0.2ms) 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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]]  (0.1ms) 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 (1.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 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", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "B_iN3qoEE7Ei8SjFjHVO6Q"], ["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.4ms) 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.5ms) Completed 200 OK in 19ms (Views: 4.6ms | ActiveRecord: 0.5ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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$s5lGf9aMvZJf20wdWRbpAehLkktNBbf35C2lxgyh1bZuzUHgvmBtS"], ["remember_token", "5auv2l673A1Fxr5COdlopA"], ["created_at", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]]  (0.2ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 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", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$5Iv4YZnuYlYPAuM56ak56ucslDWeqY8BVR71xbQlNhUGo0HPk.2Gm"], ["remember_token", "Eatnvtf3C_bNos4R-DLblA"], ["created_at", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.6ms) 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", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]]  (4.7ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "5auv2l673A1Fxr5COdlopA"], ["LIMIT", 1]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["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.2ms) 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.3ms) 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.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"."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.5ms) Completed 200 OK in 20ms (Views: 2.4ms | ActiveRecord: 1.1ms)  (1.1ms) rollback transaction  (0.1ms) 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$34JFHS.KhYJm291ACjX4sebj/2FO2yQGR7ZttRqX7X3TEZ68EEBM6"], ["remember_token", "6iRZqlzg22T2HNF90gnTXQ"], ["created_at", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]]  (0.1ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]]  (0.1ms) 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]] SQL (0.4ms) 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", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]] Adeia::Action Load (0.3ms) 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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$lhrJNQBGfxOYcXT8ny2w/.wPtyoRAKb5kwyFHJdWNuX0YfG7jaNHG"], ["remember_token", "qm1DFSfVZx8ETsVBm-HGUQ"], ["created_at", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 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", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "6iRZqlzg22T2HNF90gnTXQ"], ["LIMIT", 1]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["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"."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.0ms) Completed 200 OK in 10ms (Views: 0.6ms | ActiveRecord: 0.8ms)  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$qj/a3CC8LYs0vtD1775L6eiJMkTNNNBp/fL3m57BQjekR50Um2DKi"], ["remember_token", "Mr23I3xR12VcprCCsyT4vA"], ["created_at", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 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", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]] Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/articles" for 127.0.0.1 at 2017-03-05 14:43:24 +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]] Redirected to http://www.example.com/login Completed 302 Found in 14ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:43:24 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (20.4ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 326ms (Views: 322.8ms | ActiveRecord: 0.3ms) Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:43:24 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "session"=>{"name"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]] Redirected to http://www.example.com/articles Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET "/articles" for 127.0.0.1 at 2017-03-05 14:43:24 +0100 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "Mr23I3xR12VcprCCsyT4vA"], ["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 (1.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.3ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (34.4ms) Completed 200 OK in 80ms (Views: 52.5ms | ActiveRecord: 1.9ms)  (1.0ms) rollback transaction  (0.2ms) begin transaction Started GET "/comments" for 127.0.0.1 at 2017-03-05 14:43:24 +0100 Processing by CommentsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Redirected to http://www.example.com/login Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:43:24 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (3.9ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 35ms (Views: 31.4ms | ActiveRecord: 0.4ms)  (0.2ms) 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$UiiTSmIt5YpdCPSf0Jh0xu4j4OhHopxTnhWDDtTHQUNl3PcCiaqKu"], ["remember_token", "l4V3OQwOwwNQKHBvbEW6Ig"], ["created_at", 2017-03-05 13:43:24 UTC], ["updated_at", 2017-03-05 13:43:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:43:25 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "session"=>{"name"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"} User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]] Redirected to http://www.example.com/comments Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Started GET "/comments" for 127.0.0.1 at 2017-03-05 14:43:25 +0100 Processing by CommentsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "l4V3OQwOwwNQKHBvbEW6Ig"], ["LIMIT", 1]] Rendering text template Rendered text template (0.0ms) Completed 200 OK in 13ms (Views: 4.4ms | ActiveRecord: 0.1ms)  (0.7ms) rollback transaction  (0.3ms) begin transaction Started GET "/comments/new" for 127.0.0.1 at 2017-03-05 14:43:25 +0100 Processing by CommentsController#new as HTML Rendering comments/new.html.erb within layouts/application Rendered comments/new.html.erb within layouts/application (1.7ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 62ms (Views: 22.8ms | ActiveRecord: 0.3ms) Started POST "/comments" for 127.0.0.1 at 2017-03-05 14:43:25 +0100 Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "commit"=>"Create a comment"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Redirected to http://www.example.com/login Completed 302 Found in 10ms (ActiveRecord: 0.4ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:43:25 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (2.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 27ms (Views: 24.0ms | ActiveRecord: 0.2ms)  (0.3ms) 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$zptlq9JPZkQ9ns70K7rPYOtroRGJFe04XMDYU46YTZRorspmmnb3W"], ["remember_token", "Js0-4g6tHoFxwQbRYhfV3Q"], ["created_at", 2017-03-05 13:43:25 UTC], ["updated_at", 2017-03-05 13:43:25 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:43:25 +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/ Completed 302 Found in 5ms (ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2017-03-05 14:43:25 +0100 Processing by PagesController#dashboard as HTML Rendering pages/dashboard.html.erb within layouts/application Rendered pages/dashboard.html.erb within layouts/application (9.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "Js0-4g6tHoFxwQbRYhfV3Q"], ["LIMIT", 1]] Completed 200 OK in 35ms (Views: 29.0ms | ActiveRecord: 0.2ms)  (0.9ms) rollback transaction  (0.1ms) 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$Yenj65yQSBh/C7fd4TMfMOSykpfXDykeMHXNR23CMH7vyKhn5D4fS"], ["remember_token", "o0uum2pSchmVhzMJsO2tFw"], ["created_at", 2017-03-05 13:43:25 UTC], ["updated_at", 2017-03-05 13:43:25 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 (3.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:43:25 UTC], ["updated_at", 2017-03-05 13:43:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:43:25 UTC], ["updated_at", 2017-03-05 13:43:25 UTC]] Adeia::Action Load (0.4ms) 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.2ms) RELEASE SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.3ms) 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$CfQWDYW0mkOal/4wP/g3ZODWYumgvUdsCccPYLxL2hxZ3xA0o.lj2"], ["remember_token", "tQsEnE9NU1DosOe4w5sa1w"], ["created_at", 2017-03-05 13:43:25 UTC], ["updated_at", 2017-03-05 13:43:25 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:25 UTC], ["updated_at", 2017-03-05 13:43:25 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:43:25 UTC], ["updated_at", 2017-03-05 13:43:25 UTC]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:43:25 UTC], ["updated_at", 2017-03-05 13:43:25 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", 2017-03-05 13:43:25 UTC], ["updated_at", 2017-03-05 13:43:25 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  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$yccdzgoZA9.J/wrAGEzxo.CxIQPW5WeLWjmzEjJTTvlTiezQ0bYaG"], ["remember_token", "ot8uFQHKQCAQ6mOX8pVwuw"], ["created_at", 2017-03-05 13:43:25 UTC], ["updated_at", 2017-03-05 13:43:25 UTC]]  (0.1ms) 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 (2.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:43:25 UTC], ["updated_at", 2017-03-05 13:43:25 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["create_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2017-03-05 13:43:25 UTC], ["updated_at", 2017-03-05 13:43:25 UTC]] Adeia::Action Load (0.2ms) 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]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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$ELuNtz0XFiVfsHidt1pjoe7Ipdc6om.jqvi9BfIkg1lE0S1f8UTkS"], ["remember_token", "f6lRrcqeOyLDjZnAYpjeKQ"], ["created_at", 2017-03-05 13:43:25 UTC], ["updated_at", 2017-03-05 13:43:25 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.1ms) SAVEPOINT active_record_1 SQL (4.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:25 UTC], ["updated_at", 2017-03-05 13:43:25 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:43:25 UTC], ["updated_at", 2017-03-05 13:43:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:43:25 UTC], ["updated_at", 2017-03-05 13:43:25 UTC]] SQL (1.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", 2017-03-05 13:43:25 UTC], ["updated_at", 2017-03-05 13:43:25 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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]] Adeia::Permission Load (0.4ms) 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]]  (1.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.6ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (1.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "Adeia::Group"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]] SQL (1.4ms) 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", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "bIAToOFlPZ4O1xXtvEOdpg"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Wed, 05 Apr 2017], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT ? [["token", "bIAToOFlPZ4O1xXtvEOdpg"], ["LIMIT", 1]]  (0.3ms) 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.3ms) 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.2ms) 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.3ms) 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.9ms) rollback transaction  (0.1ms) 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.7ms) 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.4ms) 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.1ms) rollback transaction  (0.2ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]]  (0.1ms) 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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1002], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]] SQL (0.5ms) 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", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1002 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (2.2ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1003], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 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", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (9.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]]  (0.1ms) 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 (4.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1004], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 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", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1004]]  (0.4ms) 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.4ms) 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"]]  (2.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (12.0ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1005], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 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", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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.4ms) 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"]]  (34.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (6.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (1.4ms) SAVEPOINT active_record_1 SQL (2.0ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]]  (0.1ms) 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 (3.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1006], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]] SQL (0.4ms) 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", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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 (1.2ms) 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.4ms) 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"]]  (12.5ms) rollback transaction  (0.4ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1007], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]] SQL (1.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", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1007]]  (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" = 1007 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1007 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (2.2ms) rollback transaction  (0.3ms) begin transaction Adeia::Element Load (1.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]]  (0.1ms) 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.4ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1008], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]] SQL (0.4ms) 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", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1008]]  (0.3ms) 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.4ms) 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"]]  (2.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]]  (0.1ms) 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 (1.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1009], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["destroy_right", true], ["created_at", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]] SQL (1.0ms) 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", 2017-03-05 13:43:59 UTC], ["updated_at", 2017-03-05 13:43:59 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1009]]  (0.3ms) 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.4ms) 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"]]  (14.2ms) rollback transaction  (0.3ms) begin transaction Adeia::Element Load (4.9ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (2.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_id", 1010], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]] SQL (1.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", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.2ms) 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.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", 1010]]  (5.7ms) 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 (3.4ms) 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"]]  (7.6ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) 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 (1.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1011], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]] SQL (0.7ms) 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", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", "-bq2Oku4h3qas2Qzu-R0rg"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Wed, 05 Apr 2017], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT ? [["token", "-bq2Oku4h3qas2Qzu-R0rg"], ["LIMIT", 1]]  (0.3ms) 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.3ms) 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.2ms) 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.2ms) 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]]  (4.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1012], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]] SQL (0.9ms) 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", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]] Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.3ms) 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.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", 1012]]  (0.6ms) 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.5ms) 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.7ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1013], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]] SQL (0.9ms) 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", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1013]]  (0.3ms) 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.6ms) 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"]]  (2.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.2ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1016], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]] SQL (0.4ms) 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", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1016]]  (0.3ms) 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.8ms) 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"]]  (6.3ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1018], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 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", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.2ms) 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.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", 1018]]  (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" = 1018 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.4ms) 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"]]  (2.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) 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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1020], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1020], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 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", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1020]]  (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" = 1020 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1020 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.3ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1022], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1021], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 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", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1022]]  (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" = 1022 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1022 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "adeia_group_users" ("adeia_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_group_id", 1], ["user_id", 1023], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "Adeia::Group"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 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", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1023]] Adeia::Permission Load (0.5ms) 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"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (1.5ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 500 Internal Server Error in 23ms (ActiveRecord: 1.5ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$fHUTvo0BjYqLwwm8LXuVl.eaH8w/NX0fMDhvOOuZ0TUJaBhUarDTS"], ["remember_token", "HGVjqoSBTvmmc15xq4DcAg"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "HGVjqoSBTvmmc15xq4DcAg"], ["LIMIT", 1]] Completed 200 OK in 2ms (ActiveRecord: 0.2ms)  (0.6ms) rollback transaction  (0.1ms) 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.1ms) rollback transaction  (0.3ms) 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$b2hDZ05IY4g3yhXVOL/qyODtZfGhvGYUqikrXW5FnUtiuH4ftK9hm"], ["remember_token", "HOOxCGUyVloG_Ud15Z5UEQ"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "HOOxCGUyVloG_Ud15Z5UEQ"], ["LIMIT", 1]] Completed 200 OK in 2ms (ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.1ms) 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 12ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] User Load (0.1ms) 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 6ms (ActiveRecord: 0.4ms)  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$NlDg5cflyC6yJzZrgoCpsubVHFYLbpkG0RIAzV1WzPHCH2vpv5hfu"], ["remember_token", "pqZtfj_1MiOEcEAMIGGM0g"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 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", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 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", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", "pqZtfj_1MiOEcEAMIGGM0g"], ["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.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" = 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.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" = '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 5ms (ActiveRecord: 0.5ms)  (2.1ms) rollback transaction  (0.1ms) 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$7BBfzgi16yS75IR6hx1G2.1MHQG/hOcl981VzhSCdM81o4k.OA4bi"], ["remember_token", "M53TSaj7nlI1kXyFJHRK2g"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 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 (1.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.3ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 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", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.1ms) SAVEPOINT active_record_1 SQL (11.2ms) INSERT INTO "articles" ("id", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 100], ["title", "Rspec tests"], ["content", "Lorem ipsum"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "M53TSaj7nlI1kXyFJHRK2g"], ["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.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 33ms (ActiveRecord: 12.0ms)  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) 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$mKTgxsQRcbJxHPc1.owCHOuXmR5O928VfENNXEm/Z6m9LJ02a/V7m"], ["remember_token", "wMaVRfvj93JtJcH38P16uw"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "letters"], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "letters"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.3ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 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", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.1ms) 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", 2017-03-05 13:44:00 UTC], ["updated_at", 2017-03-05 13:44:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "wMaVRfvj93JtJcH38P16uw"], ["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", "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.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", "letters"]] Completed 200 OK in 7ms (ActiveRecord: 0.5ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$BJmohy4fQ9dRx9QwLoqZx.7V4R7eQBrhtHcWOgjCkcicPO2VvYsFW"], ["remember_token", "Ud6mK9khnQ7vwUJQ5IhuRA"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) 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.6ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.1ms) 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "Ud6mK9khnQ7vwUJQ5IhuRA"], ["LIMIT", 1]] Adeia::Group Load (0.6ms) 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.4ms) 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.1ms) 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", "admin/articles"]] Completed 200 OK in 25ms (ActiveRecord: 1.7ms)  (2.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] User Load (0.1ms) 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 9ms (ActiveRecord: 1.0ms)  (0.1ms) rollback transaction  (0.1ms) 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]] User Load (0.2ms) 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 12ms (ActiveRecord: 0.7ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$0GUzysKYUULEDZC0sPuE8OiX4WdMD3J//SCvBmANTHAnfb9134EB."], ["remember_token", "9dXF6BxQQ-ZLsxZztN2knQ"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", "9dXF6BxQQ-ZLsxZztN2knQ"], ["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.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" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] 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" = '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 7ms (ActiveRecord: 0.5ms)  (1.0ms) rollback transaction  (0.2ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.3ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.5ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.4ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) 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.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) 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$nLUMHukbcCm4Ej5rWgeNR.YLJiXRp98c4e/c0S45nx0i6ukNsYu3C"], ["remember_token", "ualrztWmIgkR8O0dlUvLGg"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) 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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "ualrztWmIgkR8O0dlUvLGg"], ["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.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" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] 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" = '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.1ms) 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.6ms) Completed 200 OK in 34ms (Views: 17.8ms | ActiveRecord: 0.8ms)  (9.9ms) rollback transaction  (3.6ms) begin transaction  (0.2ms) 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$3b64Yw90xKlH7bFKhMe5c.r.199bAzN1yjGR7fbICRBD5ijMIJbE2"], ["remember_token", "PHT4nQHL60EFHKipc_1M-A"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (6.6ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]] SQL (0.7ms) 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]] Adeia::Action Load (0.1ms) 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#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "PHT4nQHL60EFHKipc_1M-A"], ["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"]] Adeia::Token Load (0.1ms) 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 13ms (Views: 0.7ms | ActiveRecord: 0.7ms)  (0.9ms) rollback transaction  (0.1ms) 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$vHbD3I/LOj3T7OnnNgpaBuOvf5PIgkraKd0cP6udsRUMxV.TXWgtC"], ["remember_token", "1zsx8HRFERSyNXf_90Peug"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]] Adeia::Action Load (0.3ms) 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.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$v5kvkwwmKDOGQX4kOjKmaOY8qselJNwM5Xa3ZQkgjqZQ6SC0/zX86"], ["remember_token", "of8eBXdj0I3YZbKAbUQn5w"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (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", "1zsx8HRFERSyNXf_90Peug"], ["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"]] 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 7ms (Views: 0.7ms | ActiveRecord: 0.3ms)  (1.2ms) rollback transaction  (0.1ms) 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$vOBF1O0drHCfYmPv/5BON.FcDCV7DgmQ3Q.g0LhZSWWZ7h1KSKUjy"], ["remember_token", "SKCrQkSKdIyxa9c148uakA"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]] SQL (0.5ms) 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 1], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 1], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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$VDIuWPOGzHpXfyFTphtrtuDcF.aOplzQNB6QdwGk6ipaJZr5yJoXi"], ["remember_token", "IwgHEJtQzQcTRlCki2fGyw"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (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 "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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (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 "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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.2ms) 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", 2], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.3ms) 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", "SKCrQkSKdIyxa9c148uakA"], ["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"]] 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 8ms (Views: 0.7ms | ActiveRecord: 0.4ms)  (1.3ms) 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$4.CbOA3kFELfvhhIK9jWQu9j0nXD8okqtpGFRw/OpRFO.ib4PPPJy"], ["remember_token", "J6lPZ9x22pXigtvygr1aPQ"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 1], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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$JP70RQEgkF8hQERbpRi.Petek9ZD/6mesMCbI7bkfSEHUCjnn3cIG"], ["remember_token", "hcBn5jADoSWlK83UCAOlwQ"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (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 "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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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.5ms) 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) 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]] 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.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 11], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 2], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]] Adeia::Action Load (0.5ms) 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#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "J6lPZ9x22pXigtvygr1aPQ"], ["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.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"]] 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 8ms (Views: 0.8ms | ActiveRecord: 0.4ms)  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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$M/mNRL8M0otEhz9NidxGbOrdEFryKhBwTujn8HZfMrFU50y4GLeES"], ["remember_token", "_k7mH6LC0b-5f7Esq1tJmQ"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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.1ms) SAVEPOINT active_record_1 SQL (2.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$uBxsP.TBh217mc6Srj.w0.qlO9aU2Uvl94nDpzJdmZw4fk/dWwXju"], ["remember_token", "JR-QY52UEvKrPPHeajyQqg"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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.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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (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.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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) 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.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.3ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 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.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 2], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 2], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]] Adeia::Action Load (0.1ms) 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#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "_k7mH6LC0b-5f7Esq1tJmQ"], ["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 (5.6ms) 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.1ms) 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.1ms) Completed 200 OK in 17ms (Views: 3.4ms | ActiveRecord: 5.9ms)  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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$tmISUXfDEuyG07i5kq8AH.lphV/UFhtgOD8O0wnyp4xVV.qTkJcem"], ["remember_token", "f3i8OtPMmaVVjYoQCjMzwA"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.3ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$x9h.8I.0TjMo9nbAUNGTdOA5pPA8tdSF9X/QkZhUedkJqYcaczDL6"], ["remember_token", "iaOJawiUHFk1wUdHMT1ETA"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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", 2], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) 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", "f3i8OtPMmaVVjYoQCjMzwA"], ["LIMIT", 1]] Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["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"]] Rendering articles/show.html.erb within layouts/application Rendered articles/show.html.erb within layouts/application (0.6ms) Completed 200 OK in 16ms (Views: 1.9ms | ActiveRecord: 0.8ms)  (0.9ms) rollback transaction  (0.1ms) 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$2yyGMZwfhVJrr6QY6MsV3OjU3dwSpbffkHDRgfdck0qiaNyJ6Db.."], ["remember_token", "YgXqbWtBhfcDECWI37wSIQ"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 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.2ms) SAVEPOINT active_record_1 SQL (22.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:01 UTC], ["updated_at", 2017-03-05 13:44:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (3.1ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 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", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 UTC]] Adeia::Action Load (0.1ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$2aUfXO0VpT0yShjDi57wJuJsUk.ySnlzHtxrzHOO9hstbXsDF0dzm"], ["remember_token", "Uj8MpxG_JfgLv6kCRawpiA"], ["created_at", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "YgXqbWtBhfcDECWI37wSIQ"], ["LIMIT", 1]] Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["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.3ms) 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"]] Rendering articles/show.html.erb within layouts/application Rendered articles/show.html.erb within layouts/application (0.0ms) Completed 200 OK in 9ms (Views: 0.6ms | ActiveRecord: 0.9ms)  (2.4ms) rollback transaction  (0.1ms) 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$8ji.qbD6EbJylxXVRq5b5.cRXJfS8UEgtgbAkNWJhs/k7jjG1uTUa"], ["remember_token", "ND8fNyrry3TKRT1ASUmK5Q"], ["created_at", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 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", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 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", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "ND8fNyrry3TKRT1ASUmK5Q"], ["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]] 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"."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.4ms) Completed 200 OK in 18ms (Views: 1.7ms | ActiveRecord: 0.5ms)  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$Q.4hRUNYEw.DSP92QB/zfuFt/ZwmmJN0faFepiAI0ChyCst5yQKEC"], ["remember_token", "YR-pk0o1mPQ6130KG7haLA"], ["created_at", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 UTC]]  (0.2ms) 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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 UTC]]  (0.1ms) 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", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 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", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$xfh8N9oqWhrGSxZGNLvw..GPMaow0dqxYNAb29sfZNJ/a4vPBKG2."], ["remember_token", "mvGgU1b0Fc5vT7WbBlxGZQ"], ["created_at", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 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", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "YR-pk0o1mPQ6130KG7haLA"], ["LIMIT", 1]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["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.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" = 1 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "articles"]] 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" = '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 27ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$u.EDUDRQ1yNNzT1YxNnqHu3VM/Azqkgy9uCbcGtsz9AcESRw/GwlS"], ["remember_token", "8TXbneMNPYvmZon3EoAtFg"], ["created_at", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (1.4ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 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", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 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", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$XjJKy/Ee2nzy/aQLyvskceocFAh.z24Al70BoGTPU8PJii1j/yAPm"], ["remember_token", "aEjivd5bUg0OvXGUm7rk0g"], ["created_at", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", 2], ["created_at", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "8TXbneMNPYvmZon3EoAtFg"], ["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.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.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 6ms (Views: 0.8ms | ActiveRecord: 0.3ms)  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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$48mLEX6tJUICs9jToJVjGeaXK4WgIfhZR6NqgB7bY9zWj1KelSUGa"], ["remember_token", "1cIFVNu3NEq1dnB0LCnR7Q"], ["created_at", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 UTC]] SQL (0.4ms) 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", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 UTC]] Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/articles" for 127.0.0.1 at 2017-03-05 14:44:02 +0100 Processing by ArticlesController#index as HTML User Load (0.2ms) 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]] Redirected to http://www.example.com/login Completed 302 Found in 10ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:44:02 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (19.0ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 412ms (Views: 408.8ms | ActiveRecord: 0.3ms) Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:44:02 +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 7ms (ActiveRecord: 0.1ms) Started GET "/articles" for 127.0.0.1 at 2017-03-05 14:44:02 +0100 Processing by ArticlesController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "1cIFVNu3NEq1dnB0LCnR7Q"], ["LIMIT", 1]] Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.2ms) 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.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" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] 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" = '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.2ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (13.2ms) Completed 200 OK in 40ms (Views: 28.1ms | ActiveRecord: 1.3ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments" for 127.0.0.1 at 2017-03-05 14:44:02 +0100 Processing by CommentsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Redirected to http://www.example.com/login Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:44:02 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (2.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 17ms (Views: 15.6ms | ActiveRecord: 0.1ms)  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$KVpzpiCo6nbLWe2XqlTTVu1H3/9lonH2ienH.ogCb1axG71GRcMLS"], ["remember_token", "YQtn2IdFoiFpyjL3Kbbhcg"], ["created_at", 2017-03-05 13:44:02 UTC], ["updated_at", 2017-03-05 13:44:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:44:02 +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 4ms (ActiveRecord: 0.1ms) Started GET "/comments" for 127.0.0.1 at 2017-03-05 14:44:02 +0100 Processing by CommentsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "YQtn2IdFoiFpyjL3Kbbhcg"], ["LIMIT", 1]] Rendering text template Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments/new" for 127.0.0.1 at 2017-03-05 14:44:03 +0100 Processing by CommentsController#new as HTML Rendering comments/new.html.erb within layouts/application Rendered comments/new.html.erb within layouts/application (3.9ms) User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 34ms (Views: 25.7ms | ActiveRecord: 0.6ms) Started POST "/comments" for 127.0.0.1 at 2017-03-05 14:44:03 +0100 Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "commit"=>"Create a comment"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Redirected to http://www.example.com/login Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:44:03 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (5.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 27ms (Views: 24.8ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$fjreUI6mzcZUCfQ6HFTeUOKn.mPaIHs4vjQnboW5JSUbchXg1S/Bi"], ["remember_token", "xBwCcMfBWerBBAHLo2lWng"], ["created_at", 2017-03-05 13:44:03 UTC], ["updated_at", 2017-03-05 13:44:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:44:03 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "session"=>{"name"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]] Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2017-03-05 14:44:03 +0100 Processing by PagesController#dashboard as HTML Rendering pages/dashboard.html.erb within layouts/application Rendered pages/dashboard.html.erb within layouts/application (0.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "xBwCcMfBWerBBAHLo2lWng"], ["LIMIT", 1]] Completed 200 OK in 37ms (Views: 31.5ms | ActiveRecord: 0.1ms)  (32.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$fp61mTYqINwYihbaKjNMU.UJk1s74iN9opoo9KUC3S7jA8Z1eEVqa"], ["remember_token", "-w3iBWFvwhFTbET_6pnfrg"], ["created_at", 2017-03-05 13:44:03 UTC], ["updated_at", 2017-03-05 13:44:03 UTC]]  (0.1ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:44:03 UTC], ["updated_at", 2017-03-05 13:44:03 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:44:03 UTC], ["updated_at", 2017-03-05 13:44:03 UTC]] Adeia::Action Load (0.2ms) 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.8ms) rollback transaction  (0.1ms) 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$/9b3HKlahBXoBuR2XCpEfO6goo.yCF0/NalEK8bpEWlmIAVwk4E1S"], ["remember_token", "YQ-Pct_R-L04nmbT8GNcNA"], ["created_at", 2017-03-05 13:44:03 UTC], ["updated_at", 2017-03-05 13:44:03 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:03 UTC], ["updated_at", 2017-03-05 13:44:03 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:44:03 UTC], ["updated_at", 2017-03-05 13:44:03 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:44:03 UTC], ["updated_at", 2017-03-05 13:44:03 UTC]] SQL (0.8ms) 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", 2017-03-05 13:44:03 UTC], ["updated_at", 2017-03-05 13:44:03 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) 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$hUnIsvR7vtZKT8UhioPkTO54FnIeOHOZ2BIIy0TH6EbDitPDqtClW"], ["remember_token", "VLzqqMcoJoCq8YOo77VABA"], ["created_at", 2017-03-05 13:44:03 UTC], ["updated_at", 2017-03-05 13:44:03 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:44:03 UTC], ["updated_at", 2017-03-05 13:44:03 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["create_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2017-03-05 13:44:03 UTC], ["updated_at", 2017-03-05 13:44:03 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.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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$CfEzdcsGPU0UAneQ.BZH4uEB2GQ62HV6Nx8CA96azsGznK73CNXzm"], ["remember_token", "jT1gt3iCWJ9hi_pP8kkr2w"], ["created_at", 2017-03-05 13:44:03 UTC], ["updated_at", 2017-03-05 13:44:03 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:44:03 UTC], ["updated_at", 2017-03-05 13:44:03 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "adeia/permissions"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:44:03 UTC], ["updated_at", 2017-03-05 13:44:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:44:03 UTC], ["updated_at", 2017-03-05 13:44:03 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", 2017-03-05 13:44:03 UTC], ["updated_at", 2017-03-05 13:44:03 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 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.2ms) 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.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.8ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:47:03 UTC], ["updated_at", 2017-03-05 13:47:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.8ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:47:03 UTC], ["updated_at", 2017-03-05 13:47:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:03 UTC], ["updated_at", 2017-03-05 13:47:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.0ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "Adeia::Group"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:47:03 UTC], ["updated_at", 2017-03-05 13:47:03 UTC]] SQL (1.5ms) 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", 2017-03-05 13:47:03 UTC], ["updated_at", 2017-03-05 13:47:03 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "9Lg5hNhj1Vn7s43VlLZ99A"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Wed, 05 Apr 2017], ["created_at", 2017-03-05 13:47:03 UTC], ["updated_at", 2017-03-05 13:47:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT ? [["token", "9Lg5hNhj1Vn7s43VlLZ99A"], ["LIMIT", 1]]  (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"."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]]  (1.1ms) rollback transaction  (0.1ms) 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.7ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1001 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:47:03 UTC], ["updated_at", 2017-03-05 13:47:03 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:03 UTC], ["updated_at", 2017-03-05 13:47:03 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1002], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2017-03-05 13:47:03 UTC], ["updated_at", 2017-03-05 13:47:03 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", 2017-03-05 13:47:03 UTC], ["updated_at", 2017-03-05 13:47:03 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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.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" = 'User' AND "adeia_permissions"."owner_id" = 1002 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (2.2ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:47:03 UTC], ["updated_at", 2017-03-05 13:47:03 UTC]]  (0.1ms) 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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:03 UTC], ["updated_at", 2017-03-05 13:47:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1003], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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" = 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"]]  (2.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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1004], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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 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", 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"]]  (1.6ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.2ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1005], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]] SQL (0.4ms) 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1005 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (0.8ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1006], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]] Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1006]] 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" = 1006 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (2.4ms) rollback transaction  (0.3ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1007], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1007]]  (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" = 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.8ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1008], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1008]]  (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" = 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"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1009], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["destroy_right", true], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1009]]  (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" = 1009 AND "adeia_permissions"."destroy_right" = ? AND "adeia_elements"."name" = ? [["destroy_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1009 AND "adeia_permissions"."destroy_right" = ? AND "adeia_elements"."name" = ? [["destroy_right", true], ["name", "admin/articles"]]  (0.9ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_id", 1010], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]] Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1010]]  (0.3ms) 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.3ms) 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"]]  (1.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1011], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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.1ms) 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", "AdrLMHoKAyWXJF8U8_gnqA"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Wed, 05 Apr 2017], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", "AdrLMHoKAyWXJF8U8_gnqA"], ["LIMIT", 1]]  (0.3ms) 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.2ms) 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.2ms) 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.3ms) 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]]  (1.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) 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.9ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1012], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1012 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.8ms) rollback transaction  (0.2ms) 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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.3ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1013], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1013]]  (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" = 1013 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1013 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (1.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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.2ms) 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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1016], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1016 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (1.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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1018], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.3ms) 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", 1018]]  (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" = 1018 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1018 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (1.2ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) 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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1020], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1020], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]] SQL (0.4ms) 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) 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", 1020]]  (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" = 1020 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.5ms) 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.9ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1022], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1021], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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 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.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" = 1022 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1022 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.9ms) rollback transaction  (0.1ms) 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "adeia_group_users" ("adeia_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_group_id", 1], ["user_id", 1023], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "Adeia::Group"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1023]] 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" = '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"]]  (1.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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$0ZhFEAB7T3upSIlvOuxuGOGDJ4lUz/BLOMziEQ0LNXYIefa51FBVS"], ["remember_token", "T_9M4IbF9viXm8wmMVPGhw"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "T_9M4IbF9viXm8wmMVPGhw"], ["LIMIT", 1]] Completed 200 OK in 1ms (ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) 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$J0m1JlkBFNd6WmoNazNwvu0LQppjETVTiLhB9DjlF2yF7YIyP3a7S"], ["remember_token", "Z9_ZOwEIO4CL8dWVnPHAqg"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", "Z9_ZOwEIO4CL8dWVnPHAqg"], ["LIMIT", 1]] Completed 200 OK in 1ms (ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) 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 9ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) 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.2ms)  (0.1ms) rollback transaction  (0.1ms) 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$IRFFLQLBJGlUU.dW.9Y5ke1WMsvP9./hfLfxwFFVqc5htK7uTWVGK"], ["remember_token", "SAfgIT0piRHKY_nBQ1l13w"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.3ms) 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", "SAfgIT0piRHKY_nBQ1l13w"], ["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.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" = 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.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" = '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 5ms (ActiveRecord: 0.6ms)  (1.0ms) rollback transaction  (0.1ms) 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$pdBFjjadPoQWARl7LTXYOOSgyKW5CE9vKQiekXbTbTH/ARY5mkSq6"], ["remember_token", "Sp9RBTmfVwV37bves07UHQ"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]] Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "articles" ("id", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 100], ["title", "Rspec tests"], ["content", "Lorem ipsum"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "Sp9RBTmfVwV37bves07UHQ"], ["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::Token Load (0.1ms) 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 17ms (ActiveRecord: 2.0ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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$PmkJkzoxqzYx4teXeIuXTO2cUeoZa.E0.sgx1I0xraoXKd85wyPVq"], ["remember_token", "QtCJ4erNPcfsJkLE2-ZtCQ"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", "letters"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "letters"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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 AnonymousController#index as HTML  (0.1ms) 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "QtCJ4erNPcfsJkLE2-ZtCQ"], ["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", "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 6ms (ActiveRecord: 0.6ms)  (1.2ms) rollback transaction  (0.1ms) 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$pici/E5ElA2YlbQzRwS6veqGx4Dw3F6nHrvka/A/z6OAJH15WgOqm"], ["remember_token", "DJc-M0hP1EOuFEr65xz76A"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.1ms) 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "DJc-M0hP1EOuFEr65xz76A"], ["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", "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.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", "admin/articles"]] Completed 200 OK in 8ms (ActiveRecord: 0.6ms)  (0.9ms) rollback transaction  (0.1ms) 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.1ms) 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 3ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] User Load (0.1ms) 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 5ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) 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$L18VDLqN7nqnjPXZMH9V7.0c8XCnuAjVMwSfMT8uTnyHs5Be1ii0W"], ["remember_token", "pAEpAIsgpkQtlRlNMn8qsg"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", "pAEpAIsgpkQtlRlNMn8qsg"], ["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::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 5ms (ActiveRecord: 0.3ms)  (1.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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) 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.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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$uRJL52IG.Y8a9d5izcAmWeks83LX9Hp6IxCX9pfAXJOWtwFGcT8jO"], ["remember_token", "wTzkjaWmWCnWx1ka_ulXeQ"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", "wTzkjaWmWCnWx1ka_ulXeQ"], ["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.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.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.3ms) Completed 200 OK in 35ms (Views: 22.0ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) 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$USMupvJnpEYpTZVz22lMK.EZqRXOP6wFsBUXrXNQfGJGxh.hSP1CK"], ["remember_token", "Hl_NGOZh2FrVGBaViAShBg"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", "Hl_NGOZh2FrVGBaViAShBg"], ["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.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"]] Adeia::Token Load (0.1ms) 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 9ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (1.1ms) rollback transaction  (0.1ms) 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$QC5.wCUw2W8C.xUk5fUdoOIGLtanDtk0uJDzAHMNTJu9GCwyRNGGi"], ["remember_token", "_BuvGJmqDglGKKkZ6zDfmQ"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]] Adeia::Action Load (0.1ms) 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.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$drQWddoN5.XnVValXlj7TObDWPhlk1SVURYkeK0abXcgn2AMf.ni2"], ["remember_token", "ZQSyDVH7l8JbJRNLvElpgQ"], ["created_at", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:47:04 UTC], ["updated_at", 2017-03-05 13:47:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (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 "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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (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.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", 2], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) 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", "_BuvGJmqDglGKKkZ6zDfmQ"], ["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"]] 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 8ms (Views: 0.7ms | ActiveRecord: 0.5ms)  (1.2ms) rollback transaction  (0.1ms) 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$cG8sPEUBqHRoTMfqcddql.ZUvq/MbKhtxalBrWOnP8zobFWNrn5Qm"], ["remember_token", "wN1XsWKJ19YH5Y-WWbp7WA"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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.1ms) 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$uK2szfENkuKbALadk8Y4k.t3sTE3Ld8F.MJDBPlRiMr681sO9Dy1K"], ["remember_token", "ZzW4viNG7lZ4Tb9Fh2YJSQ"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (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 "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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (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 "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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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.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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) 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", "wN1XsWKJ19YH5Y-WWbp7WA"], ["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.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 6ms (Views: 0.6ms | ActiveRecord: 0.3ms)  (0.9ms) 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$fRWunF0ZsZcdri6FCTfvbOqXC4RxCNFwdMMATT9Y1ZUXTq1lS/6Hy"], ["remember_token", "hn1QgVRnnuGZBgKINPv35g"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 1], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 1], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$xGhKlFc9IyWwGsgvbwiHzumivVfvlL6eKXlHIQPQ/bXbL0P9wz6i."], ["remember_token", "jFK6PzFXh8sebFxBC5n30w"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 11], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]] Adeia::Action Load (0.1ms) 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#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "hn1QgVRnnuGZBgKINPv35g"], ["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.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.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 6ms (Views: 0.6ms | ActiveRecord: 0.3ms)  (1.4ms) rollback transaction  (0.1ms) 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$fkmkXUA70V7BY/Gc4zHYJelw5EO4teqGa1z2rm.GWkwE/rtsPZfNu"], ["remember_token", "zVsQxX8di4CDhP70OvzX5g"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$bFmO1XO28w1WFG9p/OqmkuEao2Zy.m5WbBqDtUPFlxgiXdesrDhvK"], ["remember_token", "X1iuUl0JV2Wbu-q1Bjvm3A"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (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 "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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (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 "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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 2], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "zVsQxX8di4CDhP70OvzX5g"], ["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"]] 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 7ms (Views: 0.6ms | ActiveRecord: 0.4ms)  (1.2ms) rollback transaction  (0.1ms) 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$RnIw4p/7dEISCv8CipiytO6VPUKq6XbAZq4QzmQAda2Qxn1IPpInK"], ["remember_token", "yMJQ8YnjjB12ETN17aIiew"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$lgu3hXXCy8NtUHCK5EvedOkDBoMdDIB564NEq5nkmACAnP7Y7ON/W"], ["remember_token", "nI6532pIbPBkOaNg-RsC2g"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", "yMJQ8YnjjB12ETN17aIiew"], ["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.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"]] Rendering articles/show.html.erb within layouts/application Rendered articles/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 15ms (Views: 2.6ms | ActiveRecord: 0.5ms)  (1.0ms) rollback transaction  (0.1ms) 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$aYqfpH18gSMB/h48JJzeAuAcPIjB2yHaFEuko6bCSEKfH09r0Tcq2"], ["remember_token", "pNOVr5XLlCTCPjyWmMTxZw"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]] SQL (0.4ms) 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$CL/UENeZld/wqBRZUEioM.iF6dcfbW7O3YNRNXp5PnBe.NTnqi/8W"], ["remember_token", "vbLtFDxRW-wmlCDiY6hkdA"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", "pNOVr5XLlCTCPjyWmMTxZw"], ["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"."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 5ms (Views: 0.5ms | ActiveRecord: 0.3ms)  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$H0ynJl3dJA1svuL.8WE6P.FTmD.7bvY6W0PgyRLzreYgvWGGP5QOm"], ["remember_token", "Acgd7qEaovtiuMW3SueHNQ"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "Acgd7qEaovtiuMW3SueHNQ"], ["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]] Adeia::Permission Load (0.5ms) 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.3ms) Completed 200 OK in 12ms (Views: 1.5ms | ActiveRecord: 0.7ms)  (1.1ms) rollback transaction  (0.1ms) 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$C09vvLh.ezVwEuzC35Jso.LQ8DNhUPgZ8ObpntU3ZDAQ31jxlghky"], ["remember_token", "9yRLhDuzs2s4AAYpAniHMg"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$Wkyu1eGk8XGHM9nfoLn4S.syeAKk0eRbgFsb8nojmD23C.MAHZZ2W"], ["remember_token", "OUyvz5XJpz8F0t-gifUFtA"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "9yRLhDuzs2s4AAYpAniHMg"], ["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.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" = 1 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "articles"]] 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" = '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.4ms) Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 0.5ms)  (1.0ms) rollback transaction  (0.1ms) 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$zDeBuQi6xCIH0EWCg8uWy.eWU4HLif6YzZLGIYx2A5xEpL/5FdqW2"], ["remember_token", "CF-5GXCkP-juB_wR5XBMcg"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$PUzwtgz7muJrbqlgIn5qbOBTqT55cmxbtGirzgbLgoGPpI1hHaqmi"], ["remember_token", "Ds632sGjFHBMCzjAkE7r6Q"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "CF-5GXCkP-juB_wR5XBMcg"], ["LIMIT", 1]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["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"."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.1ms) Completed 200 OK in 10ms (Views: 3.0ms | ActiveRecord: 0.4ms)  (2.9ms) rollback transaction  (0.1ms) 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$GkMIJF/bCaCm7efHOotWe.lqxkmsDuYUkwwh30cNY8MgLRg53lhBi"], ["remember_token", "gtPSgkH2pFdXiYZoyqqAyA"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (1.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 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", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/articles" for 127.0.0.1 at 2017-03-05 14:47:05 +0100 Processing by ArticlesController#index as HTML User Load (0.2ms) 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]] Redirected to http://www.example.com/login Completed 302 Found in 9ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:47:05 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (33.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 379ms (Views: 376.9ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:47:05 +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 3ms (ActiveRecord: 0.1ms) Started GET "/articles" for 127.0.0.1 at 2017-03-05 14:47:05 +0100 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "gtPSgkH2pFdXiYZoyqqAyA"], ["LIMIT", 1]] Adeia::Token Load (0.2ms) 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.3ms) 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.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"]] 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.2ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (14.9ms) Completed 200 OK in 32ms (Views: 22.6ms | ActiveRecord: 1.1ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments" for 127.0.0.1 at 2017-03-05 14:47:05 +0100 Processing by CommentsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Redirected to http://www.example.com/login Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:47:05 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (2.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 17ms (Views: 13.3ms | ActiveRecord: 0.1ms)  (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$pDZF1RC3mFkOMRUZG5JOK.zQTTE70wjpBA5D.xamkz8WRa3MFXLPe"], ["remember_token", "lX_KBO30A3ZsOsUnhMSQwg"], ["created_at", 2017-03-05 13:47:05 UTC], ["updated_at", 2017-03-05 13:47:05 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:47:05 +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 3ms (ActiveRecord: 0.1ms) Started GET "/comments" for 127.0.0.1 at 2017-03-05 14:47:05 +0100 Processing by CommentsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "lX_KBO30A3ZsOsUnhMSQwg"], ["LIMIT", 1]] Rendering text template Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments/new" for 127.0.0.1 at 2017-03-05 14:47:05 +0100 Processing by CommentsController#new as HTML Rendering comments/new.html.erb within layouts/application Rendered comments/new.html.erb within layouts/application (0.8ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 16ms (Views: 10.7ms | ActiveRecord: 0.3ms) Started POST "/comments" for 127.0.0.1 at 2017-03-05 14:47:06 +0100 Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "commit"=>"Create a comment"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Redirected to http://www.example.com/login Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:47:06 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (1.9ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 21ms (Views: 18.6ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 SQL (2.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$G..g2xjgGQJOJoMMVYHou.40NdzCI7rVoJ83Ude1gLo/Gcju0SNsm"], ["remember_token", "0sPCJMz7JhI1oMpDoIiWQw"], ["created_at", 2017-03-05 13:47:06 UTC], ["updated_at", 2017-03-05 13:47:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:47:06 +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/ Completed 302 Found in 3ms (ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2017-03-05 14:47:06 +0100 Processing by PagesController#dashboard as HTML Rendering pages/dashboard.html.erb within layouts/application Rendered pages/dashboard.html.erb within layouts/application (0.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "0sPCJMz7JhI1oMpDoIiWQw"], ["LIMIT", 1]] Completed 200 OK in 13ms (Views: 8.8ms | ActiveRecord: 0.1ms)  (0.4ms) 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$lrZkCyuIX0g5xh/JvBZpEupQpJOxP6soIzXePXZey6l.C9STBOyXq"], ["remember_token", "1Q50Y69MhE6zCIBycttErw"], ["created_at", 2017-03-05 13:47:06 UTC], ["updated_at", 2017-03-05 13:47:06 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:47:06 UTC], ["updated_at", 2017-03-05 13:47:06 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:47:06 UTC], ["updated_at", 2017-03-05 13:47:06 UTC]] Adeia::Action Load (0.2ms) 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.1ms) RELEASE SAVEPOINT active_record_1  (1.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$KDp6mCb3AyOxhmSZVadMIOA06/LSBewb23cMD.ehcLxbdKGBKPE7u"], ["remember_token", "1r7fp5peYyb2T4YXpxUekw"], ["created_at", 2017-03-05 13:47:06 UTC], ["updated_at", 2017-03-05 13:47:06 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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:06 UTC], ["updated_at", 2017-03-05 13:47:06 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:47:06 UTC], ["updated_at", 2017-03-05 13:47:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:47:06 UTC], ["updated_at", 2017-03-05 13:47:06 UTC]] SQL (0.4ms) 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", 2017-03-05 13:47:06 UTC], ["updated_at", 2017-03-05 13:47:06 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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$jK0PCdIshvhMxW/YBXxUVu.5N/1igBLCBUWKsAnBc4qhFZJ6tcNna"], ["remember_token", "RI5zJGhu4f6yx5u15naZ2w"], ["created_at", 2017-03-05 13:47:06 UTC], ["updated_at", 2017-03-05 13:47:06 UTC]]  (0.1ms) 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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:47:06 UTC], ["updated_at", 2017-03-05 13:47:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["create_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2017-03-05 13:47:06 UTC], ["updated_at", 2017-03-05 13:47:06 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.9ms) rollback transaction  (0.1ms) 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$xL84f3a7h0OcfgSFWZtrsuSkIxt.rleliBO2uR5/qgMsVYvv/Co/y"], ["remember_token", "x3cxW3bAKP-CrBDlOY8_VA"], ["created_at", 2017-03-05 13:47:06 UTC], ["updated_at", 2017-03-05 13:47:06 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:47:06 UTC], ["updated_at", 2017-03-05 13:47:06 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", 2017-03-05 13:47:06 UTC], ["updated_at", 2017-03-05 13:47:06 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:47:06 UTC], ["updated_at", 2017-03-05 13:47:06 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", 2017-03-05 13:47:06 UTC], ["updated_at", 2017-03-05 13:47:06 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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]] Adeia::Permission Load (0.2ms) 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.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.8ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "Adeia::Group"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]] SQL (1.5ms) 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "PnFGSj9_2Uyca3E4dHaABg"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Wed, 05 Apr 2017], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT ? [["token", "PnFGSj9_2Uyca3E4dHaABg"], ["LIMIT", 1]]  (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"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."create_right" = ? [["id", 1], ["name", "admin/articles"], ["create_right", true]]  (0.2ms) 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]]  (1.0ms) rollback transaction  (0.1ms) 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.7ms) 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.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" = 1001 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1002], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1002 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (0.9ms) rollback transaction  (0.3ms) 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1003], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1003]]  (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" = 1003 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1003 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]]  (0.9ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1004], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1004]]  (0.3ms) 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.4ms) 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"]]  (2.2ms) rollback transaction  (0.2ms) 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1005], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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 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", 1005]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1005 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (1.0ms) rollback transaction  (0.2ms) begin transaction Adeia::Element Load (0.3ms) 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1006], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1006]] 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" = 1006 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (1.2ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1007], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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 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.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" = 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.9ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1008], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 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"]]  (1.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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1009], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["destroy_right", true], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1009 AND "adeia_permissions"."destroy_right" = ? AND "adeia_elements"."name" = ? [["destroy_right", true], ["name", "admin/articles"]]  (1.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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_id", 1010], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1010]]  (0.2ms) 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.2ms) 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"]]  (1.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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1011], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]] Adeia::Action Load (0.1ms) 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 "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "qoNYhFyGGXyW8B63vLlulg"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Wed, 05 Apr 2017], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT ? [["token", "qoNYhFyGGXyW8B63vLlulg"], ["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.2ms) 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]]  (1.2ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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.8ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1012], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]] SQL (0.4ms) 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.5ms) 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"]]  (3.7ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1013], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1013]]  (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" = 1013 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] Adeia::Permission Load (0.4ms) 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.8ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1016], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1016]]  (0.3ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1016 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1018], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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" = 1018 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1018 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (1.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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1020], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1020], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.3ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1020 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.9ms) 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1022], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1021], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1022]]  (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" = 1022 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1022 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adeia_group_users" ("adeia_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_group_id", 1], ["user_id", 1023], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "Adeia::Group"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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" = '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"]]  (1.4ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 500 Internal Server Error in 19ms (ActiveRecord: 0.7ms)  (0.1ms) rollback transaction  (0.1ms) 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$.7PUq6z6ioVRUM1F39KAg.6mUS/C5N31AFXTdKvTcSnrhgyh8L2Fy"], ["remember_token", "w29bYitQNuFI4RWgFrbv-Q"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", "w29bYitQNuFI4RWgFrbv-Q"], ["LIMIT", 1]] Completed 200 OK in 2ms (ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.1ms) 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.1ms) rollback transaction  (0.1ms) 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$7IXKRGdZiSFm.22dRYhi5OsgaDBjPbtlRZxCScPxrANNMngih7c6e"], ["remember_token", "_JsPb89nr_He6w0Cs-QhLQ"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) 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", "_JsPb89nr_He6w0Cs-QhLQ"], ["LIMIT", 1]] Completed 200 OK in 1ms (ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] User Load (0.1ms) 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 14ms (ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.1ms) 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.2ms)  (0.1ms) rollback transaction  (0.1ms) 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$Sh2eujN31NRCHEYOGDMO0OpI5BDfos2NIKQJfWKFJ/hvGnYedeyvW"], ["remember_token", "0hB6eEA145S43UvkSof_5g"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", "0hB6eEA145S43UvkSof_5g"], ["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.3ms) 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.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] 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" = '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 7ms (ActiveRecord: 0.7ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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$IU8KUMEAcdbj1BjgY3mMEONK9fM0Wwbex0qUQchHdzG5t8tw0tSxa"], ["remember_token", "jlU8UfxId4BTMDPuZIxvxA"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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 AnonymousController#index as HTML  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "articles" ("id", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 100], ["title", "Rspec tests"], ["content", "Lorem ipsum"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "jlU8UfxId4BTMDPuZIxvxA"], ["LIMIT", 1]] Adeia::Group Load (0.2ms) 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.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" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] Adeia::Token Load (0.2ms) 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 27ms (ActiveRecord: 2.7ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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$mOqFIokpLcEJdUXVmKYNAO7O2/6/rh/IxN.VvGJZm2bgFSXp..oKG"], ["remember_token", "hDDzoJad_l3-URd8lxQfnA"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "letters"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "letters"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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 AnonymousController#index as HTML  (0.1ms) 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "hDDzoJad_l3-URd8lxQfnA"], ["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", "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.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", "letters"]] Completed 200 OK in 8ms (ActiveRecord: 0.7ms)  (1.0ms) rollback transaction  (0.3ms) 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$6x0sWbuYbdoZwPcTeB1f1OuxdJ0BcW1u5q9MFq2JYB/IxIFk785Bu"], ["remember_token", "yePcimHyD_4Xdv5WndVIwQ"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.1ms) 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "yePcimHyD_4Xdv5WndVIwQ"], ["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", "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.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", "admin/articles"]] Completed 200 OK in 6ms (ActiveRecord: 0.7ms)  (1.0ms) rollback transaction  (0.1ms) 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 3ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) 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.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$pYirIB0p0Raxp4mj9lxKJO.6yB9QPLYqKVZ6wPL3UZjAbrLNmHuO2"], ["remember_token", "MbrChHdOfJjZSjFj62z5rQ"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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 AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "MbrChHdOfJjZSjFj62z5rQ"], ["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::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 5ms (ActiveRecord: 0.3ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", 2017-03-05 13:48:06 UTC], ["updated_at", 2017-03-05 13:48:06 UTC]]  (0.1ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) 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$7XimSI1IQuPcq/rmxoesh.3w3QYPfObzPyfCxlK7U2Mt2EFMUHj26"], ["remember_token", "ADyGEEXNNUyz5w5DE0h3CA"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "ADyGEEXNNUyz5w5DE0h3CA"], ["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.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.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.4ms) Completed 200 OK in 29ms (Views: 18.5ms | ActiveRecord: 0.4ms)  (1.2ms) rollback transaction  (0.1ms) 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$OhoY8Mu3Nlkifnc.1ltBP.qI.8WG/jjNSYzOv9pP.9RUjv6ta5hCe"], ["remember_token", "yk2FP_6bw5zqgT18eVwIhg"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "yk2FP_6bw5zqgT18eVwIhg"], ["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"]] 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.1ms) Completed 200 OK in 10ms (Views: 1.1ms | ActiveRecord: 0.6ms)  (1.0ms) rollback transaction  (0.1ms) 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$olYkPPXtGk5ars0ShPUAnuUTNv18hhm7WO.GNIoAnJo0J2UBHE2h2"], ["remember_token", "LvMSI3tPouB8wyBSI2FjTg"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$2fFOGZDU2iDfwcNG0KCyN.z8H.WZLznS4ZQIAzrEthnmgG13Y1EAy"], ["remember_token", "bgfVzIbh482pV58VOZjGPQ"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (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", 2], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (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", "LvMSI3tPouB8wyBSI2FjTg"], ["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.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"]] Adeia::Token Load (0.1ms) 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.1ms) Completed 200 OK in 8ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (1.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$VCfEID/NAx3JQ84d24jQgua5dr0AoJ7tTLDATXUAPmwR3UXzSrz1G"], ["remember_token", "Oxxd2Bhqbbtsb57xV5wHsA"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]] Adeia::Action Load (0.1ms) 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 1], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 1], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 1], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$8g2JUE9s08N.Fbdu2lsWQOKYN7yginFYc1gQBar..37aflyekloj."], ["remember_token", "CvUmA2jk1f0EDyckZonSDw"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (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 "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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (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", "Oxxd2Bhqbbtsb57xV5wHsA"], ["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.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.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.1ms) 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.1ms) Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 0.4ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (1.2ms) 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$Tt5nBaHQKfvrdr8cc.jkRexfI/TtSUbX7uKQr4jlG1I9X4IQvaCMe"], ["remember_token", "s0QQIOxo-j1X18UXMYxZ1g"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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  (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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 1], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 1], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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$ea9A.2/z.lBoVJ.hQq7YROidQ7GecKQH3frtdPVkeV8dNdxLukSzG"], ["remember_token", "aeXe_D8oXfzdj5LcvIvZUQ"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) 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]] 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.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 11], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "s0QQIOxo-j1X18UXMYxZ1g"], ["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.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.1ms) 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.1ms) Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 0.4ms) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (1.2ms) rollback transaction  (0.1ms) 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$iWHVv90eq7puNV2UTNjspukbc60rKLOpI3h3zqRaWJAHxJRgDNz06"], ["remember_token", "Ucc-Q8ptnBLmqA_VrqwDAw"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$gumnjKr3G6Vq967iCJR4TeSxkDKaYUZxVcsLBuWeZoLX7GCMY4YKO"], ["remember_token", "-724RxUW5vZ7tCOZTIpK1A"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (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 "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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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.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", 2], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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]] 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.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 2], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "Ucc-Q8ptnBLmqA_VrqwDAw"], ["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.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.1ms) Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.3ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (1.4ms) rollback transaction  (0.1ms) 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$jxXbyeLFL3MeXoxKBcAbpettW5cmBGY49wxTTU..4n1ojvnbBMkSa"], ["remember_token", "O6kQFtKrutos3Th1oOz5tA"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]] Adeia::Action Load (0.1ms) 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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$BbQun/xdhfpMLuZYslAjAu16CzlXDvVOUS1GXamB9V/K7D8UTfMc6"], ["remember_token", "fwc7jUwm6U68OvAwYsXCeA"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", "O6kQFtKrutos3Th1oOz5tA"], ["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.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"]] Rendering articles/show.html.erb within layouts/application Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 18ms (Views: 1.3ms | ActiveRecord: 0.5ms)  (1.0ms) rollback transaction  (0.1ms) 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$ChIk05ZCzkvt6tpUrlcF9.ueeHVr97UzTiDM3P5N/Prm0NxPqCTES"], ["remember_token", "m0-1YKaSD2oUjhdU-nt3VA"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]] Adeia::Action Load (0.2ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$N12oXCcxKsYEDEnJrT70m.RqO9kY70O79Or0MZoMbWl9/wKlvf3c2"], ["remember_token", "NGXt28IvKg7zZijJvGcbhQ"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) 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", "m0-1YKaSD2oUjhdU-nt3VA"], ["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.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"]] Rendering articles/show.html.erb within layouts/application Rendered articles/show.html.erb within layouts/application (0.1ms) Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.3ms)  (1.1ms) rollback transaction  (0.1ms) 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$FdKPVbULKYbGJ4GpScL/3e9qD3/H5jkx9E2meMUeMmXMefPMOQNNa"], ["remember_token", "r86X7cOAX3auYsmKGhoXLw"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) 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 (1.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]] SQL (0.5ms) 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "r86X7cOAX3auYsmKGhoXLw"], ["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]] 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"."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.3ms) Completed 200 OK in 10ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) 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$Cu2Q4KdB3t9XwShjxOuGW.uLWP1U.HoosEe0IfHOvhpaEpGORt5i2"], ["remember_token", "wKkrJzSD1V172GgHFE_K5A"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]] Adeia::Action Load (0.1ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$DK24.LX9h9j9F1Gmup8/QOCjirnOG1QMj9.6gCKwxb899eHZeIoky"], ["remember_token", "MfK4pQpPHWJjLp89ZArFAQ"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "wKkrJzSD1V172GgHFE_K5A"], ["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.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.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" = 1 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "articles"]] 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" = '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.3ms) Completed 200 OK in 14ms (Views: 1.0ms | ActiveRecord: 0.7ms)  (1.0ms) rollback transaction  (0.1ms) 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$JrlfaOAYD2cK560VQFJbSet1EVusV9qL8qrDF83k8QMg0SRWp4Mr2"], ["remember_token", "xcrwB-CGv4PD2dtqYujSfg"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) 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.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]] Adeia::Action Load (0.1ms) 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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$c6UiC0cRxjHgGw1Bmqj4qubiVQlJTEkCsrNlucJ8viU.bEvQsnz0C"], ["remember_token", "jJDIeGTZ0OJ_S78WJlpZjA"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "xcrwB-CGv4PD2dtqYujSfg"], ["LIMIT", 1]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["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.2ms) 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.1ms) Completed 200 OK in 11ms (Views: 0.8ms | ActiveRecord: 0.6ms)  (1.0ms) rollback transaction  (0.1ms) 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$l2x9rXxQ9588I4gsjbcbVukN3stIz0h4W7BxMxrmXXkMRIlvaQi5S"], ["remember_token", "a-M_9oWdGyXD4NGW4EjljQ"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 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", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/articles" for 127.0.0.1 at 2017-03-05 14:48:07 +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]] Redirected to http://www.example.com/login Completed 302 Found in 10ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:48:07 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (17.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 270ms (Views: 266.9ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:48:07 +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 3ms (ActiveRecord: 0.1ms) Started GET "/articles" for 127.0.0.1 at 2017-03-05 14:48:07 +0100 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "a-M_9oWdGyXD4NGW4EjljQ"], ["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.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" = '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.2ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (16.9ms) Completed 200 OK in 34ms (Views: 27.3ms | ActiveRecord: 0.8ms)  (1.1ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments" for 127.0.0.1 at 2017-03-05 14:48:07 +0100 Processing by CommentsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Redirected to http://www.example.com/login Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:48:07 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (2.7ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 15ms (Views: 11.6ms | 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$bPJK5FwJjrei/BYfujG.uO2dMV9i91DvYp/EvR1CB6g2am0MUQisG"], ["remember_token", "7YI1xyvLmJwcBuvic-ztMQ"], ["created_at", 2017-03-05 13:48:07 UTC], ["updated_at", 2017-03-05 13:48:07 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:48:07 +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 3ms (ActiveRecord: 0.1ms) Started GET "/comments" for 127.0.0.1 at 2017-03-05 14:48:07 +0100 Processing by CommentsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "7YI1xyvLmJwcBuvic-ztMQ"], ["LIMIT", 1]] Rendering text template Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments/new" for 127.0.0.1 at 2017-03-05 14:48:07 +0100 Processing by CommentsController#new as HTML Rendering comments/new.html.erb within layouts/application Rendered comments/new.html.erb within layouts/application (1.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 15ms (Views: 12.1ms | ActiveRecord: 0.2ms) Started POST "/comments" for 127.0.0.1 at 2017-03-05 14:48:08 +0100 Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "commit"=>"Create a comment"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Redirected to http://www.example.com/login Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:48:08 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (1.7ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 16ms (Views: 13.8ms | 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$CcyPR8ei9Sxbl0e40209Au4C3okyqTdFiktbjiDPtb6sXQIMWsvYO"], ["remember_token", "X1MJyeKpvC-lT1MuViV7TQ"], ["created_at", 2017-03-05 13:48:08 UTC], ["updated_at", 2017-03-05 13:48:08 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:48:08 +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/ Completed 302 Found in 4ms (ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2017-03-05 14:48:08 +0100 Processing by PagesController#dashboard as HTML Rendering pages/dashboard.html.erb within layouts/application Rendered pages/dashboard.html.erb within layouts/application (0.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "X1MJyeKpvC-lT1MuViV7TQ"], ["LIMIT", 1]] Completed 200 OK in 18ms (Views: 14.7ms | ActiveRecord: 0.1ms)  (0.5ms) 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$gQrSMELq4siPxbWtuCqxteWSDrWZm0V.LSDh6a2aW1bGxTGAIpf26"], ["remember_token", "2lIr4JalXEqSdSHLgkWp5w"], ["created_at", 2017-03-05 13:48:08 UTC], ["updated_at", 2017-03-05 13:48:08 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:48:08 UTC], ["updated_at", 2017-03-05 13:48:08 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:48:08 UTC], ["updated_at", 2017-03-05 13:48:08 UTC]] Adeia::Action Load (0.2ms) 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.8ms) 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$QnD/u3zK0L86luKjyFydheBOKlUirfkZjJbo3QLLaYiDBknuKVwZ6"], ["remember_token", "6hh7saUrT1YooovqTbQw0w"], ["created_at", 2017-03-05 13:48:08 UTC], ["updated_at", 2017-03-05 13:48:08 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:08 UTC], ["updated_at", 2017-03-05 13:48:08 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:48:08 UTC], ["updated_at", 2017-03-05 13:48:08 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:48:08 UTC], ["updated_at", 2017-03-05 13:48:08 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", 2017-03-05 13:48:08 UTC], ["updated_at", 2017-03-05 13:48:08 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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$GTY9NQ2ff7l8ZALs6cc//et9fKNCY/OSaBAoMnYVOlMABC.rdl.Oi"], ["remember_token", "jEahcogbryjDf3CE8tFx9g"], ["created_at", 2017-03-05 13:48:08 UTC], ["updated_at", 2017-03-05 13:48:08 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:48:08 UTC], ["updated_at", 2017-03-05 13:48:08 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["create_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2017-03-05 13:48:08 UTC], ["updated_at", 2017-03-05 13:48:08 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  (1.0ms) rollback transaction  (0.1ms) 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$4IxTCCRw3v0pAv4nzdD/du5R55wQJnu5.haSVuTtpqalxwzHoYE2y"], ["remember_token", "sxndXlq3jtygi7wO1lf1og"], ["created_at", 2017-03-05 13:48:08 UTC], ["updated_at", 2017-03-05 13:48:08 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:48:08 UTC], ["updated_at", 2017-03-05 13:48:08 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:48:08 UTC], ["updated_at", 2017-03-05 13:48:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:48:08 UTC], ["updated_at", 2017-03-05 13:48:08 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", 2017-03-05 13:48:08 UTC], ["updated_at", 2017-03-05 13:48:08 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.2ms) 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]] Adeia::Permission Load (0.2ms) 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]]  (1.0ms) 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.1ms) begin transaction Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.6ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.6ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "Adeia::Group"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]] SQL (1.4ms) 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", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "E-T8tHCspfz-IURfPk8IEQ"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Wed, 05 Apr 2017], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT ? [["token", "E-T8tHCspfz-IURfPk8IEQ"], ["LIMIT", 1]]  (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"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."create_right" = ? [["id", 1], ["name", "admin/articles"], ["create_right", true]]  (0.2ms) 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]]  (1.0ms) rollback transaction  (0.1ms) 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.6ms) 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.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1002], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 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", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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.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" = 1002 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1003], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 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", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1003 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]]  (0.8ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1004], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 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", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.9ms) rollback transaction  (0.2ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1005], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 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", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1005]] 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" = 1005 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (5.4ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1006], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 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", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1006]] 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" = 1006 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (1.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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1007], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 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", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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" = 1007 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1007 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (1.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]]  (0.1ms) 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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1008], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 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", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1008]]  (0.3ms) 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.4ms) 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"]]  (1.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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1009], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["destroy_right", true], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 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", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.8ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_id", 1010], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 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", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 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 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.4ms) 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.2ms) 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.9ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1011], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]] SQL (0.5ms) 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", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", "fRE620Vr1WY4XjU8b1JBQQ"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Wed, 05 Apr 2017], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 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", "fRE620Vr1WY4XjU8b1JBQQ"], ["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.9ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 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.9ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1012], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 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", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1012]]  (0.4ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1012 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]]  (0.1ms) 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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1013], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 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", 2017-03-05 13:56:50 UTC], ["updated_at", 2017-03-05 13:56:50 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1013]]  (0.3ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1013 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (2.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1016], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]] Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) 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", 1016]]  (0.3ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1016 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (3.3ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1018], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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" = 1018 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 1018 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (1.5ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1020], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1020], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1020]]  (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" = 1020 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1020 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (1.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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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.8ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1022], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1021], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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 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"]]  (1.2ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "adeia_group_users" ("adeia_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_group_id", 1], ["user_id", 1023], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.5ms) RELEASE SAVEPOINT active_record_1 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "Adeia::Group"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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 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", 1023]] 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" = '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"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction  (0.1ms) 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$YCfvG1lpUBPM35qIopYRIupJ3Zr6dWTQuKzilrtKvqadZ.Fg0az.K"], ["remember_token", "4aARY8pbGjeueQ3E2VHiRQ"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "4aARY8pbGjeueQ3E2VHiRQ"], ["LIMIT", 1]] Completed 200 OK in 2ms (ActiveRecord: 0.2ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) 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$UAkjeIR3pllTPayzFPpqKORDLjEXnXfrz00RQ53WINxymRI9QXse6"], ["remember_token", "z8i65m_ElQahtM_TZiKI8g"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) 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", "z8i65m_ElQahtM_TZiKI8g"], ["LIMIT", 1]] Completed 200 OK in 1ms (ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.1ms) 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 9ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) 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 3ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) 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$SwgWSUNcGV6R1f.sIyTmsOq0igWOYYvMAwhQy2n28zNQMfafJoXAu"], ["remember_token", "DrjA_qjoUiKZmyQNrXyBcQ"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", "DrjA_qjoUiKZmyQNrXyBcQ"], ["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.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" = 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.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" = '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 5ms (ActiveRecord: 0.6ms)  (1.0ms) rollback transaction  (0.1ms) 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$SmXO267TwA1/f9dzTaB7Ve8UV4oHIpf0Trnx6lpJN/Vxg5BEt.c.6"], ["remember_token", "wXrI_tOQAQrl5arhjP4i_g"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.2ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "articles" ("id", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 100], ["title", "Rspec tests"], ["content", "Lorem ipsum"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "wXrI_tOQAQrl5arhjP4i_g"], ["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::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 18ms (ActiveRecord: 2.2ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.4ms) 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$9He8G/BOqFKlwvKTaUJ06e5qKLpDQ7Ote.37PkjjoupgcHbjyIA4W"], ["remember_token", "T08JxvO7u4dQvYW4UTjj2Q"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "letters"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "T08JxvO7u4dQvYW4UTjj2Q"], ["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", "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.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", "letters"]] Completed 200 OK in 6ms (ActiveRecord: 0.5ms)  (1.3ms) rollback transaction  (0.1ms) 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$cZqOayPHa0Ugn4u53LcCquUsSOTJ/PkqV8dJxIotOdQzkISbPvjeK"], ["remember_token", "N8or7gm8xgiuxLh9_no8OQ"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", "admin/articles"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "N8or7gm8xgiuxLh9_no8OQ"], ["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", "admin/articles"]] Adeia::Token Load (0.1ms) 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", "admin/articles"]] Completed 200 OK in 9ms (ActiveRecord: 0.7ms)  (1.0ms) rollback transaction  (0.1ms) 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.2ms) 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 4ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) 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.2ms)  (0.1ms) rollback transaction  (0.1ms) 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$NFPYoUPijOd8pabEJ3.YAeNMl7Xlk2djm//fmKfYmkTKUvhI4ASs6"], ["remember_token", "xS4ZoGCAXpGK-jco1iSa5A"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) 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.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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 AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "xS4ZoGCAXpGK-jco1iSa5A"], ["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::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 5ms (ActiveRecord: 0.3ms)  (1.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.5ms) begin transaction Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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$DErGjXF86EW5fNFPu.vobeYhthQ8O.pmT/CVtwooEigKjatadNRJC"], ["remember_token", "m88_LYVxFiPLxZhmnVegdw"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "m88_LYVxFiPLxZhmnVegdw"], ["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.3ms) Completed 200 OK in 29ms (Views: 20.4ms | ActiveRecord: 0.3ms)  (3.6ms) rollback transaction  (0.1ms) 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$Zex/Ngkw7ZHEA3zP47PHc.fjf5ZNA7sBSRj6vqcUlesAPEyZlKjbm"], ["remember_token", "8riWXiJy7DAXY7xAP1aAJw"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]] Adeia::Action Load (0.1ms) 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#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "8riWXiJy7DAXY7xAP1aAJw"], ["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.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"]] 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.1ms) Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.4ms)  (3.7ms) rollback transaction  (0.1ms) 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$hvaxTj.Svw1rrLmJqhSx.eRj.PDbO2DfyWahyntogH6rd9cZIc5n2"], ["remember_token", "8xYMId8P1kH18hdzF0BQqg"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]] Adeia::Action Load (0.1ms) 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$s.JYHzETJJkfYBaoEKkVUePhv6tfjQLmZyErTIrR5ugsagMhYPW2G"], ["remember_token", "1swvnvxeIa8UmECreMVw2Q"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (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.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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (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 "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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) 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", "8xYMId8P1kH18hdzF0BQqg"], ["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.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.1ms) 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.1ms) Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.3ms)  (1.3ms) 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$y4SdnEWRokUpSiaZJNo3yun7B5nAIiMnzN9hlRBqSXZ0PUNSWdW9O"], ["remember_token", "2PUL49Pz_GZW5UYNor5V8w"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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  (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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$R/GmBrJ4TQkqf3vwVaeOiOg/hqDQXS2lzVYbgv0ELbpoyPLuftifu"], ["remember_token", "KSGYeLFJFULC0fJTmFM9hw"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (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 "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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (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.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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) 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", "2PUL49Pz_GZW5UYNor5V8w"], ["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"]] 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.1ms) Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.4ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (1.1ms) rollback transaction  (0.1ms) 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$K9lRSHb8FpvHjcs8Bg1RWeuxpa6M6lsG.gzKL7FBjiRwikEZcfeO6"], ["remember_token", "VhCsv0MNEvlHWaoBdUxqgQ"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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  (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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 1], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 1], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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$XQAP.lzy6iXP3nr.xBkLdecvQOntnJy/e7eh2IEogPnQACqOMxPyS"], ["remember_token", "fKSApuyq_9Z3DVt0QXtsMg"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (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.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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (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 "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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (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.4ms) 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) 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]] 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.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 11], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]] Adeia::Action Load (0.1ms) 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#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "VhCsv0MNEvlHWaoBdUxqgQ"], ["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.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.1ms) Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.3ms) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (4.9ms) rollback transaction  (0.1ms) 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$/fe6hXO8EmMpWjDOl/rfW.W/2SfeIibkmgX8TpaOOLPV7Kp89iuju"], ["remember_token", "xZn_0CETiwvYNmdRXWH14Q"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$LRF2mXLoA4yqYsizwimdieYKCDxT2fOubeHbGVusF0GE0dX24T1R6"], ["remember_token", "jGGX7GwzG4In_ROZOsXbHQ"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (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 "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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (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 "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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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]] Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 2], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]] Adeia::Action Load (0.1ms) 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#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "xZn_0CETiwvYNmdRXWH14Q"], ["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.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.1ms) Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.4ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (1.1ms) rollback transaction  (0.1ms) 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$oawJxYfCJ5dr2cY4bKQQxuSqM/VleEGLnbTSAK1njMKD10ILm/2bO"], ["remember_token", "bnITvoJycdA93jBkuoE9bg"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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$6VazH9/klXUZMfJFexwxOePsKpVFJCh3wYhI7JF8zP9w3Iud5yyK2"], ["remember_token", "9wtq7UA0vXsiEGReR9itaw"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", "bnITvoJycdA93jBkuoE9bg"], ["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.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"]] Rendering articles/show.html.erb within layouts/application Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 10ms (Views: 1.1ms | ActiveRecord: 0.3ms)  (3.9ms) 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$Am3UOCutgna07bRn8OzOlucQs77qfIh8a9SgEoW9306k1QjVQNysK"], ["remember_token", "fEm_3uOyVSh5PpQgCh3e6g"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 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", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$briJ.UvM2YaP.SydpKevNe8r46cUzr9Elyi9aHn0tMbbf5moUU1kK"], ["remember_token", "cXmeN2Oj8xWLm6jRQmVRGw"], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2], ["created_at", 2017-03-05 13:56:51 UTC], ["updated_at", 2017-03-05 13:56:51 UTC]]  (0.1ms) 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", "fEm_3uOyVSh5PpQgCh3e6g"], ["LIMIT", 1]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["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"]] Rendering articles/show.html.erb within layouts/application Rendered articles/show.html.erb within layouts/application (0.1ms) Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (6.8ms) rollback transaction  (0.1ms) 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$L3XPINg9o0WnvoPpIb9OcuNSs77qi5go0DNTbSNtZ916HItH2hfLS"], ["remember_token", "4JLzMB0My_xfcWxSnya5sQ"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 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", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "4JLzMB0My_xfcWxSnya5sQ"], ["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.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" = '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.3ms) Completed 200 OK in 8ms (Views: 1.1ms | ActiveRecord: 0.3ms)  (1.1ms) rollback transaction  (0.1ms) 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$3MdcB/KaGrIODjfclzmqiexy7tnlThUg0hBhEYr28izxtXxUAQBSG"], ["remember_token", "OCgQp0U1kmo1QVrMhQ6H2g"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 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", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 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", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$Q1Geuc6k7MsfBJvAl65T3.xy9jEWNIZoQYLROvNWnaKc9NFTvqaG6"], ["remember_token", "Oe_IJiSdmTx3sPSxmU0FGQ"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 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", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "OCgQp0U1kmo1QVrMhQ6H2g"], ["LIMIT", 1]] Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["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.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.3ms) 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.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"."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.4ms) Completed 200 OK in 16ms (Views: 1.2ms | ActiveRecord: 1.3ms)  (1.5ms) rollback transaction  (0.1ms) 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$oyMZPqXHsuCEdK95y66OGuH2uaC/0FC71UmbnSeROzIbeEcRIr4Iy"], ["remember_token", "qg8H0LNOQvdQo4SL1qdUmQ"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 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", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 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", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]] Adeia::Action Load (0.1ms) 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$QD7H1KKQowP3R6B83rpfGO/yNhxiP6ahM62gAg/PgDw4hHWvovxpC"], ["remember_token", "pFuVWkXpqkM3FRKePHKJ1A"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 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", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "qg8H0LNOQvdQo4SL1qdUmQ"], ["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.1ms) Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 0.3ms)  (4.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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$T4crK5PlQ0vu6p8ymDB49uSammOVeRQyIEXYJkN0SEDAalk09Xl0G"], ["remember_token", "w6QxkKz26m-du-wPKIrs3Q"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]]  (0.1ms) 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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 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", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 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 Started GET "/articles" for 127.0.0.1 at 2017-03-05 14:56:52 +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]] Redirected to http://www.example.com/login Completed 302 Found in 10ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:56:52 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (18.9ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 272ms (Views: 268.8ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:56:52 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "session"=>{"name"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]] Redirected to http://www.example.com/articles Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET "/articles" for 127.0.0.1 at 2017-03-05 14:56:52 +0100 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "w6QxkKz26m-du-wPKIrs3Q"], ["LIMIT", 1]] Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] Adeia::Group Load (0.3ms) 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.3ms) 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.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" = '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 (13.6ms) Completed 200 OK in 35ms (Views: 23.1ms | ActiveRecord: 1.2ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments" for 127.0.0.1 at 2017-03-05 14:56:52 +0100 Processing by CommentsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Redirected to http://www.example.com/login Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:56:52 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (1.9ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.1ms)  (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$c7eUOm4lpiTR86qVKPMmlOXXdShyNwRKJlYWrlMWx9AARATBSkwCu"], ["remember_token", "BXYdLJGKQpCkNjjz89szSw"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:56:52 +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 4ms (ActiveRecord: 0.1ms) Started GET "/comments" for 127.0.0.1 at 2017-03-05 14:56:52 +0100 Processing by CommentsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "BXYdLJGKQpCkNjjz89szSw"], ["LIMIT", 1]] Rendering text template Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments/new" for 127.0.0.1 at 2017-03-05 14:56:52 +0100 Processing by CommentsController#new as HTML Rendering comments/new.html.erb within layouts/application Rendered comments/new.html.erb within layouts/application (1.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 13ms (Views: 10.2ms | ActiveRecord: 0.2ms) Started POST "/comments" for 127.0.0.1 at 2017-03-05 14:56:52 +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 2017-03-05 14:56:52 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (1.6ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 17ms (Views: 15.2ms | ActiveRecord: 0.4ms)  (0.1ms) 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$H8wlNQtKDbjC9qCIqQUfbucLyqoGjTaI50fu4mOt3VLdnboCO4ogW"], ["remember_token", "uTaMQ9f3yULDcbkyTWbjsA"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:56:52 +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/ Completed 302 Found in 4ms (ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2017-03-05 14:56:52 +0100 Processing by PagesController#dashboard as HTML Rendering pages/dashboard.html.erb within layouts/application Rendered pages/dashboard.html.erb within layouts/application (0.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "uTaMQ9f3yULDcbkyTWbjsA"], ["LIMIT", 1]] Completed 200 OK in 12ms (Views: 9.2ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.1ms) 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$98EPqZhAtj90/QRyZCoziuM/q4ICIa69uBLP6krlsD2OQqozu.NIu"], ["remember_token", "e-oCLc0zPE0LXmLRwxc9Og"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]] Adeia::Action Load (0.2ms) 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.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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$UrcqtSx/yx1/VpqJNYQjkebjDt2unhFS1Abnuq7OA1aBNUmZKxVsq"], ["remember_token", "FQeCA2WxN8IBqFh6GA3x4g"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]]  (0.1ms) 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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 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", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) 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$0fYe73ATakzgSVgTKu59X.8aobL93qaBrmYcpXAdq4Y54qN1xIKuy"], ["remember_token", "M1l9jEQ2cGAwPPE6lZ805Q"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["create_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 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.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) 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$Yc2Jv5f/QPSmS1VvldRxh.1CF1Y9VWf38BXoJTnihGVDgOsGAlIsG"], ["remember_token", "t-Cmsu6g3APtNxDuqmzlvg"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 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", 2017-03-05 13:56:52 UTC], ["updated_at", 2017-03-05 13:56:52 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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]] Adeia::Permission Load (0.2ms) 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.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.6ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.6ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "Adeia::Group"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]] SQL (1.7ms) 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", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "OaSXfkVXfUyIU_cKqDCBSA"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Wed, 05 Apr 2017], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT ? [["token", "OaSXfkVXfUyIU_cKqDCBSA"], ["LIMIT", 1]]  (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"."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.2ms) 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]]  (1.0ms) rollback transaction  (0.1ms) 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.9ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1001 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1002], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 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", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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.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" = 1002 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (0.9ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1003], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 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", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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.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" = 1003 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1003 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]]  (1.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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1004], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]] SQL (0.4ms) 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", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1004]]  (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" = 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"]]  (1.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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1005], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 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", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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" = 1005 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (0.8ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1006], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]] SQL (0.5ms) 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", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1006 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (1.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1007], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 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", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1007 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:55 UTC], ["updated_at", 2017-03-05 13:57:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1008], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1008]]  (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" = 1008 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1008 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (1.2ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1009], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["destroy_right", true], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1009]]  (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" = 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"]]  (1.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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_id", 1010], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1010]]  (0.3ms) 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.4ms) 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"]]  (1.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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1011], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", "wyXfWWgZiG50iLH8kk7HqQ"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Wed, 05 Apr 2017], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", "wyXfWWgZiG50iLH8kk7HqQ"], ["LIMIT", 1]]  (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"."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]]  (1.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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1012], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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" = 1012 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1013], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1013]]  (0.4ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1013 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.9ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1016], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1016 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1018], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1018]]  (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" = 1018 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1018 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) 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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1020], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1020], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1020]]  (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" = 1020 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1020 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (2.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1022], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1021], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]] SQL (0.5ms) 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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" = 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"]]  (1.3ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "adeia_group_users" ("adeia_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_group_id", 1], ["user_id", 1023], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.2ms) 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "Adeia::Group"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1023]] 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" = '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"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction  (0.1ms) 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$v4FsdMPikP1bXMxTobIX1O5CTRLjTGdpax9Rk9TMTpYzCYHqb4TKG"], ["remember_token", "XNLPuA_g2NCdIudRbDfTWQ"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "XNLPuA_g2NCdIudRbDfTWQ"], ["LIMIT", 1]] Completed 200 OK in 2ms (ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.1ms) 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.1ms) rollback transaction  (0.1ms) 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$bcwL9I3PPNZz73ZR9vK5JOTXEXWX2eOaNLEKzeFtYWEhwP0b7rWAO"], ["remember_token", "QTGo7eT44gGig6npPUUTAg"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", "QTGo7eT44gGig6npPUUTAg"], ["LIMIT", 1]] Completed 200 OK in 1ms (ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) 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 9ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) 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.1ms) 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 4ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.2ms) 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$FZFQl6EuQJ8lkIoLsMjUF.jJ.nHJEhgPHPN.XorgoOXpONriwoUvy"], ["remember_token", "8r30cCUXupPeHBfRwv6KJg"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", "8r30cCUXupPeHBfRwv6KJg"], ["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.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" = 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.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" = '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 6ms (ActiveRecord: 0.5ms)  (1.1ms) rollback transaction  (0.1ms) 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$hDK17uxo9zCi9YDZIHdXlucbn6pr.VTQ8AOM/OygLczV6.pgZf6aO"], ["remember_token", "hOrMQZmEFPy4eD4wyYdaxg"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "articles" ("id", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 100], ["title", "Rspec tests"], ["content", "Lorem ipsum"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "hOrMQZmEFPy4eD4wyYdaxg"], ["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::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 17ms (ActiveRecord: 1.9ms)  (1.3ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) 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$MetrYlsk.UtlJxxisgPz2eswCDbPAvmHp/tK1iwv8SLtwXqXkuT9e"], ["remember_token", "E59tcPcWYTwuFwVAbgpiyA"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", "letters"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "letters"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "E59tcPcWYTwuFwVAbgpiyA"], ["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", "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 8ms (ActiveRecord: 0.5ms)  (1.1ms) rollback transaction  (0.1ms) 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$OOq30lP816iv1WanE4MkC.vnY./9XxGQCfPCDjfoDcL16fuC31/Cq"], ["remember_token", "Co0ObxRPkhA8wtUUz8ZRlg"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.1ms) 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "Co0ObxRPkhA8wtUUz8ZRlg"], ["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", "admin/articles"]] Adeia::Token Load (0.1ms) 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", "admin/articles"]] Completed 200 OK in 8ms (ActiveRecord: 0.6ms)  (1.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.2ms) 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 3ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] User Load (0.1ms) 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 4ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) 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$H4ypCJf8VFJ0bPsKbI8ar.bnZaEdDeaNJ.dR4YP4HtkPBHJHOmkKW"], ["remember_token", "xIv01kch71XY8hQuhNkfkQ"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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 AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "xIv01kch71XY8hQuhNkfkQ"], ["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::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 7ms (ActiveRecord: 0.4ms)  (1.1ms) 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) 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$K/ierDGnSjBZqvgnltXZVevJoAAvYZtXa1EL3IcPD417f.mk8/dSq"], ["remember_token", "GqPoGIdimDXKSFpdawxLnA"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]] Adeia::Action Load (0.1ms) 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#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "GqPoGIdimDXKSFpdawxLnA"], ["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"]] 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.4ms) Completed 200 OK in 33ms (Views: 19.0ms | ActiveRecord: 0.5ms)  (0.9ms) rollback transaction  (0.1ms) 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$XvjUjUQ6c.RnuV61j8L.4udsWcJt41k39SEJ0orb/r24mAlboWHI."], ["remember_token", "B0IiRDBnhwXuBzowTToyMg"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]] Adeia::Action Load (0.1ms) 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#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "B0IiRDBnhwXuBzowTToyMg"], ["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"]] Adeia::Token Load (0.1ms) 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.1ms) Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 0.6ms)  (0.9ms) rollback transaction  (0.1ms) 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$OqClUKfybtzOas.tFTqmXeEsEjzYN6i/CZ80ODb7GYCitrPKCXoNe"], ["remember_token", "xf8W0ILy7UgLQARupDZNaA"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) 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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]] Adeia::Action Load (0.1ms) 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.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$vHMd2Ctk/hkVm2viWHu1AuWsBiG0sB81zYhw.YkQGpJOrQS46FiIu"], ["remember_token", "K9uiEaxcw7GObx-hSL-e3g"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) 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", "xf8W0ILy7UgLQARupDZNaA"], ["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.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"]] Adeia::Token Load (0.1ms) 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.1ms) Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 0.4ms)  (1.0ms) rollback transaction  (0.1ms) 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$FIFtkEDJtzW.PNaI3vt6z./25R/KzZyVzoOCrdXnuVnssUpFwN6TK"], ["remember_token", "zI3Y7HOxh6vHKH58HjMBNw"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$rP62Hgxdec0cZOGV3xbBTe..KbOw.kqaMtY4o24Fc9Bwf3/9JYZm2"], ["remember_token", "gZj7ns6m2uA92JFFVUOVvg"], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2], ["created_at", 2017-03-05 13:57:56 UTC], ["updated_at", 2017-03-05 13:57:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "zI3Y7HOxh6vHKH58HjMBNw"], ["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.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.1ms) 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.1ms) Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.4ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (2.5ms) rollback transaction  (0.1ms) 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$i5HUFRIrUL4yDOwx55mJzO2rWunmzLH8z7CNL1Wsof1U6bqprOhRi"], ["remember_token", "XAVK6hh6P_kQClf_tW5dwg"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]] Adeia::Action Load (0.1ms) 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$a0.oq72S2O8aBufuAFtaye1AKyHgsiJxSdheE.TpHGczlwfUg/kUm"], ["remember_token", "LJasDtbV3_7bYjmZTQHi9g"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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.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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) 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]] 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.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 11], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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", 2], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]] Adeia::Action Load (0.1ms) 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#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "XAVK6hh6P_kQClf_tW5dwg"], ["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.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.1ms) Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 0.4ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (2.5ms) rollback transaction  (0.1ms) 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$gNGNOqgcspkNy08Ld0sPMuIhq1VsPVgN864bgEmraglrFWnlC8Ap2"], ["remember_token", "eTLNS36ZXqbS0AHH7vgM2Q"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$1l2CIiFECXkb6vmWkMZnX.IRI4jqqRXvKNcElY7xxwW4yF/DbABa6"], ["remember_token", "fKVXh6PEwgQ0KUTTK9lToQ"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (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 "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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (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.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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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]] 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.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 2], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]] Adeia::Action Load (0.1ms) 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#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "eTLNS36ZXqbS0AHH7vgM2Q"], ["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.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.1ms) 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.1ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.3ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (1.2ms) 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$l3xc00JNS4/MZ9LGzRatceupgEvMWMwjMXoFOcaL8Q8DlvGidfJ2."], ["remember_token", "ah2p39Lny0Tef1-eeifBbg"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$q.5T80Mn2XAYECuSt1WonOhgnCiaGY7JHbBR6F85t/l4eavsUi5fm"], ["remember_token", "zb3KDBMDxr4HDIluOihmiA"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) 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", "ah2p39Lny0Tef1-eeifBbg"], ["LIMIT", 1]] Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["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.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.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"]] Rendering articles/show.html.erb within layouts/application Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 0.6ms)  (1.0ms) rollback transaction  (0.1ms) 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$3RPCjQQqbYoN/5aqOzL6sOcYR2kn1rKQNCkc5KMWYTLGAdMydKNOG"], ["remember_token", "Hs9xJVEqiHXkShowJldkng"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) 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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$XurF80iP0HMbs31kKnPsye8yvS5Lo1BppQzUcXGKuNhVB2DhCK2NO"], ["remember_token", "JsIzixDlFNYQDRdy_F07ZA"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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", "Hs9xJVEqiHXkShowJldkng"], ["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.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"]] Rendering articles/show.html.erb within layouts/application Rendered articles/show.html.erb within layouts/application (0.1ms) Completed 200 OK in 8ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (1.0ms) rollback transaction  (0.1ms) 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$zIDlHxAXtsb3jOfQKJEk2uS9FWKXy8EL7SvPItXT7LQK3oy6.kyWu"], ["remember_token", "okYDlKIhOa9t1WTkhFj9mA"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "okYDlKIhOa9t1WTkhFj9mA"], ["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.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.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" = '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.3ms) Completed 200 OK in 9ms (Views: 1.0ms | ActiveRecord: 0.4ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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$q9nCXZFtnoXqFNuHV4N8a.mrbP5DvZrWBMCPECAW0RTOnV1kHwJR."], ["remember_token", "AbIpdE2c5q-RMgE8p9bBBQ"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$NRVy8KXz1ZV2juRHqaQ8WulMpdKsAsMmQY80MvPe1XOFSFM1jM5Bm"], ["remember_token", "tuv0EI-_lX0QTAVK-FR5CA"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (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", 2], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "AbIpdE2c5q-RMgE8p9bBBQ"], ["LIMIT", 1]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["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.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" = 1 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "articles"]] 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" = '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.3ms) Completed 200 OK in 12ms (Views: 1.0ms | ActiveRecord: 0.7ms)  (1.1ms) rollback transaction  (0.1ms) 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$ugQSRbxPu8jxMBeU0epE.eBQGjMLJW5D/cm4ztugR0C0Nr1usP7s6"], ["remember_token", "vU0TsQKkQOlAP2ekuRe9XA"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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$Z6fcXsyB48yIB8gicIIHzelS5OeXx/leqv5YtOGuwcPqy3gg5s4L."], ["remember_token", "Y9b7Zh4zQFCvEI52aofcRQ"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "vU0TsQKkQOlAP2ekuRe9XA"], ["LIMIT", 1]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["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"."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.1ms) Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (1.1ms) rollback transaction  (0.1ms) 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$76AJWoZ1qNzmo2NRYdVK0O4MMM0pxzmrIOCvlGZciSYnDu4gUykeS"], ["remember_token", "o8pVZiCJOsJHsNBqi1wsxw"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/articles" for 127.0.0.1 at 2017-03-05 14:57:57 +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]] Redirected to http://www.example.com/login Completed 302 Found in 8ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:57:57 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (18.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 288ms (Views: 285.1ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:57:57 +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 5ms (ActiveRecord: 0.1ms) Started GET "/articles" for 127.0.0.1 at 2017-03-05 14:57:57 +0100 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "o8pVZiCJOsJHsNBqi1wsxw"], ["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.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" = '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 (14.0ms) Completed 200 OK in 28ms (Views: 20.9ms | ActiveRecord: 0.7ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments" for 127.0.0.1 at 2017-03-05 14:57:57 +0100 Processing by CommentsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Redirected to http://www.example.com/login Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:57:57 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (1.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 13ms (Views: 10.2ms | 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$zEWIJpF4nOTKuuWhfqBZX.TsKxaqhyIY7JLo1hXPkJlUyWimD1npO"], ["remember_token", "9PuUbi2k5mynGLVenqhGfw"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:57:57 +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 3ms (ActiveRecord: 0.1ms) Started GET "/comments" for 127.0.0.1 at 2017-03-05 14:57:57 +0100 Processing by CommentsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "9PuUbi2k5mynGLVenqhGfw"], ["LIMIT", 1]] Rendering text template Rendered text template (0.1ms) Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments/new" for 127.0.0.1 at 2017-03-05 14:57:57 +0100 Processing by CommentsController#new as HTML Rendering comments/new.html.erb within layouts/application Rendered comments/new.html.erb within layouts/application (1.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 17ms (Views: 14.6ms | ActiveRecord: 0.2ms) Started POST "/comments" for 127.0.0.1 at 2017-03-05 14:57:57 +0100 Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "commit"=>"Create a comment"} User Load (0.2ms) 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.2ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:57:57 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (2.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 16ms (Views: 14.3ms | ActiveRecord: 0.2ms)  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$qM1oFkF9Y85utuepPeNahurYAnuY.VQMOTktoAW7tMQids5RE74dG"], ["remember_token", "pOgncLzHNWpciO5Xqf9NVg"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:57:57 +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/ Completed 302 Found in 3ms (ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2017-03-05 14:57:57 +0100 Processing by PagesController#dashboard as HTML Rendering pages/dashboard.html.erb within layouts/application Rendered pages/dashboard.html.erb within layouts/application (0.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "pOgncLzHNWpciO5Xqf9NVg"], ["LIMIT", 1]] Completed 200 OK in 15ms (Views: 12.4ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.1ms) 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$l01YXObPjAjduoCwlKVe0.0TZJyY6OAjYCL2h6s/4mtuHPe.v/Lju"], ["remember_token", "oN5bWMP1yZ0gvuuE4Ft-SA"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]] Adeia::Action Load (0.2ms) 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.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) 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$9YGkFAobQTSk7I4QyPhvK.OuUjQKSsDsMCpnXhWh6jWDH7eL6wkcu"], ["remember_token", "F4V2iZQ0RxHNXceO9HnO-A"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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$6vtgSd6lxKgRmSuomAoJQ.3tlX1/46Sl2RG/JegKitni.XJ25P0sa"], ["remember_token", "TVTpdgAfVU0g2FWBw3VhYQ"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.2ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["create_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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.7ms) 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$wsSKQft/o8pVaTdoYJgXUuCkaUWh/V6t/ck0nBlBstg8RnnWZ6U1K"], ["remember_token", "JIOcP0WZSrVxSfS3hjqHhg"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 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", 2017-03-05 13:57:57 UTC], ["updated_at", 2017-03-05 13:57:57 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (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]] Adeia::Permission Load (0.2ms) 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.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:58:37 UTC], ["updated_at", 2017-03-05 13:58:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.6ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.6ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "Adeia::Group"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]] SQL (1.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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "1M-imrmWkRT5qSyAQ_4NNg"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Wed, 05 Apr 2017], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT ? [["token", "1M-imrmWkRT5qSyAQ_4NNg"], ["LIMIT", 1]]  (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"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."create_right" = ? [["id", 1], ["name", "admin/articles"], ["create_right", true]]  (0.2ms) 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]]  (1.6ms) rollback transaction  (0.1ms) 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.7ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1001 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1002], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1002 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (1.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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) 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.9ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1003], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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 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"]]  (1.5ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1004], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1004]]  (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" = 1004 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1004 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]]  (0.9ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1005], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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 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", 1005]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1005 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (1.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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1006], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1006 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]  (0.9ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1007], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]] SQL (0.4ms) 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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"]]  (1.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1008], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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 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"]]  (1.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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1009], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["destroy_right", true], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.9ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) 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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_id", 1010], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1010]]  (0.2ms) 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.2ms) 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.9ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1011], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", "ZT_gv-dvA74YSklVzpOVCQ"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Wed, 05 Apr 2017], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", "ZT_gv-dvA74YSklVzpOVCQ"], ["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.2ms) 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.2ms) 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]]  (1.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1012], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1012 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (1.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) 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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1013], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 1013]]  (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" = 1013 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 1013 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.8ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1016], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 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.4ms) 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"]]  (1.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1018], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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 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.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" = 1018 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 1018 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (1.2ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1020], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1020], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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 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.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" = 1020 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1020 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (1.5ms) 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1022], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1021], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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.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", 1022]]  (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" = 1022 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]] 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" = 'User' AND "adeia_permissions"."owner_id" = 1022 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "Adeia::Group"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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 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", 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"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction  (0.1ms) 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$CIpMoM0BHx6/XG5XcTZwP.sBq/bMYf/f/MpA/.tEsOVMR7zzB7dvW"], ["remember_token", "n_5RQLvYOalechAGHjwQCA"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", "n_5RQLvYOalechAGHjwQCA"], ["LIMIT", 1]] Completed 200 OK in 1ms (ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) 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.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$Frq9S/oz4ia4SWAu9KnKjelFUOVbF15CXIb/k.4/dmQ2if2Qj88.6"], ["remember_token", "bMO7Fo3BZmfz_xZ430PDhw"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) 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", "bMO7Fo3BZmfz_xZ430PDhw"], ["LIMIT", 1]] Completed 200 OK in 1ms (ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.1ms) 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 9ms (ActiveRecord: 0.2ms)  (0.2ms) rollback transaction  (0.1ms) 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.1ms) 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 3ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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$1sZGutkCfLo/154W20UMq.VTma/NsQZUzghuUIZ.mOxbYwMe9w5XK"], ["remember_token", "6Odj3Ls-YS6FPWoQKzEnew"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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 AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "6Odj3Ls-YS6FPWoQKzEnew"], ["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.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" = 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.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" = '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 5ms (ActiveRecord: 0.5ms)  (1.3ms) rollback transaction  (0.1ms) 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$Yc8K6kJ81qARVHGWe/VkMucBwgk7ueIfOqjo.Rn8GZyfkwb4aYrz."], ["remember_token", "31ngXm65PrHKFJMyko7orQ"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.2ms) 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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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 AnonymousController#index as HTML  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "articles" ("id", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 100], ["title", "Rspec tests"], ["content", "Lorem ipsum"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "31ngXm65PrHKFJMyko7orQ"], ["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::Token Load (0.1ms) 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 18ms (ActiveRecord: 2.1ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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$G5m1WPd0.VGr2.5.l1ECuONBhFYnRuUuHtuA./FD0YPv9oQE0rEdu"], ["remember_token", "UICXOarGoeu6ZIQi0cT8rA"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "letters"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "letters"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "UICXOarGoeu6ZIQi0cT8rA"], ["LIMIT", 1]] Adeia::Group Load (0.2ms) 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", "letters"]] Adeia::Token Load (0.1ms) 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", "letters"]] Completed 200 OK in 10ms (ActiveRecord: 0.9ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) 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$0n8EEh9zLZeZRr68KeKTgezwfPm.fq.jVtFczwxZBIA6AlSD1HpRa"], ["remember_token", "OzJwukeyiPx1hLSA_hAvzQ"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#index as HTML  (0.1ms) 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "OzJwukeyiPx1hLSA_hAvzQ"], ["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", "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.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", "admin/articles"]] Completed 200 OK in 7ms (ActiveRecord: 0.7ms)  (1.2ms) rollback transaction  (0.1ms) 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.2ms)  (0.2ms) rollback transaction  (0.1ms) 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.2ms)  (0.1ms) rollback transaction  (0.1ms) 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$4umPhHnWUSheeiJse0uQTuTDFqVBI0QdF2iTalXUeGAHYsQ0FiVRS"], ["remember_token", "dfCPjH2zJiwbwpfelQ4Xig"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) 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", "dfCPjH2zJiwbwpfelQ4Xig"], ["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.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]] 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" = '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 6ms (ActiveRecord: 0.4ms)  (1.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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) 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$LVkvEYfwVt6VxHnvwk3jAeS3Y7b3pT6qy0Oufkzww.70oHLYWOgUm"], ["remember_token", "IZQa4l9QW-YqOYUFtkyX-Q"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 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", 2017-03-05 13:58:38 UTC], ["updated_at", 2017-03-05 13:58:38 UTC]] Adeia::Action Load (0.1ms) 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#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "IZQa4l9QW-YqOYUFtkyX-Q"], ["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.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.6ms) Completed 200 OK in 36ms (Views: 26.4ms | ActiveRecord: 0.3ms)  (1.5ms) rollback transaction  (0.1ms) 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$xtICob8e29FFkNgeim9bVO3it75lMSlHMrsz.mWBDX4DSeQfSDnTq"], ["remember_token", "5blVUg-yLHjyTXec3M0H0w"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]] Adeia::Action Load (0.1ms) 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#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "5blVUg-yLHjyTXec3M0H0w"], ["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"]] 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.1ms) Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 0.5ms)  (1.1ms) rollback transaction  (0.1ms) 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$Mxq7mdQ5x/ssUtq7fFyipeb1gF9XWmSfPbXfl0a3obGQtFNvLGtMK"], ["remember_token", "x6lEBpZgNndaHkdOeHjd1w"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.1ms) 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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$Sd4G5z1hACMO9T7jBIAUzOiAPscZ6eK48iAhVx68OOj2sEi95CzrS"], ["remember_token", "BWWGJTbmpowFJF4Cd6GS8g"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (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 "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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (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", "x6lEBpZgNndaHkdOeHjd1w"], ["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.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.1ms) Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.3ms)  (1.3ms) rollback transaction  (0.1ms) 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$TbwofTYE1y7XEQlR8kzNjOsF9YPDIdTcwYgocTBLJCDJjADyAzfCK"], ["remember_token", "2iWNc97GbJuih-L2O-VJPA"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]] Adeia::Action Load (0.1ms) 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 1], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (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$xLpKYK9bWVYrNvlMCqaomelRrzVn8CZN6o6WPBhVmHZHe0SYxUXyG"], ["remember_token", "DBvR2-5Ql34OoIY7fNrS8w"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (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 "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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (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 "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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "2iWNc97GbJuih-L2O-VJPA"], ["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"]] Adeia::Token Load (0.1ms) 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.1ms) Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.5ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (1.3ms) 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$h5Uhj0ZUG0jFpousLIRyBuF9sVRHwHVMmHMfG3BdqGvNoybwJb6DW"], ["remember_token", "tHCUz2uctn1k2RHXNBaohA"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.1ms) 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]] Adeia::Action Load (0.1ms) 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 1], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$pophQTv4L.QAW29Ps86Hyee9hYS4u502pQ1Dkt8Jx/TirddrxIkVO"], ["remember_token", "wzTOp0TCVr1iZre2IGBLeA"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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.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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) 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", 2], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (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 "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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 11], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]] Adeia::Action Load (0.1ms) 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#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "tHCUz2uctn1k2RHXNBaohA"], ["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.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"]] 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.1ms) Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.4ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (1.2ms) rollback transaction  (0.1ms) 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$Urnh384SnkDssdodn/lineiSyGupa8ft6qwIHfNWA9MBRZO8NhJXC"], ["remember_token", "ZGwC7YD7wNPGAXg1eo2bgQ"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$2ItS5m0wRCOqGVqTnX7zbeGd8FWh6hBwcz1XHIQxtSxgktkFj/VD2"], ["remember_token", "Ekgz5LoDapyahluPR769QQ"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (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 "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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (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 "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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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.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", 2], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.1ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.2ms) 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]] 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.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 2], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", "ZGwC7YD7wNPGAXg1eo2bgQ"], ["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.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"]] 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.1ms) Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.3ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (1.2ms) rollback transaction  (0.1ms) 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$uDXG3NOUGVjr1EkFyMAJ0ObqVtS0bZii4tk93RDnczAqa21MzTvK."], ["remember_token", "pbt4vySTJjDoYhAWWyTFyQ"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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$vogLjNhgC.sYILEGRi.QlOrEjYyqhnBgYBZGDHWJAROEwJbGqDEVi"], ["remember_token", "u5FjTcWZHZGegxV8xGM_pg"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", "pbt4vySTJjDoYhAWWyTFyQ"], ["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.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"]] Rendering articles/show.html.erb within layouts/application Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms)  (0.9ms) rollback transaction  (0.1ms) 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$20NYHjl4RRYbXLqdDDhgMOZ3I/s/PynBju2bm1m3XPHlP73/Yd7/."], ["remember_token", "b8rM3jM8mjnjI-hze2iwhQ"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.1ms) 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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$Rl4BDZErg6GTEPPUdapYle.8ZrYJYiMnFpgTHUNR78qEIiR7imMA6"], ["remember_token", "zmbK3_-nO0HLvQubdBcDOQ"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (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", 2], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", "b8rM3jM8mjnjI-hze2iwhQ"], ["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.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"]] Rendering articles/show.html.erb within layouts/application Rendered articles/show.html.erb within layouts/application (0.1ms) Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.3ms)  (1.2ms) rollback transaction  (0.1ms) 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$5XVuf/sBvicWpAmOm9GqEO/bp10zkipYFeWrFB99i5eW.RrjyCWlu"], ["remember_token", "ets_AyhGBAuprp2bxZ0O0Q"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]] Adeia::Action Load (0.1ms) 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.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "ets_AyhGBAuprp2bxZ0O0Q"], ["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.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]] 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" = '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.3ms) Completed 200 OK in 10ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (1.5ms) 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$wvGUnfh2aNFlWLXO2EIgTOKfnZ3Oi2YwDBiJV/DSALjaejxrS781."], ["remember_token", "0o5r42Blxtizt0rf6L0nXw"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]] Adeia::Action Load (0.1ms) 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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$.EJyF0lSDIpKQ7N2L8v12eGT4PJIG4ByFEg7Ihtvw6.M4n3TRONU2"], ["remember_token", "wMtfC59fJlzlSNLyAoD0fg"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "0o5r42Blxtizt0rf6L0nXw"], ["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.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" = 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.6ms) Completed 200 OK in 12ms (Views: 1.8ms | ActiveRecord: 0.5ms)  (1.2ms) rollback transaction  (0.1ms) 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$zZOM7HQtDFGAA/TfB8tiV.EIgZDp8YG.bQ2Nt8EsuZXud4KaDjGSi"], ["remember_token", "BdmE1QsXKyj2YK4jqH671w"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$88ggvQPYYh2EchvybF17c.n8q0kvNGoRx95t0DndwmdGhm81/AFh6"], ["remember_token", "Kbemv9NcJS0bTGbZZUNOdA"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "BdmE1QsXKyj2YK4jqH671w"], ["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.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.1ms) Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.3ms)  (1.1ms) rollback transaction  (0.1ms) 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$AiCF6QsZes2RcjgTZFYWPORk35xm3Q696jyenX8hyeHwcXxh2tmGC"], ["remember_token", "ME1tQWWJ9_Gcr_2V1Rt30w"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 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", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/articles" for 127.0.0.1 at 2017-03-05 14:58:39 +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]] Redirected to http://www.example.com/login Completed 302 Found in 9ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:58:39 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (20.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 290ms (Views: 287.7ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:58:39 +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 4ms (ActiveRecord: 0.1ms) Started GET "/articles" for 127.0.0.1 at 2017-03-05 14:58:39 +0100 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "ME1tQWWJ9_Gcr_2V1Rt30w"], ["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.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" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]] 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" = '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 (12.7ms) Completed 200 OK in 27ms (Views: 19.3ms | ActiveRecord: 0.8ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments" for 127.0.0.1 at 2017-03-05 14:58:39 +0100 Processing by CommentsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Redirected to http://www.example.com/login Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:58:39 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (1.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 12ms (Views: 10.1ms | 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$3jVPfb3Bem8nhRM0aBj9Ke5FS8nJQKDgJvdmAq5rUMdadafHpB7SK"], ["remember_token", "1AXSr8g9Bp9LQ9LenUgAyg"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:58:39 +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 3ms (ActiveRecord: 0.1ms) Started GET "/comments" for 127.0.0.1 at 2017-03-05 14:58:39 +0100 Processing by CommentsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "1AXSr8g9Bp9LQ9LenUgAyg"], ["LIMIT", 1]] Rendering text template Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments/new" for 127.0.0.1 at 2017-03-05 14:58:39 +0100 Processing by CommentsController#new as HTML Rendering comments/new.html.erb within layouts/application Rendered comments/new.html.erb within layouts/application (0.8ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 14ms (Views: 10.9ms | ActiveRecord: 0.4ms) Started POST "/comments" for 127.0.0.1 at 2017-03-05 14:58:39 +0100 Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "commit"=>"Create a comment"} User Load (0.2ms) 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.2ms) Started GET "/login" for 127.0.0.1 at 2017-03-05 14:58:39 +0100 Processing by SessionsController#new as HTML Rendering sessions/new.html.erb within layouts/application Rendered sessions/new.html.erb within layouts/application (2.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]] Completed 200 OK in 16ms (Views: 14.6ms | ActiveRecord: 0.2ms)  (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$8UMlOLuyN1l8EuBQ33k0Yeqh.8//hyGVr6E4tWp2.rc2JxFoPrPSe"], ["remember_token", "30jPNy2RI2rq8BzuSIUQyw"], ["created_at", 2017-03-05 13:58:39 UTC], ["updated_at", 2017-03-05 13:58:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2017-03-05 14:58:39 +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/ Completed 302 Found in 3ms (ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2017-03-05 14:58:39 +0100 Processing by PagesController#dashboard as HTML Rendering pages/dashboard.html.erb within layouts/application Rendered pages/dashboard.html.erb within layouts/application (0.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "30jPNy2RI2rq8BzuSIUQyw"], ["LIMIT", 1]] Completed 200 OK in 11ms (Views: 8.4ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.1ms) 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$j8/crvpSd8hoThz3pMUdWeMloXMUfPeoxcCReOfzX7eojkYAsYFKS"], ["remember_token", "lWaB4MgDLXqunaFOrkSkwA"], ["created_at", 2017-03-05 13:58:40 UTC], ["updated_at", 2017-03-05 13:58:40 UTC]]  (0.1ms) 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:58:40 UTC], ["updated_at", 2017-03-05 13:58:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2017-03-05 13:58:40 UTC], ["updated_at", 2017-03-05 13:58:40 UTC]] Adeia::Action Load (0.2ms) 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  (1.0ms) rollback transaction  (0.1ms) 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$huB.JZfdRjiVvsWX9Dpu4OscNg0rQ.eQ2C6IGGUM3.MlsYMnGCAEy"], ["remember_token", "bIblc0fMEbrXI-ujAOw_yg"], ["created_at", 2017-03-05 13:58:40 UTC], ["updated_at", 2017-03-05 13:58:40 UTC]]  (0.1ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:40 UTC], ["updated_at", 2017-03-05 13:58:40 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", 2017-03-05 13:58:40 UTC], ["updated_at", 2017-03-05 13:58:40 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:58:40 UTC], ["updated_at", 2017-03-05 13:58:40 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", 2017-03-05 13:58:40 UTC], ["updated_at", 2017-03-05 13:58:40 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) 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$xD9ZzEKE2/l21gF/uvLtuebKO8CSSCl7Tm.btee9w4SP6fIUXVLae"], ["remember_token", "BtLcgEbx-reWmxx0yCxhWA"], ["created_at", 2017-03-05 13:58:40 UTC], ["updated_at", 2017-03-05 13:58:40 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:58:40 UTC], ["updated_at", 2017-03-05 13:58:40 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["create_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2017-03-05 13:58:40 UTC], ["updated_at", 2017-03-05 13:58:40 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.1ms) RELEASE SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) 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$c72O2owz8r5ummhOX6VzCefha4doBRTM0Jgq5VDifaF1yNc90EUwG"], ["remember_token", "6yOB4genkxQMIOHEC8kkdQ"], ["created_at", 2017-03-05 13:58:40 UTC], ["updated_at", 2017-03-05 13:58:40 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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2017-03-05 13:58:40 UTC], ["updated_at", 2017-03-05 13:58:40 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.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2017-03-05 13:58:40 UTC], ["updated_at", 2017-03-05 13:58:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2017-03-05 13:58:40 UTC], ["updated_at", 2017-03-05 13:58:40 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", 2017-03-05 13:58:40 UTC], ["updated_at", 2017-03-05 13:58:40 UTC]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]  (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]] Adeia::Permission Load (0.2ms) 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]]  (1.0ms) rollback transaction