(2.4ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action_id" integer, "permission_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (1.2ms) CREATE INDEX "index_adeia_action_permissions_on_action_id" ON "adeia_action_permissions" ("action_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index'  (1.0ms) CREATE INDEX "index_adeia_action_permissions_on_permission_id" ON "adeia_action_permissions" ("permission_id")  (1.4ms) CREATE TABLE "adeia_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.4ms) CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.2ms) CREATE TABLE "adeia_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "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_group_id" ON "adeia_group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_group_id' AND type='index'  (1.0ms) CREATE INDEX "index_adeia_group_users_on_user_id" ON "adeia_group_users" ("user_id")  (1.0ms) CREATE TABLE "adeia_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.1ms) CREATE TABLE "adeia_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "owner_type" varchar, "element_id" integer, "permission_type" integer, "read_right" boolean, "create_right" boolean, "update_right" boolean, "destroy_right" boolean, "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (3.4ms) CREATE INDEX "index_adeia_permissions_on_element_id" ON "adeia_permissions" ("element_id")  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_element_id' AND type='index'   (1.4ms) CREATE INDEX "index_adeia_permissions_on_owner_type_and_owner_id" ON "adeia_permissions" ("owner_type", "owner_id")  (1.5ms) CREATE TABLE "adeia_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar, "valid" boolean, "permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.1ms) CREATE INDEX "index_adeia_tokens_on_permission_id" ON "adeia_tokens" ("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)   (0.9ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id")  (1.6ms) 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.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150943')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161522')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161532')  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145900')  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145901')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145902')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145903')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150941')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150942') ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action_id" integer, "permission_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (1.5ms) CREATE INDEX "index_adeia_action_permissions_on_action_id" ON "adeia_action_permissions" ("action_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index'  (1.4ms) CREATE INDEX "index_adeia_action_permissions_on_permission_id" ON "adeia_action_permissions" ("permission_id")  (1.4ms) CREATE TABLE "adeia_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.2ms) CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.2ms) CREATE TABLE "adeia_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.3ms) CREATE INDEX "index_adeia_group_users_on_group_id" ON "adeia_group_users" ("group_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_group_id' AND type='index'  (1.4ms) 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, "element_id" integer, "permission_type" integer, "read_right" boolean, "create_right" boolean, "update_right" boolean, "destroy_right" boolean, "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.2ms) CREATE INDEX "index_adeia_permissions_on_element_id" ON "adeia_permissions" ("element_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_element_id' AND type='index'   (1.0ms) 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, "valid" boolean, "permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE INDEX "index_adeia_tokens_on_permission_id" ON "adeia_tokens" ("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.2ms) 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.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150943')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161522')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161532')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145900')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145901')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145902')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145903')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150941')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150942') ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.5ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action_id" integer, "permission_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_adeia_action_permissions_on_action_id" ON "adeia_action_permissions" ("action_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index'  (1.0ms) CREATE INDEX "index_adeia_action_permissions_on_permission_id" ON "adeia_action_permissions" ("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.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, "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_group_id" ON "adeia_group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_group_id' AND type='index'  (1.1ms) CREATE INDEX "index_adeia_group_users_on_user_id" ON "adeia_group_users" ("user_id")  (0.9ms) 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, "element_id" integer, "permission_type" integer, "read_right" boolean, "create_right" boolean, "update_right" boolean, "destroy_right" boolean, "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.1ms) CREATE INDEX "index_adeia_permissions_on_element_id" ON "adeia_permissions" ("element_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_element_id' AND type='index'   (1.2ms) 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, "valid" boolean, "permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.1ms) CREATE INDEX "index_adeia_tokens_on_permission_id" ON "adeia_tokens" ("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.1ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id")  (1.1ms) 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"  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150943')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161522')  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161532')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145900')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145901')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145902')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145903')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150941')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150942') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_permission_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_permission_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index'  (0.3ms)  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_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_group_id' AND type='index'  (0.2ms)  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_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_element_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_tokens_on_permission_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_tokens_on_permission_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_articles_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_articles_on_user_id' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.6ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action_id" integer, "permission_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_adeia_action_permissions_on_action_id" ON "adeia_action_permissions" ("action_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index'  (1.1ms) CREATE INDEX "index_adeia_action_permissions_on_permission_id" ON "adeia_action_permissions" ("permission_id")  (1.2ms) 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, "group_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.3ms) CREATE INDEX "index_adeia_group_users_on_group_id" ON "adeia_group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_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.1ms) CREATE TABLE "adeia_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "owner_type" varchar, "element_id" integer, "permission_type" integer, "read_right" boolean, "create_right" boolean, "update_right" boolean, "destroy_right" boolean, "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.1ms) CREATE INDEX "index_adeia_permissions_on_element_id" ON "adeia_permissions" ("element_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_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, "valid" boolean, "permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE INDEX "index_adeia_tokens_on_permission_id" ON "adeia_tokens" ("permission_id")  (1.0ms) 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.3ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id")  (1.5ms) 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.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150943')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161522')  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161532')  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145900')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145901')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145902')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145903')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150941')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150942') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.6ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action_id" integer, "permission_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (1.2ms) CREATE INDEX "index_adeia_action_permissions_on_action_id" ON "adeia_action_permissions" ("action_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index'  (1.1ms) CREATE INDEX "index_adeia_action_permissions_on_permission_id" ON "adeia_action_permissions" ("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.0ms) CREATE TABLE "adeia_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "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_group_id" ON "adeia_group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_group_id' AND type='index'  (1.0ms) CREATE INDEX "index_adeia_group_users_on_user_id" ON "adeia_group_users" ("user_id")  (1.0ms) CREATE TABLE "adeia_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.0ms) CREATE TABLE "adeia_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "owner_type" varchar, "element_id" integer, "permission_type" integer, "read_right" boolean, "create_right" boolean, "update_right" boolean, "destroy_right" boolean, "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE INDEX "index_adeia_permissions_on_element_id" ON "adeia_permissions" ("element_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_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, "valid" boolean, "permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.1ms) CREATE INDEX "index_adeia_tokens_on_permission_id" ON "adeia_tokens" ("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.0ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id")  (1.1ms) 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.2ms) 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 ('20151003150943')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161522')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161532')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145900')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145901')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145902')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145903')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150941')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150942') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_permission_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_permission_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_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_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_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.6ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_element_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_tokens_on_permission_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_tokens_on_permission_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_articles_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_articles_on_user_id' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action_id" integer, "permission_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_adeia_action_permissions_on_action_id" ON "adeia_action_permissions" ("action_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index'  (0.9ms) CREATE INDEX "index_adeia_action_permissions_on_permission_id" ON "adeia_action_permissions" ("permission_id")  (1.1ms) 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.0ms) CREATE TABLE "adeia_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "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_group_id" ON "adeia_group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_group_id' AND type='index'  (1.1ms) CREATE INDEX "index_adeia_group_users_on_user_id" ON "adeia_group_users" ("user_id")  (1.0ms) CREATE TABLE "adeia_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.1ms) CREATE TABLE "adeia_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "owner_type" varchar, "element_id" integer, "permission_type" integer, "read_right" boolean, "create_right" boolean, "update_right" boolean, "destroy_right" boolean, "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE INDEX "index_adeia_permissions_on_element_id" ON "adeia_permissions" ("element_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_element_id' AND type='index'   (1.0ms) CREATE INDEX "index_adeia_permissions_on_owner_type_and_owner_id" ON "adeia_permissions" ("owner_type", "owner_id")  (1.4ms) CREATE TABLE "adeia_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar, "valid" boolean, "permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.1ms) CREATE INDEX "index_adeia_tokens_on_permission_id" ON "adeia_tokens" ("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.1ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id")  (1.2ms) 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.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150943')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161522')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161532')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145900')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145901')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145902')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145903')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150941')  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150942') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.5ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action_id" integer, "permission_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.4ms) select sqlite_version(*)  (1.3ms) CREATE INDEX "index_adeia_action_permissions_on_action_id" ON "adeia_action_permissions" ("action_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index'  (1.3ms) CREATE INDEX "index_adeia_action_permissions_on_permission_id" ON "adeia_action_permissions" ("permission_id")  (1.1ms) CREATE TABLE "adeia_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.5ms) 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, "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_group_id" ON "adeia_group_users" ("group_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_group_id' AND type='index'  (1.2ms) CREATE INDEX "index_adeia_group_users_on_user_id" ON "adeia_group_users" ("user_id")  (1.3ms) 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, "element_id" integer, "permission_type" integer, "read_right" boolean, "create_right" boolean, "update_right" boolean, "destroy_right" boolean, "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.1ms) CREATE INDEX "index_adeia_permissions_on_element_id" ON "adeia_permissions" ("element_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_element_id' AND type='index'   (1.3ms) 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, "valid" boolean, "permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.2ms) CREATE INDEX "index_adeia_tokens_on_permission_id" ON "adeia_tokens" ("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.1ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id")  (1.1ms) 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.1ms) SELECT version FROM "schema_migrations"  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150943')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161522')  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161532')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145900')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145901')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145902')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145903')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150941')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150942') ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) 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.5ms) begin transaction Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.5ms) begin transaction Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.5ms) begin transaction Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.5ms) begin transaction Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.5ms) begin transaction Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) rollback transaction  (0.7ms) begin transaction  (0.2ms) rollback transaction  (0.5ms) begin transaction Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.5ms) begin transaction  (1.9ms) SELECT COUNT(*) FROM "adeia_permissions"  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions"  (0.1ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions"  (0.1ms) rollback transaction  (0.5ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions"  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions"  (0.1ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions"  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions"  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions"  (0.1ms) rollback transaction  (0.7ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions"  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions"  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions"  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions"  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions"  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions"  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions"  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions"  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions"  (0.2ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions"  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions"  (0.1ms) rollback transaction  (0.5ms) begin transaction  (0.2ms) rollback transaction  (0.4ms) begin transaction Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.5ms) begin transaction Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "token"]]  (0.2ms) rollback transaction  (0.5ms) begin transaction Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.8ms) begin transaction Adeia::Token Load (4.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.5ms) begin transaction Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.5ms) begin transaction Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.5ms) 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  (0.0ms) rollback transaction  (0.5ms) begin transaction Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.4ms) begin transaction Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.5ms) begin transaction Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.4ms) begin transaction Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.4ms) begin transaction Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action_id" integer, "permission_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_adeia_action_permissions_on_action_id" ON "adeia_action_permissions" ("action_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index'  (1.0ms) CREATE INDEX "index_adeia_action_permissions_on_permission_id" ON "adeia_action_permissions" ("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.0ms) CREATE TABLE "adeia_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.3ms) CREATE INDEX "index_adeia_group_users_on_group_id" ON "adeia_group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_group_id' AND type='index'  (1.4ms) 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.2ms) CREATE TABLE "adeia_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "owner_type" varchar, "element_id" integer, "permission_type" integer, "read_right" boolean, "create_right" boolean, "update_right" boolean, "destroy_right" boolean, "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.1ms) CREATE INDEX "index_adeia_permissions_on_element_id" ON "adeia_permissions" ("element_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_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, "valid" boolean, "permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.3ms) CREATE INDEX "index_adeia_tokens_on_permission_id" ON "adeia_tokens" ("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.2ms) 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.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150943')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161522')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161532')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145900')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145901')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145902')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145903')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150941')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150942') 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 "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action_id" integer, "permission_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) select sqlite_version(*)  (1.3ms) CREATE INDEX "index_adeia_action_permissions_on_action_id" ON "adeia_action_permissions" ("action_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index'  (1.1ms) CREATE INDEX "index_adeia_action_permissions_on_permission_id" ON "adeia_action_permissions" ("permission_id")  (1.1ms) CREATE TABLE "adeia_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.2ms) CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.3ms) CREATE TABLE "adeia_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.6ms) CREATE INDEX "index_adeia_group_users_on_group_id" ON "adeia_group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_group_id' AND type='index'  (1.1ms) 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.1ms) CREATE TABLE "adeia_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "owner_type" varchar, "element_id" integer, "permission_type" integer, "read_right" boolean, "create_right" boolean, "update_right" boolean, "destroy_right" boolean, "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE INDEX "index_adeia_permissions_on_element_id" ON "adeia_permissions" ("element_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_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, "valid" boolean, "permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.1ms) CREATE INDEX "index_adeia_tokens_on_permission_id" ON "adeia_tokens" ("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.1ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id")  (1.1ms) 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.1ms) SELECT version FROM "schema_migrations"  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150943')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161522')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161532')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145900')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145901')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145902')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145903')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150941')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150942') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.5ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action_id" integer, "permission_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_adeia_action_permissions_on_action_id" ON "adeia_action_permissions" ("action_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index'  (1.0ms) CREATE INDEX "index_adeia_action_permissions_on_permission_id" ON "adeia_action_permissions" ("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, "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_group_id" ON "adeia_group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_group_id' AND type='index'  (1.1ms) 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.1ms) CREATE TABLE "adeia_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "owner_type" varchar, "element_id" integer, "permission_type" integer, "read_right" boolean, "create_right" boolean, "update_right" boolean, "destroy_right" boolean, "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.1ms) CREATE INDEX "index_adeia_permissions_on_element_id" ON "adeia_permissions" ("element_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_element_id' AND type='index'   (1.0ms) 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, "valid" boolean, "permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.3ms) CREATE INDEX "index_adeia_tokens_on_permission_id" ON "adeia_tokens" ("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.1ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id")  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "password_digest" varchar, "remember_token" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.4ms) 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 ('20151003150943')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161522')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161532')  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145900')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145901')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145902')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145903')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150941')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150942') ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action_id" integer, "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_action_id" ON "adeia_action_permissions" ("action_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index'  (1.3ms) CREATE INDEX "index_adeia_action_permissions_on_permission_id" ON "adeia_action_permissions" ("permission_id")  (1.2ms) CREATE TABLE "adeia_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.2ms) CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.2ms) CREATE TABLE "adeia_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.2ms) CREATE INDEX "index_adeia_group_users_on_group_id" ON "adeia_group_users" ("group_id")  (0.3ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_group_id' AND type='index'  (1.3ms) 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, "element_id" integer, "permission_type" integer, "read_right" boolean, "create_right" boolean, "update_right" boolean, "destroy_right" boolean, "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.1ms) CREATE INDEX "index_adeia_permissions_on_element_id" ON "adeia_permissions" ("element_id")  (0.4ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_element_id' AND type='index'   (1.2ms) 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, "valid" boolean, "permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE INDEX "index_adeia_tokens_on_permission_id" ON "adeia_tokens" ("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.0ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id")  (1.1ms) 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.4ms) SELECT version FROM "schema_migrations"  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150943')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161522')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161532')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145900')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145901')  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145902')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145903')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150941')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150942') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUsers (20150930161522)  (0.4ms) begin transaction  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "password_digest" varchar, "remember_token" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150930161522"]]  (1.0ms) commit transaction Migrating to CreateArticles (20150930161532)  (0.1ms) begin transaction  (0.7ms) 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.3ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150930161532"]]  (1.0ms) commit transaction Migrating to CreateAdeiaElements (20151003145900)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003145900"]]  (1.1ms) commit transaction Migrating to CreateAdeiaPermissions (20151003145901)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "adeia_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "owner_type" varchar, "element_id" integer, "permission_type" integer, "read_right" boolean, "create_right" boolean, "update_right" boolean, "destroy_right" boolean, "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE INDEX "index_adeia_permissions_on_owner_type_and_owner_id" ON "adeia_permissions" ("owner_type", "owner_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_owner_type_and_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_owner_type_and_owner_id' AND type='index'   (0.2ms) CREATE INDEX "index_adeia_permissions_on_element_id" ON "adeia_permissions" ("element_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003145901"]]  (1.1ms) commit transaction Migrating to CreateAdeiaGroups (20151003145902)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "adeia_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003145902"]]  (1.0ms) commit transaction Migrating to CreateAdeiaGroupUsers (20151003145903)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "adeia_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE INDEX "index_adeia_group_users_on_group_id" ON "adeia_group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_group_id' AND type='index'  (0.1ms) CREATE INDEX "index_adeia_group_users_on_user_id" ON "adeia_group_users" ("user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003145903"]]  (1.1ms) commit transaction Migrating to CreateAdeiaTokens (20151003150941)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "adeia_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar, "valid" boolean, "permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE INDEX "index_adeia_tokens_on_permission_id" ON "adeia_tokens" ("permission_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003150941"]]  (0.8ms) commit transaction Migrating to CreateAdeiaActions (20151003150942)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "adeia_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003150942"]]  (0.8ms) commit transaction Migrating to CreateAdeiaActionPermissions (20151003150943)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action_id" integer, "permission_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_adeia_action_permissions_on_action_id" ON "adeia_action_permissions" ("action_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index'  (0.2ms) CREATE INDEX "index_adeia_action_permissions_on_permission_id" ON "adeia_action_permissions" ("permission_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003150943"]]  (0.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_permission_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_permission_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_group_id' AND type='index'  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_element_id' AND type='index'   (0.2ms) 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.2ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_tokens_on_permission_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_tokens_on_permission_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_articles_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_articles_on_user_id' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.5ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action_id" integer, "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_action_id" ON "adeia_action_permissions" ("action_id")  (0.3ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index'  (1.2ms) CREATE INDEX "index_adeia_action_permissions_on_permission_id" ON "adeia_action_permissions" ("permission_id")  (1.4ms) CREATE TABLE "adeia_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.6ms) CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.2ms) CREATE TABLE "adeia_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.2ms) CREATE INDEX "index_adeia_group_users_on_group_id" ON "adeia_group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_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.2ms) CREATE TABLE "adeia_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "owner_type" varchar, "element_id" integer, "permission_type" integer, "read_right" boolean, "create_right" boolean, "update_right" boolean, "destroy_right" boolean, "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.2ms) CREATE INDEX "index_adeia_permissions_on_element_id" ON "adeia_permissions" ("element_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_element_id' AND type='index'   (1.3ms) CREATE INDEX "index_adeia_permissions_on_owner_type_and_owner_id" ON "adeia_permissions" ("owner_type", "owner_id")  (1.4ms) CREATE TABLE "adeia_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar, "valid" boolean, "permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.1ms) CREATE INDEX "index_adeia_tokens_on_permission_id" ON "adeia_tokens" ("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.5ms) 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.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150943')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161522')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161532')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145900')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145901')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145902')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145903')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150941')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150942') ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action_id" integer, "permission_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (1.2ms) CREATE INDEX "index_adeia_action_permissions_on_action_id" ON "adeia_action_permissions" ("action_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index'  (1.1ms) CREATE INDEX "index_adeia_action_permissions_on_permission_id" ON "adeia_action_permissions" ("permission_id")  (1.4ms) 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.4ms) CREATE TABLE "adeia_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.2ms) CREATE INDEX "index_adeia_group_users_on_group_id" ON "adeia_group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_group_id' AND type='index'  (1.1ms) 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.1ms) CREATE TABLE "adeia_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "owner_type" varchar, "element_id" integer, "permission_type" integer, "read_right" boolean, "create_right" boolean, "update_right" boolean, "destroy_right" boolean, "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE INDEX "index_adeia_permissions_on_element_id" ON "adeia_permissions" ("element_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_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.0ms) CREATE TABLE "adeia_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar, "valid" boolean, "permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.2ms) CREATE INDEX "index_adeia_tokens_on_permission_id" ON "adeia_tokens" ("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.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.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150943')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161522')  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161532')  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145900')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145901')  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145902')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145903')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150941')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150942') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.5ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action_id" integer, "permission_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (1.2ms) CREATE INDEX "index_adeia_action_permissions_on_action_id" ON "adeia_action_permissions" ("action_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index'  (1.1ms) CREATE INDEX "index_adeia_action_permissions_on_permission_id" ON "adeia_action_permissions" ("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.0ms) CREATE TABLE "adeia_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.3ms) CREATE INDEX "index_adeia_group_users_on_group_id" ON "adeia_group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_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.1ms) CREATE TABLE "adeia_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "owner_type" varchar, "element_id" integer, "permission_type" integer, "read_right" boolean, "create_right" boolean, "update_right" boolean, "destroy_right" boolean, "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.1ms) CREATE INDEX "index_adeia_permissions_on_element_id" ON "adeia_permissions" ("element_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_element_id' AND type='index'   (1.2ms) 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, "valid" boolean, "permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.1ms) CREATE INDEX "index_adeia_tokens_on_permission_id" ON "adeia_tokens" ("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.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.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150943')  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161522')  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150930161532')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145900')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145901')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145902')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003145903')  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150941')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150942') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateAdeiaElements (20151003144041)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144041"]]  (1.1ms) commit transaction Migrating to CreateAdeiaPermissions (20151003144208)  (0.1ms) begin transaction  (0.7ms) CREATE TABLE "adeia_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "owner_type" varchar, "element_id" integer, "permission_type" integer, "read_right" boolean, "create_right" boolean, "update_right" boolean, "destroy_right" boolean, "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.3ms) CREATE INDEX "index_adeia_permissions_on_owner_type_and_owner_id" ON "adeia_permissions" ("owner_type", "owner_id")  (0.2ms) 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.2ms) CREATE INDEX "index_adeia_permissions_on_element_id" ON "adeia_permissions" ("element_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144208"]]  (1.4ms) commit transaction Migrating to CreateAdeiaGroups (20151003144650)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "adeia_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144650"]]  (1.0ms) commit transaction Migrating to CreateAdeiaGroupUsers (20151003144706)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "adeia_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE INDEX "index_adeia_group_users_on_group_id" ON "adeia_group_users" ("group_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_group_id' AND type='index'   (0.1ms) CREATE INDEX "index_adeia_group_users_on_user_id" ON "adeia_group_users" ("user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144706"]]  (1.0ms) commit transaction Migrating to CreateAdeiaTokens (20151003150524)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "adeia_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar, "valid" boolean, "permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE INDEX "index_adeia_tokens_on_permission_id" ON "adeia_tokens" ("permission_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003150524"]]  (0.9ms) commit transaction Migrating to CreateAdeiaActions (20151003150747)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "adeia_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003150747"]]  (0.8ms) commit transaction Migrating to CreateAdeiaActionPermissions (20151003150806)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action_id" integer, "permission_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE INDEX "index_adeia_action_permissions_on_action_id" ON "adeia_action_permissions" ("action_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index'   (0.2ms) CREATE INDEX "index_adeia_action_permissions_on_permission_id" ON "adeia_action_permissions" ("permission_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003150806"]]  (0.9ms) commit transaction 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_permission_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_permission_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_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.2ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_group_id' AND type='index'   (0.3ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_element_id' AND type='index'  (0.2ms)  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.2ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_tokens_on_permission_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_tokens_on_permission_id' AND type='index' ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ---------------------------------------- UsersControllerTest: test_should_get_new ----------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- UsersControllerTest: test_should_get_edit -----------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ UsersControllerTest: test_should_show_user ------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------- UsersControllerTest: test_should_create_user --------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ UsersControllerTest: test_should_get_index ------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------- UsersControllerTest: test_should_destroy_user ---------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------- UsersControllerTest: test_should_update_user --------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------- ExampleTest: test_truth -----------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------- ArticlesControllerTest: test_should_create_article --------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------ ArticlesControllerTest: test_should_show_article ------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------- ArticlesControllerTest: test_should_destroy_article ---------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------- ArticlesControllerTest: test_should_get_edit --------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------- ArticlesControllerTest: test_should_get_new -------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------- ArticlesControllerTest: test_should_get_index ---------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------- ArticlesControllerTest: test_should_update_article --------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ----------------------- ExampleTest: test_truth -----------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ----------------------- ExampleTest: test_truth -----------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) 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 1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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 1  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.5ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" 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" ActiveRecord::SchemaMigration Load (0.6ms) 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 1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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 1  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) begin transaction Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.5ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (1.2ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action_id" integer, "permission_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_adeia_action_permissions_on_action_id" ON "adeia_action_permissions" ("action_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index'  (1.1ms) CREATE INDEX "index_adeia_action_permissions_on_permission_id" ON "adeia_action_permissions" ("permission_id")  (1.1ms) 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, "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_group_id" ON "adeia_group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_group_id' AND type='index'  (1.2ms) CREATE INDEX "index_adeia_group_users_on_user_id" ON "adeia_group_users" ("user_id")  (1.6ms) CREATE TABLE "adeia_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.1ms) CREATE TABLE "adeia_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "owner_type" varchar, "element_id" integer, "permission_type" integer, "read_right" boolean, "create_right" boolean, "update_right" boolean, "destroy_right" boolean, "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.1ms) CREATE INDEX "index_adeia_permissions_on_element_id" ON "adeia_permissions" ("element_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_element_id' AND type='index'   (1.0ms) 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, "valid" boolean, "permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE INDEX "index_adeia_tokens_on_permission_id" ON "adeia_tokens" ("permission_id")  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.5ms) SELECT version FROM "schema_migrations"  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151003150806') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateAdeiaElements (20151003144041)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQLite3::SQLException: table "adeia_elements" already exists: CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) rollback transaction  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateAdeiaElements (20151003144041)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144041"]]  (0.9ms) commit transaction Migrating to CreateAdeiaPermissions (20151003144208)  (0.1ms) begin transaction  (0.8ms) CREATE TABLE "adeia_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "owner_type" varchar, "element_id" integer, "permission_type" integer, "read_right" boolean, "create_right" boolean, "update_right" boolean, "destroy_right" boolean, "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE INDEX "index_adeia_permissions_on_owner_type_and_owner_id" ON "adeia_permissions" ("owner_type", "owner_id")  (0.2ms) 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.2ms) CREATE INDEX "index_adeia_permissions_on_element_id" ON "adeia_permissions" ("element_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144208"]]  (1.2ms) commit transaction Migrating to CreateAdeiaGroups (20151003144650)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "adeia_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144650"]]  (1.1ms) commit transaction Migrating to CreateAdeiaGroupUsers (20151003144706)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "adeia_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE INDEX "index_adeia_group_users_on_group_id" ON "adeia_group_users" ("group_id")  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_group_id' AND type='index'   (0.3ms) CREATE INDEX "index_adeia_group_users_on_user_id" ON "adeia_group_users" ("user_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144706"]]  (1.4ms) commit transaction Migrating to CreateAdeiaTokens (20151003150524)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "adeia_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar, "is_valid" boolean, "permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE INDEX "index_adeia_tokens_on_permission_id" ON "adeia_tokens" ("permission_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003150524"]]  (0.9ms) commit transaction Migrating to CreateAdeiaActions (20151003150747)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "adeia_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003150747"]]  (1.0ms) commit transaction Migrating to CreateAdeiaActionPermissions (20151003150806)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action_id" integer, "permission_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE INDEX "index_adeia_action_permissions_on_action_id" ON "adeia_action_permissions" ("action_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index'   (0.1ms) CREATE INDEX "index_adeia_action_permissions_on_permission_id" ON "adeia_action_permissions" ("permission_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003150806"]]  (1.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_permission_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_permission_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_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.2ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_group_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_element_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_owner_type_and_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_owner_type_and_owner_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_tokens_on_permission_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_tokens_on_permission_id' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.8ms) 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", "2015-10-05 18:44:25.127048"], ["updated_at", "2015-10-05 18:44:25.127048"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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 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 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-05 18:44:35.343126"], ["updated_at", "2015-10-05 18:44:35.343126"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.9ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.2ms) 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 (47.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-05 18:44:46.616136"], ["updated_at", "2015-10-05 18:44:46.616136"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-05 18:44:46.684942"], ["updated_at", "2015-10-05 18:44:46.684942"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.9ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.2ms) 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", "2015-10-05 18:48:26.853878"], ["updated_at", "2015-10-05 18:48:26.853878"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.8ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-05 18:49:15.679291"], ["updated_at", "2015-10-05 18:49:15.679291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.8ms) 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", "2015-10-05 18:49:33.245493"], ["updated_at", "2015-10-05 18:49:33.245493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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 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 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-05 18:49:43.608189"], ["updated_at", "2015-10-05 18:49:43.608189"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-05 18:49:43.626377"], ["updated_at", "2015-10-05 18:49:43.626377"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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 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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-05 18:50:47.169367"], ["updated_at", "2015-10-05 18:50:47.169367"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-05 18:50:47.186585"], ["updated_at", "2015-10-05 18:50:47.186585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.9ms) 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", "2015-10-05 18:52:28.396045"], ["updated_at", "2015-10-05 18:52:28.396045"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-05 18:52:28.414211"], ["updated_at", "2015-10-05 18:52:28.414211"]]  (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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-05 18:52:28.447826"], ["updated_at", "2015-10-05 18:52:28.447826"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) 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 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 (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-05 18:53:31.698644"], ["updated_at", "2015-10-05 18:53:31.698644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-05 18:53:31.718393"], ["updated_at", "2015-10-05 18:53:31.718393"]]  (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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-05 18:53:31.752561"], ["updated_at", "2015-10-05 18:53:31.752561"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("element_id", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["created_at", "2015-10-05 18:53:31.756418"], ["updated_at", "2015-10-05 18:53:31.756418"]] SQL (1.5ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-05 18:53:31.759501"], ["updated_at", "2015-10-05 18:53:31.759501"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "w1I0rOoR6qd9d_8iEW2hWQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-05"], ["created_at", "2015-10-05 18:53:31.768889"], ["updated_at", "2015-10-05 18:53:31.768889"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "w1I0rOoR6qd9d_8iEW2hWQ"]]  (0.3ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE (ownerships.id = 1 AND elements.name = 'admin/articles' AND create_right = 't') SQLite3::SQLException: no such column: ownerships.id: SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE (ownerships.id = 1 AND elements.name = 'admin/articles' AND create_right = 't')  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) 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.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-05 18:54:24.297815"], ["updated_at", "2015-10-05 18:54:24.297815"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-05 18:54:24.313121"], ["updated_at", "2015-10-05 18:54:24.313121"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-05 18:54:24.322808"], ["updated_at", "2015-10-05 18:54:24.322808"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-05 18:54:24.347054"], ["updated_at", "2015-10-05 18:54:24.347054"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-05 18:54:24.348645"], ["updated_at", "2015-10-05 18:54:24.348645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "N3u5W-bD-5QahZUKqFnToQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-05"], ["created_at", "2015-10-05 18:54:24.351804"], ["updated_at", "2015-10-05 18:54:24.351804"]]  (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", "N3u5W-bD-5QahZUKqFnToQ"]]  (0.4ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE (ownerships.id = 1 AND elements.name = 'admin/articles' AND create_right = 't') SQLite3::SQLException: no such column: ownerships.id: SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE (ownerships.id = 1 AND elements.name = 'admin/articles' AND create_right = 't')  (2.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-05 18:55:10.855623"], ["updated_at", "2015-10-05 18:55:10.855623"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.5ms) 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", "2015-10-05 18:55:10.872851"], ["updated_at", "2015-10-05 18:55:10.872851"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-05 18:55:10.883991"], ["updated_at", "2015-10-05 18:55:10.883991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-05 18:55:10.910539"], ["updated_at", "2015-10-05 18:55:10.910539"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-05 18:55:10.913421"], ["updated_at", "2015-10-05 18:55:10.913421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "bUaM2YAJBQa-VDCKiAKjAA"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-05"], ["created_at", "2015-10-05 18:55:10.918206"], ["updated_at", "2015-10-05 18:55:10.918206"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (1.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "bUaM2YAJBQa-VDCKiAKjAA"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE (ownerships.id = 1 AND elements.name = 'admin/articles' AND create_right = 't') SQLite3::SQLException: no such column: ownerships.id: SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE (ownerships.id = 1 AND elements.name = 'admin/articles' AND create_right = 't')  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.2ms) 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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-05 18:55:43.311957"], ["updated_at", "2015-10-05 18:55:43.311957"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-05 18:55:43.330232"], ["updated_at", "2015-10-05 18:55:43.330232"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-05 18:55:43.344573"], ["updated_at", "2015-10-05 18:55:43.344573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-05 18:55:43.371817"], ["updated_at", "2015-10-05 18:55:43.371817"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-05 18:55:43.373471"], ["updated_at", "2015-10-05 18:55:43.373471"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "ILixgn6YuTd9cY8XicEjhQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-05"], ["created_at", "2015-10-05 18:55:43.376528"], ["updated_at", "2015-10-05 18:55:43.376528"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "ILixgn6YuTd9cY8XicEjhQ"]]  (0.3ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE (permission.id = 1 AND elements.name = 'admin/articles' AND create_right = 't') SQLite3::SQLException: no such column: permission.id: SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE (permission.id = 1 AND elements.name = 'admin/articles' AND create_right = 't')  (1.1ms) 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 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 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", "2015-10-05 18:58:09.791461"], ["updated_at", "2015-10-05 18:58:09.791461"]]  (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", "2015-10-05 18:58:09.809439"], ["updated_at", "2015-10-05 18:58:09.809439"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-05 18:58:09.825429"], ["updated_at", "2015-10-05 18:58:09.825429"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-05 18:58:09.852967"], ["updated_at", "2015-10-05 18:58:09.852967"]] SQL (1.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-05 18:58:09.856214"], ["updated_at", "2015-10-05 18:58:09.856214"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "VUz9On_v_2_tiHqfze5U6Q"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-05"], ["created_at", "2015-10-05 18:58:09.860735"], ["updated_at", "2015-10-05 18:58:09.860735"]]  (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", "VUz9On_v_2_tiHqfze5U6Q"]]  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 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 (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-05 18:58:41.378133"], ["updated_at", "2015-10-05 18:58:41.378133"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-05 18:58:41.396304"], ["updated_at", "2015-10-05 18:58:41.396304"]]  (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", "2015-10-05 18:58:41.408299"], ["updated_at", "2015-10-05 18:58:41.408299"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-05 18:58:41.437154"], ["updated_at", "2015-10-05 18:58:41.437154"]] SQL (1.5ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-05 18:58:41.440800"], ["updated_at", "2015-10-05 18:58:41.440800"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "XZK0IhFco69ZQDRZY7o7Gg"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-05"], ["created_at", "2015-10-05 18:58:41.445892"], ["updated_at", "2015-10-05 18:58:41.445892"]]  (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", "XZK0IhFco69ZQDRZY7o7Gg"]]  (0.3ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "elements"."name" = ? [["id", 1], ["create_right", "t"], ["name", "admin/articles"]] SQLite3::SQLException: no such column: elements.name: SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "elements"."name" = ?  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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 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 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-05 18:59:56.108919"], ["updated_at", "2015-10-05 18:59:56.108919"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-05 18:59:56.130044"], ["updated_at", "2015-10-05 18:59:56.130044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-05 18:59:56.141320"], ["updated_at", "2015-10-05 18:59:56.141320"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-05 18:59:56.169127"], ["updated_at", "2015-10-05 18:59:56.169127"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-05 18:59:56.172886"], ["updated_at", "2015-10-05 18:59:56.172886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "AHg0RNuJw-zLMMr4elD-DQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-05"], ["created_at", "2015-10-05 18:59:56.178492"], ["updated_at", "2015-10-05 18:59:56.178492"]]  (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", "AHg0RNuJw-zLMMr4elD-DQ"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) 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", "2015-10-05 19:02:05.549462"], ["updated_at", "2015-10-05 19:02:05.549462"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-05 19:02:05.565807"], ["updated_at", "2015-10-05 19:02:05.565807"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-05 19:02:05.578751"], ["updated_at", "2015-10-05 19:02:05.578751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-05 19:02:05.604701"], ["updated_at", "2015-10-05 19:02:05.604701"]] SQL (0.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-05 19:02:05.607382"], ["updated_at", "2015-10-05 19:02:05.607382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "Q143bwPj1FFFooZnvgAzFA"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-05"], ["created_at", "2015-10-05 19:02:05.621166"], ["updated_at", "2015-10-05 19:02:05.621166"]]  (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", "Q143bwPj1FFFooZnvgAzFA"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.0ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.8ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-05 19:03:25.554681"], ["updated_at", "2015-10-05 19:03:25.554681"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-05 19:03:25.576815"], ["updated_at", "2015-10-05 19:03:25.576815"]]  (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", "2015-10-05 19:03:25.590527"], ["updated_at", "2015-10-05 19:03:25.590527"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-05 19:03:25.622769"], ["updated_at", "2015-10-05 19:03:25.622769"]] SQL (1.6ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-05 19:03:25.626501"], ["updated_at", "2015-10-05 19:03:25.626501"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "j5C27JEq6rq5iCn5KbXuHg"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-05"], ["created_at", "2015-10-05 19:03:25.637359"], ["updated_at", "2015-10-05 19:03:25.637359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "j5C27JEq6rq5iCn5KbXuHg"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.9ms) 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 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 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", "2015-10-06 15:05:50.491527"], ["updated_at", "2015-10-06 15:05:50.491527"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.5ms) 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", "2015-10-06 15:05:50.511253"], ["updated_at", "2015-10-06 15:05:50.511253"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-06 15:05:50.522729"], ["updated_at", "2015-10-06 15:05:50.522729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:05:50.550529"], ["updated_at", "2015-10-06 15:05:50.550529"]] SQL (1.6ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:05:50.553241"], ["updated_at", "2015-10-06 15:05:50.553241"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "XKiPqwBYUMZM_7mYcqsl-Q"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-06"], ["created_at", "2015-10-06 15:05:50.567048"], ["updated_at", "2015-10-06 15:05:50.567048"]]  (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", "XKiPqwBYUMZM_7mYcqsl-Q"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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  (0.1ms) 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 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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:07:19.156918"], ["updated_at", "2015-10-06 15:07:19.156918"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) 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", "2015-10-06 15:07:19.174651"], ["updated_at", "2015-10-06 15:07:19.174651"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 15:07:19.185793"], ["updated_at", "2015-10-06 15:07:19.185793"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:07:19.214982"], ["updated_at", "2015-10-06 15:07:19.214982"]] SQL (1.7ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:07:19.217848"], ["updated_at", "2015-10-06 15:07:19.217848"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "p_ZlG7cMxLSaRAuFdaMSvA"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-06"], ["created_at", "2015-10-06 15:07:19.228022"], ["updated_at", "2015-10-06 15:07:19.228022"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "p_ZlG7cMxLSaRAuFdaMSvA"]]  (0.5ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.5ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (3.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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 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 (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:10:27.330853"], ["updated_at", "2015-10-06 15:10:27.330853"]]  (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", "2015-10-06 15:10:27.347600"], ["updated_at", "2015-10-06 15:10:27.347600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-06 15:10:27.358938"], ["updated_at", "2015-10-06 15:10:27.358938"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:10:27.384910"], ["updated_at", "2015-10-06 15:10:27.384910"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:10:27.387663"], ["updated_at", "2015-10-06 15:10:27.387663"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "PLUkZ0N6gbG6dKwVH9Hu0g"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-06"], ["created_at", "2015-10-06 15:10:27.398127"], ["updated_at", "2015-10-06 15:10:27.398127"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "PLUkZ0N6gbG6dKwVH9Hu0g"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1  (0.1ms) 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 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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:15:29.318330"], ["updated_at", "2015-10-06 15:15:29.318330"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.5ms) 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", "2015-10-06 15:15:29.336268"], ["updated_at", "2015-10-06 15:15:29.336268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-06 15:15:29.347394"], ["updated_at", "2015-10-06 15:15:29.347394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:15:29.376719"], ["updated_at", "2015-10-06 15:15:29.376719"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:15:29.379522"], ["updated_at", "2015-10-06 15:15:29.379522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "K70xCjZVy9C3WpWjfMAnMA"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-06"], ["created_at", "2015-10-06 15:15:29.390146"], ["updated_at", "2015-10-06 15:15:29.390146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "K70xCjZVy9C3WpWjfMAnMA"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (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 1 Adeia::Group Load (0.7ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1  (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.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:15:29.418402"], ["updated_at", "2015-10-06 15:15:29.418402"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:16:46.439021"], ["updated_at", "2015-10-06 15:16:46.439021"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) 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", "2015-10-06 15:16:46.457320"], ["updated_at", "2015-10-06 15:16:46.457320"]]  (0.0ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 15:16:46.468535"], ["updated_at", "2015-10-06 15:16:46.468535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:16:46.495518"], ["updated_at", "2015-10-06 15:16:46.495518"]] SQL (1.5ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:16:46.498356"], ["updated_at", "2015-10-06 15:16:46.498356"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "oU-93zucUI0MkdluztNPfw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-06"], ["created_at", "2015-10-06 15:16:46.509019"], ["updated_at", "2015-10-06 15:16:46.509019"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "oU-93zucUI0MkdluztNPfw"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.5ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:16:46.538527"], ["updated_at", "2015-10-06 15:16:46.538527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.5ms) 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.8ms) 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", "2015-10-06 15:16:57.148436"], ["updated_at", "2015-10-06 15:16:57.148436"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) 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", "2015-10-06 15:16:57.165700"], ["updated_at", "2015-10-06 15:16:57.165700"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-06 15:16:57.180689"], ["updated_at", "2015-10-06 15:16:57.180689"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:16:57.209290"], ["updated_at", "2015-10-06 15:16:57.209290"]] SQL (1.7ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:16:57.212885"], ["updated_at", "2015-10-06 15:16:57.212885"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "82EdpMqU8xmNOz29vbDleQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-06"], ["created_at", "2015-10-06 15:16:57.227860"], ["updated_at", "2015-10-06 15:16:57.227860"]]  (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", "82EdpMqU8xmNOz29vbDleQ"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.2ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:16:57.256540"], ["updated_at", "2015-10-06 15:16:57.256540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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 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 (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:21:58.012759"], ["updated_at", "2015-10-06 15:21:58.012759"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.5ms) 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", "2015-10-06 15:21:58.031030"], ["updated_at", "2015-10-06 15:21:58.031030"]]  (0.0ms) 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", "2015-10-06 15:21:58.044920"], ["updated_at", "2015-10-06 15:21:58.044920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:21:58.072212"], ["updated_at", "2015-10-06 15:21:58.072212"]] SQL (1.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:21:58.075340"], ["updated_at", "2015-10-06 15:21:58.075340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "bvUwLExDxevmr4F0HLrLeQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-06"], ["created_at", "2015-10-06 15:21:58.085769"], ["updated_at", "2015-10-06 15:21:58.085769"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "bvUwLExDxevmr4F0HLrLeQ"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.0ms) 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.6ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1  (0.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:21:58.115897"], ["updated_at", "2015-10-06 15:21:58.115897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.8ms) 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", "2015-10-06 15:29:56.965657"], ["updated_at", "2015-10-06 15:29:56.965657"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-06 15:29:56.984565"], ["updated_at", "2015-10-06 15:29:56.984565"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 15:29:56.995355"], ["updated_at", "2015-10-06 15:29:56.995355"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:29:57.026194"], ["updated_at", "2015-10-06 15:29:57.026194"]] SQL (1.5ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:29:57.029156"], ["updated_at", "2015-10-06 15:29:57.029156"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "lkVdCMjGW0p7FL2AspO9Zg"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-06"], ["created_at", "2015-10-06 15:29:57.040794"], ["updated_at", "2015-10-06 15:29:57.040794"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "lkVdCMjGW0p7FL2AspO9Zg"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.5ms) 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 (2.4ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:31:13.071644"], ["updated_at", "2015-10-06 15:31:13.071644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.4ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-06 15:31:13.099168"], ["updated_at", "2015-10-06 15:31:13.099168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (1.7ms) 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", "2015-10-06 15:31:13.120281"], ["updated_at", "2015-10-06 15:31:13.120281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (3.7ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:31:13.172589"], ["updated_at", "2015-10-06 15:31:13.172589"]] SQL (1.8ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:31:13.178591"], ["updated_at", "2015-10-06 15:31:13.178591"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "OLIz_WRXjA1zhwAAuPpW4w"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-06"], ["created_at", "2015-10-06 15:31:13.199572"], ["updated_at", "2015-10-06 15:31:13.199572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.9ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "OLIz_WRXjA1zhwAAuPpW4w"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) 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.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", "2015-10-06 15:32:57.348228"], ["updated_at", "2015-10-06 15:32:57.348228"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-06 15:32:57.361801"], ["updated_at", "2015-10-06 15:32:57.361801"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 15:32:57.371860"], ["updated_at", "2015-10-06 15:32:57.371860"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:32:57.399062"], ["updated_at", "2015-10-06 15:32:57.399062"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:32:57.400786"], ["updated_at", "2015-10-06 15:32:57.400786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "krzGM6QFvrbyuPMuyMBnxw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-06"], ["created_at", "2015-10-06 15:32:57.410215"], ["updated_at", "2015-10-06 15:32:57.410215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.5ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "krzGM6QFvrbyuPMuyMBnxw"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (2.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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 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", "2015-10-06 15:37:05.089861"], ["updated_at", "2015-10-06 15:37:05.089861"]]  (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", "2015-10-06 15:37:05.107149"], ["updated_at", "2015-10-06 15:37:05.107149"]]  (0.0ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 15:37:05.117387"], ["updated_at", "2015-10-06 15:37:05.117387"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:37:05.143943"], ["updated_at", "2015-10-06 15:37:05.143943"]] SQL (1.8ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:37:05.146500"], ["updated_at", "2015-10-06 15:37:05.146500"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "VjeYUE7T9r8KuMTQyB0CRA"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-06"], ["created_at", "2015-10-06 15:37:05.157552"], ["updated_at", "2015-10-06 15:37:05.157552"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "VjeYUE7T9r8KuMTQyB0CRA"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.8ms) 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", "2015-10-06 15:39:23.044187"], ["updated_at", "2015-10-06 15:39:23.044187"]]  (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", "2015-10-06 15:39:23.062569"], ["updated_at", "2015-10-06 15:39:23.062569"]]  (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", "2015-10-06 15:39:23.073349"], ["updated_at", "2015-10-06 15:39:23.073349"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:39:23.103259"], ["updated_at", "2015-10-06 15:39:23.103259"]] SQL (1.7ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:39:23.106152"], ["updated_at", "2015-10-06 15:39:23.106152"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "Q03sP-X_2gSNCjVWTA0p4A"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-06"], ["created_at", "2015-10-06 15:39:23.117711"], ["updated_at", "2015-10-06 15:39:23.117711"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "Q03sP-X_2gSNCjVWTA0p4A"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) 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.6ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."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 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", "2015-10-06 15:39:23.169129"], ["updated_at", "2015-10-06 15:39:23.169129"]]  (0.2ms) 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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 15:39:23.174163"], ["updated_at", "2015-10-06 15:39:23.174163"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-06 15:39:23.179715"], ["updated_at", "2015-10-06 15:39:23.179715"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:39:23.182021"], ["updated_at", "2015-10-06 15:39:23.182021"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Element Load (0.8ms) 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", "2015-10-06 15:48:50.488511"], ["updated_at", "2015-10-06 15:48:50.488511"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 15:48:50.508011"], ["updated_at", "2015-10-06 15:48:50.508011"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:48:50.541106"], ["updated_at", "2015-10-06 15:48:50.541106"]] SQL (1.9ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:48:50.544874"], ["updated_at", "2015-10-06 15:48:50.544874"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.6ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) 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", "2015-10-06 15:50:30.397830"], ["updated_at", "2015-10-06 15:50:30.397830"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 15:50:30.416551"], ["updated_at", "2015-10-06 15:50:30.416551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:50:30.457219"], ["updated_at", "2015-10-06 15:50:30.457219"]] SQL (1.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:50:30.460224"], ["updated_at", "2015-10-06 15:50:30.460224"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.6ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:51:18.194768"], ["updated_at", "2015-10-06 15:51:18.194768"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 15:51:18.217315"], ["updated_at", "2015-10-06 15:51:18.217315"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:51:18.248433"], ["updated_at", "2015-10-06 15:51:18.248433"]] SQL (1.8ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:51:18.251348"], ["updated_at", "2015-10-06 15:51:18.251348"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.7ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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", "2015-10-06 15:51:44.561497"], ["updated_at", "2015-10-06 15:51:44.561497"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-06 15:51:44.580966"], ["updated_at", "2015-10-06 15:51:44.580966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:51:44.613047"], ["updated_at", "2015-10-06 15:51:44.613047"]] SQL (1.8ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:51:44.615713"], ["updated_at", "2015-10-06 15:51:44.615713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.6ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) 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 (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:52:05.313898"], ["updated_at", "2015-10-06 15:52:05.313898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-06 15:52:05.333503"], ["updated_at", "2015-10-06 15:52:05.333503"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:52:05.364448"], ["updated_at", "2015-10-06 15:52:05.364448"]] SQL (1.5ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:52:05.367454"], ["updated_at", "2015-10-06 15:52:05.367454"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.7ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Element Load (0.3ms) 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", "2015-10-06 15:52:45.609231"], ["updated_at", "2015-10-06 15:52:45.609231"]]  (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", "2015-10-06 15:52:45.623949"], ["updated_at", "2015-10-06 15:52:45.623949"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:52:45.652615"], ["updated_at", "2015-10-06 15:52:45.652615"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:52:45.654473"], ["updated_at", "2015-10-06 15:52:45.654473"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001  (2.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Element Load (0.6ms) 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", "2015-10-06 15:53:13.452149"], ["updated_at", "2015-10-06 15:53:13.452149"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-06 15:53:13.471156"], ["updated_at", "2015-10-06 15:53:13.471156"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:53:13.502058"], ["updated_at", "2015-10-06 15:53:13.502058"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:53:13.504866"], ["updated_at", "2015-10-06 15:53:13.504866"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.7ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:54:01.993219"], ["updated_at", "2015-10-06 15:54:01.993219"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 15:54:02.014729"], ["updated_at", "2015-10-06 15:54:02.014729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:54:02.048744"], ["updated_at", "2015-10-06 15:54:02.048744"]] SQL (1.9ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:54:02.052593"], ["updated_at", "2015-10-06 15:54:02.052593"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.7ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:54:17.899836"], ["updated_at", "2015-10-06 15:54:17.899836"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-06 15:54:17.920882"], ["updated_at", "2015-10-06 15:54:17.920882"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:54:17.950862"], ["updated_at", "2015-10-06 15:54:17.950862"]] SQL (1.8ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:54:17.953859"], ["updated_at", "2015-10-06 15:54:17.953859"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.6ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:54:32.692518"], ["updated_at", "2015-10-06 15:54:32.692518"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (2.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", "2015-10-06 15:54:32.720573"], ["updated_at", "2015-10-06 15:54:32.720573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:54:32.755074"], ["updated_at", "2015-10-06 15:54:32.755074"]] SQL (1.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:54:32.757985"], ["updated_at", "2015-10-06 15:54:32.757985"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.5ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.8ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:54:43.240642"], ["updated_at", "2015-10-06 15:54:43.240642"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 15:54:43.260433"], ["updated_at", "2015-10-06 15:54:43.260433"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:54:43.290596"], ["updated_at", "2015-10-06 15:54:43.290596"]] SQL (1.7ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:54:43.293427"], ["updated_at", "2015-10-06 15:54:43.293427"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Adeia::Element Load (0.6ms) 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", "2015-10-06 15:54:52.835249"], ["updated_at", "2015-10-06 15:54:52.835249"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 15:54:52.856012"], ["updated_at", "2015-10-06 15:54:52.856012"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:54:52.887838"], ["updated_at", "2015-10-06 15:54:52.887838"]] SQL (1.8ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:54:52.891443"], ["updated_at", "2015-10-06 15:54:52.891443"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:55:13.160014"], ["updated_at", "2015-10-06 15:55:13.160014"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-06 15:55:13.177502"], ["updated_at", "2015-10-06 15:55:13.177502"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:55:13.207554"], ["updated_at", "2015-10-06 15:55:13.207554"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:55:13.210512"], ["updated_at", "2015-10-06 15:55:13.210512"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.6ms) 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:55:38.041771"], ["updated_at", "2015-10-06 15:55:38.041771"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 15:55:38.061837"], ["updated_at", "2015-10-06 15:55:38.061837"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:55:38.092648"], ["updated_at", "2015-10-06 15:55:38.092648"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:55:38.096297"], ["updated_at", "2015-10-06 15:55:38.096297"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Element Load (0.6ms) 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", "2015-10-06 15:56:01.368236"], ["updated_at", "2015-10-06 15:56:01.368236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-06 15:56:01.389171"], ["updated_at", "2015-10-06 15:56:01.389171"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:56:01.420841"], ["updated_at", "2015-10-06 15:56:01.420841"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:56:01.423658"], ["updated_at", "2015-10-06 15:56:01.423658"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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", "2015-10-06 15:56:33.478378"], ["updated_at", "2015-10-06 15:56:33.478378"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 15:56:33.498018"], ["updated_at", "2015-10-06 15:56:33.498018"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:56:33.528773"], ["updated_at", "2015-10-06 15:56:33.528773"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:56:33.531651"], ["updated_at", "2015-10-06 15:56:33.531651"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) 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 (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:56:45.506878"], ["updated_at", "2015-10-06 15:56:45.506878"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-06 15:56:45.525381"], ["updated_at", "2015-10-06 15:56:45.525381"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:56:45.556226"], ["updated_at", "2015-10-06 15:56:45.556226"]] SQL (1.8ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:56:45.559147"], ["updated_at", "2015-10-06 15:56:45.559147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Adeia::Element Load (0.8ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:57:43.286920"], ["updated_at", "2015-10-06 15:57:43.286920"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 15:57:43.306764"], ["updated_at", "2015-10-06 15:57:43.306764"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:57:43.337150"], ["updated_at", "2015-10-06 15:57:43.337150"]] SQL (1.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:57:43.340802"], ["updated_at", "2015-10-06 15:57:43.340802"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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", "2015-10-06 15:58:08.904158"], ["updated_at", "2015-10-06 15:58:08.904158"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 15:58:08.920443"], ["updated_at", "2015-10-06 15:58:08.920443"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:58:08.958986"], ["updated_at", "2015-10-06 15:58:08.958986"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:58:08.963305"], ["updated_at", "2015-10-06 15:58:08.963305"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:58:22.654874"], ["updated_at", "2015-10-06 15:58:22.654874"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 15:58:22.677181"], ["updated_at", "2015-10-06 15:58:22.677181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:58:22.707281"], ["updated_at", "2015-10-06 15:58:22.707281"]] SQL (1.7ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:58:22.710231"], ["updated_at", "2015-10-06 15:58:22.710231"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 (1.0ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:58:37.837262"], ["updated_at", "2015-10-06 15:58:37.837262"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.8ms) 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", "2015-10-06 15:58:37.859755"], ["updated_at", "2015-10-06 15:58:37.859755"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:58:37.895983"], ["updated_at", "2015-10-06 15:58:37.895983"]] SQL (1.7ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:58:37.898626"], ["updated_at", "2015-10-06 15:58:37.898626"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Element Load (0.6ms) 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", "2015-10-06 15:59:20.844511"], ["updated_at", "2015-10-06 15:59:20.844511"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 15:59:20.864302"], ["updated_at", "2015-10-06 15:59:20.864302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:59:20.894929"], ["updated_at", "2015-10-06 15:59:20.894929"]] SQL (1.6ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:59:20.897829"], ["updated_at", "2015-10-06 15:59:20.897829"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.8ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 15:59:32.669533"], ["updated_at", "2015-10-06 15:59:32.669533"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 15:59:32.689155"], ["updated_at", "2015-10-06 15:59:32.689155"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:59:32.724517"], ["updated_at", "2015-10-06 15:59:32.724517"]] SQL (1.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:59:32.727275"], ["updated_at", "2015-10-06 15:59:32.727275"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.5ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Element Load (0.6ms) 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", "2015-10-06 15:59:46.694864"], ["updated_at", "2015-10-06 15:59:46.694864"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 15:59:46.714418"], ["updated_at", "2015-10-06 15:59:46.714418"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 15:59:46.754505"], ["updated_at", "2015-10-06 15:59:46.754505"]] SQL (1.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 15:59:46.758687"], ["updated_at", "2015-10-06 15:59:46.758687"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (1.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Element Load (0.6ms) 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", "2015-10-06 16:01:53.796486"], ["updated_at", "2015-10-06 16:01:53.796486"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:01:53.815348"], ["updated_at", "2015-10-06 16:01:53.815348"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:01:53.846680"], ["updated_at", "2015-10-06 16:01:53.846680"]] SQL (1.8ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:01:53.849561"], ["updated_at", "2015-10-06 16:01:53.849561"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.7ms) 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 16:02:33.297622"], ["updated_at", "2015-10-06 16:02:33.297622"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-06 16:02:33.322007"], ["updated_at", "2015-10-06 16:02:33.322007"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:02:33.353141"], ["updated_at", "2015-10-06 16:02:33.353141"]] SQL (1.7ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:02:33.356002"], ["updated_at", "2015-10-06 16:02:33.356002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.7ms) 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Element Load (0.8ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 16:02:48.513742"], ["updated_at", "2015-10-06 16:02:48.513742"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-06 16:02:48.532802"], ["updated_at", "2015-10-06 16:02:48.532802"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:02:48.563913"], ["updated_at", "2015-10-06 16:02:48.563913"]] SQL (1.7ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:02:48.566898"], ["updated_at", "2015-10-06 16:02:48.566898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.5ms) 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Element Load (0.6ms) 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", "2015-10-06 16:03:14.616424"], ["updated_at", "2015-10-06 16:03:14.616424"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:03:14.636010"], ["updated_at", "2015-10-06 16:03:14.636010"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:03:14.670771"], ["updated_at", "2015-10-06 16:03:14.670771"]] SQL (1.9ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:03:14.674279"], ["updated_at", "2015-10-06 16:03:14.674279"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.7ms) 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (3.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 (2.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 16:03:23.542783"], ["updated_at", "2015-10-06 16:03:23.542783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-06 16:03:23.563336"], ["updated_at", "2015-10-06 16:03:23.563336"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:03:23.594837"], ["updated_at", "2015-10-06 16:03:23.594837"]] SQL (1.8ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:03:23.599127"], ["updated_at", "2015-10-06 16:03:23.599127"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.7ms) 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 16:04:20.313409"], ["updated_at", "2015-10-06 16:04:20.313409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:04:20.332548"], ["updated_at", "2015-10-06 16:04:20.332548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:04:20.364430"], ["updated_at", "2015-10-06 16:04:20.364430"]] SQL (1.8ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:04:20.367531"], ["updated_at", "2015-10-06 16:04:20.367531"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.7ms) 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["read_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", "2015-10-06 16:04:20.393519"], ["updated_at", "2015-10-06 16:04:20.393519"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:04:20.396294"], ["updated_at", "2015-10-06 16:04:20.396294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:04:20.399560"], ["updated_at", "2015-10-06 16:04:20.399560"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:04:20.401312"], ["updated_at", "2015-10-06 16:04:20.401312"]]  (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::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 16:04:42.761644"], ["updated_at", "2015-10-06 16:04:42.761644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.8ms) 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", "2015-10-06 16:04:42.787857"], ["updated_at", "2015-10-06 16:04:42.787857"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:04:42.820713"], ["updated_at", "2015-10-06 16:04:42.820713"]] SQL (1.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:04:42.823838"], ["updated_at", "2015-10-06 16:04:42.823838"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.8ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1001 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 16:04:42.859120"], ["updated_at", "2015-10-06 16:04:42.859120"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:04:42.861788"], ["updated_at", "2015-10-06 16:04:42.861788"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:04:42.865146"], ["updated_at", "2015-10-06 16:04:42.865146"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:04:42.867076"], ["updated_at", "2015-10-06 16:04:42.867076"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1002 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.0ms) 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 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", "2015-10-06 16:05:41.222553"], ["updated_at", "2015-10-06 16:05:41.222553"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) 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", "2015-10-06 16:05:41.239024"], ["updated_at", "2015-10-06 16:05:41.239024"]]  (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", "2015-10-06 16:05:41.249745"], ["updated_at", "2015-10-06 16:05:41.249745"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:05:41.279321"], ["updated_at", "2015-10-06 16:05:41.279321"]] SQL (1.5ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:05:41.282370"], ["updated_at", "2015-10-06 16:05:41.282370"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "8_LoxWLac5Lomcr6Mj2InQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-06"], ["created_at", "2015-10-06 16:05:41.293410"], ["updated_at", "2015-10-06 16:05:41.293410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "8_LoxWLac5Lomcr6Mj2InQ"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.4ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.8ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 16:05:41.373204"], ["updated_at", "2015-10-06 16:05:41.373204"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:05:41.377162"], ["updated_at", "2015-10-06 16:05:41.377162"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-06 16:05:41.382210"], ["updated_at", "2015-10-06 16:05:41.382210"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:05:41.383756"], ["updated_at", "2015-10-06 16:05:41.383756"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 16:05:41.394041"], ["updated_at", "2015-10-06 16:05:41.394041"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:05:41.396584"], ["updated_at", "2015-10-06 16:05:41.396584"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:05:41.399417"], ["updated_at", "2015-10-06 16:05:41.399417"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:05:41.401044"], ["updated_at", "2015-10-06 16:05:41.401044"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-06 16:05:41.410521"], ["updated_at", "2015-10-06 16:05:41.410521"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:05:41.413317"], ["updated_at", "2015-10-06 16:05:41.413317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:05:41.416275"], ["updated_at", "2015-10-06 16:05:41.416275"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:05:41.417883"], ["updated_at", "2015-10-06 16:05:41.417883"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) 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.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", "2015-10-06 16:06:01.203952"], ["updated_at", "2015-10-06 16:06:01.203952"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.3ms) 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", "2015-10-06 16:06:01.221225"], ["updated_at", "2015-10-06 16:06:01.221225"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:06:01.236045"], ["updated_at", "2015-10-06 16:06:01.236045"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:06:01.262890"], ["updated_at", "2015-10-06 16:06:01.262890"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:06:01.264824"], ["updated_at", "2015-10-06 16:06:01.264824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "oaMc0G9M3Ypb4nhi9otjIg"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-06"], ["created_at", "2015-10-06 16:06:01.275920"], ["updated_at", "2015-10-06 16:06:01.275920"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "oaMc0G9M3Ypb4nhi9otjIg"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (2.3ms) 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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1003 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", "2015-10-06 16:06:01.335580"], ["updated_at", "2015-10-06 16:06:01.335580"]]  (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", "2015-10-06 16:06:01.339522"], ["updated_at", "2015-10-06 16:06:01.339522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-06 16:06:01.343190"], ["updated_at", "2015-10-06 16:06:01.343190"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:06:01.344736"], ["updated_at", "2015-10-06 16:06:01.344736"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1004 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 16:06:01.356174"], ["updated_at", "2015-10-06 16:06:01.356174"]]  (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", "2015-10-06 16:06:01.359440"], ["updated_at", "2015-10-06 16:06:01.359440"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:06:01.363199"], ["updated_at", "2015-10-06 16:06:01.363199"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:06:01.364973"], ["updated_at", "2015-10-06 16:06:01.364973"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1005 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (0.9ms) 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", "2015-10-06 16:06:01.374305"], ["updated_at", "2015-10-06 16:06:01.374305"]]  (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", "2015-10-06 16:06:01.377457"], ["updated_at", "2015-10-06 16:06:01.377457"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:06:01.381109"], ["updated_at", "2015-10-06 16:06:01.381109"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:06:01.382811"], ["updated_at", "2015-10-06 16:06:01.382811"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1006 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1006 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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.6ms) 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", "2015-10-06 16:07:20.301675"], ["updated_at", "2015-10-06 16:07:20.301675"]]  (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", "2015-10-06 16:07:20.319214"], ["updated_at", "2015-10-06 16:07:20.319214"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-06 16:07:20.330334"], ["updated_at", "2015-10-06 16:07:20.330334"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:07:20.362447"], ["updated_at", "2015-10-06 16:07:20.362447"]] SQL (1.7ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:07:20.365362"], ["updated_at", "2015-10-06 16:07:20.365362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "QC6t5v8X2_xZpTu20pdBUw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-06"], ["created_at", "2015-10-06 16:07:20.380049"], ["updated_at", "2015-10-06 16:07:20.380049"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "QC6t5v8X2_xZpTu20pdBUw"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (0.1ms) rollback transaction  (0.2ms) 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", "2015-10-06 16:07:20.421864"], ["updated_at", "2015-10-06 16:07:20.421864"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:07:20.424328"], ["updated_at", "2015-10-06 16:07:20.424328"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-06 16:07:20.427244"], ["updated_at", "2015-10-06 16:07:20.427244"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:07:20.428494"], ["updated_at", "2015-10-06 16:07:20.428494"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (0.9ms) 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", "2015-10-06 16:07:20.437316"], ["updated_at", "2015-10-06 16:07:20.437316"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:07:20.439955"], ["updated_at", "2015-10-06 16:07:20.439955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:07:20.442951"], ["updated_at", "2015-10-06 16:07:20.442951"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:07:20.445867"], ["updated_at", "2015-10-06 16:07:20.445867"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1005 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 16:07:20.455971"], ["updated_at", "2015-10-06 16:07:20.455971"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:07:20.458520"], ["updated_at", "2015-10-06 16:07:20.458520"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:07:20.461578"], ["updated_at", "2015-10-06 16:07:20.461578"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:07:20.463542"], ["updated_at", "2015-10-06 16:07:20.463542"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1006 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1006 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.1ms) 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 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", "2015-10-06 16:07:32.886560"], ["updated_at", "2015-10-06 16:07:32.886560"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-06 16:07:32.904066"], ["updated_at", "2015-10-06 16:07:32.904066"]]  (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", "2015-10-06 16:07:32.915616"], ["updated_at", "2015-10-06 16:07:32.915616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:07:32.945698"], ["updated_at", "2015-10-06 16:07:32.945698"]] SQL (1.6ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:07:32.948693"], ["updated_at", "2015-10-06 16:07:32.948693"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "_diYNo5A8o0Vnwcb8eYScg"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-06"], ["created_at", "2015-10-06 16:07:32.960575"], ["updated_at", "2015-10-06 16:07:32.960575"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "_diYNo5A8o0Vnwcb8eYScg"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.2ms) 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"."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"."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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 16:07:33.009941"], ["updated_at", "2015-10-06 16:07:33.009941"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:07:33.012815"], ["updated_at", "2015-10-06 16:07:33.012815"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-06 16:07:33.017143"], ["updated_at", "2015-10-06 16:07:33.017143"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:07:33.018518"], ["updated_at", "2015-10-06 16:07:33.018518"]]  (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"."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"."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"]]  (0.9ms) 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", "2015-10-06 16:07:33.029303"], ["updated_at", "2015-10-06 16:07:33.029303"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:07:33.031820"], ["updated_at", "2015-10-06 16:07:33.031820"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:07:33.034933"], ["updated_at", "2015-10-06 16:07:33.034933"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:07:33.036597"], ["updated_at", "2015-10-06 16:07:33.036597"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 16:07:33.046426"], ["updated_at", "2015-10-06 16:07:33.046426"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:07:33.049084"], ["updated_at", "2015-10-06 16:07:33.049084"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:07:33.052637"], ["updated_at", "2015-10-06 16:07:33.052637"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:07:33.054039"], ["updated_at", "2015-10-06 16:07:33.054039"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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 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 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 16:09:07.092569"], ["updated_at", "2015-10-06 16:09:07.092569"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-06 16:09:07.112031"], ["updated_at", "2015-10-06 16:09:07.112031"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-06 16:09:07.123951"], ["updated_at", "2015-10-06 16:09:07.123951"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:09:07.157971"], ["updated_at", "2015-10-06 16:09:07.157971"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:09:07.161001"], ["updated_at", "2015-10-06 16:09:07.161001"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "EUAuDGa69HqvU6QTVMqI6g"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-06"], ["created_at", "2015-10-06 16:09:07.172684"], ["updated_at", "2015-10-06 16:09:07.172684"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "EUAuDGa69HqvU6QTVMqI6g"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.2ms) rollback transaction  (0.2ms) 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.5ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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", "2015-10-06 16:09:07.254811"], ["updated_at", "2015-10-06 16:09:07.254811"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:09:07.259791"], ["updated_at", "2015-10-06 16:09:07.259791"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-06 16:09:07.263936"], ["updated_at", "2015-10-06 16:09:07.263936"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:09:07.265224"], ["updated_at", "2015-10-06 16:09:07.265224"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 16:09:07.277198"], ["updated_at", "2015-10-06 16:09:07.277198"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:09:07.280500"], ["updated_at", "2015-10-06 16:09:07.280500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:09:07.284003"], ["updated_at", "2015-10-06 16:09:07.284003"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:09:07.285743"], ["updated_at", "2015-10-06 16:09:07.285743"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-06 16:09:07.296889"], ["updated_at", "2015-10-06 16:09:07.296889"]]  (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", "2015-10-06 16:09:07.299667"], ["updated_at", "2015-10-06 16:09:07.299667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:09:07.302740"], ["updated_at", "2015-10-06 16:09:07.302740"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:09:07.304505"], ["updated_at", "2015-10-06 16:09:07.304505"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) 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.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", "2015-10-06 16:09:14.005393"], ["updated_at", "2015-10-06 16:09:14.005393"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.2ms) 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", "2015-10-06 16:09:14.021503"], ["updated_at", "2015-10-06 16:09:14.021503"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:09:14.032344"], ["updated_at", "2015-10-06 16:09:14.032344"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:09:14.060148"], ["updated_at", "2015-10-06 16:09:14.060148"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:09:14.062282"], ["updated_at", "2015-10-06 16:09:14.062282"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "bxVYPFATfC6dhB8vHZW2EQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-06"], ["created_at", "2015-10-06 16:09:14.072296"], ["updated_at", "2015-10-06 16:09:14.072296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "bxVYPFATfC6dhB8vHZW2EQ"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (2.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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."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 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", "2015-10-06 16:09:14.117936"], ["updated_at", "2015-10-06 16:09:14.117936"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:09:14.120654"], ["updated_at", "2015-10-06 16:09:14.120654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-06 16:09:14.124329"], ["updated_at", "2015-10-06 16:09:14.124329"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:09:14.125847"], ["updated_at", "2015-10-06 16:09:14.125847"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002  (0.9ms) 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", "2015-10-06 16:09:14.135127"], ["updated_at", "2015-10-06 16:09:14.135127"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:09:14.137604"], ["updated_at", "2015-10-06 16:09:14.137604"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:09:14.142755"], ["updated_at", "2015-10-06 16:09:14.142755"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:09:14.144197"], ["updated_at", "2015-10-06 16:09:14.144197"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."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 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", "2015-10-06 16:09:14.182845"], ["updated_at", "2015-10-06 16:09:14.182845"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:09:14.185848"], ["updated_at", "2015-10-06 16:09:14.185848"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:09:14.189458"], ["updated_at", "2015-10-06 16:09:14.189458"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:09:14.190799"], ["updated_at", "2015-10-06 16:09:14.190799"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) 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.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 16:09:48.508036"], ["updated_at", "2015-10-06 16:09:48.508036"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.2ms) 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", "2015-10-06 16:09:48.525688"], ["updated_at", "2015-10-06 16:09:48.525688"]]  (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", "2015-10-06 16:09:48.536990"], ["updated_at", "2015-10-06 16:09:48.536990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:09:48.567841"], ["updated_at", "2015-10-06 16:09:48.567841"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:09:48.569594"], ["updated_at", "2015-10-06 16:09:48.569594"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "qjyniFyoihmTnls-XGVFGA"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-06"], ["created_at", "2015-10-06 16:09:48.581617"], ["updated_at", "2015-10-06 16:09:48.581617"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "qjyniFyoihmTnls-XGVFGA"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.3ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-06 16:09:48.661016"], ["updated_at", "2015-10-06 16:09:48.661016"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:09:48.664281"], ["updated_at", "2015-10-06 16:09:48.664281"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-06 16:09:48.667507"], ["updated_at", "2015-10-06 16:09:48.667507"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:09:48.668738"], ["updated_at", "2015-10-06 16:09:48.668738"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-06 16:09:48.679151"], ["updated_at", "2015-10-06 16:09:48.679151"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:09:48.681740"], ["updated_at", "2015-10-06 16:09:48.681740"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:09:48.686278"], ["updated_at", "2015-10-06 16:09:48.686278"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:09:48.687601"], ["updated_at", "2015-10-06 16:09:48.687601"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-06 16:09:48.696750"], ["updated_at", "2015-10-06 16:09:48.696750"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-06 16:09:48.699490"], ["updated_at", "2015-10-06 16:09:48.699490"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-06 16:09:48.702526"], ["updated_at", "2015-10-06 16:09:48.702526"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-06 16:09:48.704257"], ["updated_at", "2015-10-06 16:09:48.704257"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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 ActiveRecord::SchemaMigration Load (0.7ms) 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 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 (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-07 17:16:03.072422"], ["updated_at", "2015-10-07 17:16:03.072422"]]  (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.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-07 17:16:03.090636"], ["updated_at", "2015-10-07 17:16:03.090636"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-07 17:16:03.105102"], ["updated_at", "2015-10-07 17:16:03.105102"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:16:03.137284"], ["updated_at", "2015-10-07 17:16:03.137284"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:16:03.140576"], ["updated_at", "2015-10-07 17:16:03.140576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "Zl6txF_GcAvIEXm6pwVFmw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-07"], ["created_at", "2015-10-07 17:16:03.154947"], ["updated_at", "2015-10-07 17:16:03.154947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "Zl6txF_GcAvIEXm6pwVFmw"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.6ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-07 17:16:03.268632"], ["updated_at", "2015-10-07 17:16:03.268632"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-07 17:16:03.271674"], ["updated_at", "2015-10-07 17:16:03.271674"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-07 17:16:03.275351"], ["updated_at", "2015-10-07 17:16:03.275351"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:16:03.276730"], ["updated_at", "2015-10-07 17:16:03.276730"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) 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", "2015-10-07 17:16:03.287614"], ["updated_at", "2015-10-07 17:16:03.287614"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-07 17:16:03.290167"], ["updated_at", "2015-10-07 17:16:03.290167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:16:03.293093"], ["updated_at", "2015-10-07 17:16:03.293093"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:16:03.294863"], ["updated_at", "2015-10-07 17:16:03.294863"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) 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", "2015-10-07 17:16:03.306659"], ["updated_at", "2015-10-07 17:16:03.306659"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-07 17:16:03.309563"], ["updated_at", "2015-10-07 17:16:03.309563"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:16:03.314466"], ["updated_at", "2015-10-07 17:16:03.314466"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:16:03.316711"], ["updated_at", "2015-10-07 17:16:03.316711"]]  (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"."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"."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"."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"]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 1  (0.1ms) rollback transaction  (0.2ms) 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 (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-07 17:18:36.300811"], ["updated_at", "2015-10-07 17:18:36.300811"]]  (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", "2015-10-07 17:18:36.317611"], ["updated_at", "2015-10-07 17:18:36.317611"]]  (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", "2015-10-07 17:18:36.329830"], ["updated_at", "2015-10-07 17:18:36.329830"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:18:36.366597"], ["updated_at", "2015-10-07 17:18:36.366597"]] SQL (1.5ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:18:36.371084"], ["updated_at", "2015-10-07 17:18:36.371084"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "iSjoESkvsAlQROljlGjY1A"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-07"], ["created_at", "2015-10-07 17:18:36.384693"], ["updated_at", "2015-10-07 17:18:36.384693"]]  (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", "iSjoESkvsAlQROljlGjY1A"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (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 1 Adeia::Group Load (0.5ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-07 17:18:36.458632"], ["updated_at", "2015-10-07 17:18:36.458632"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-07 17:18:36.461229"], ["updated_at", "2015-10-07 17:18:36.461229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-07 17:18:36.464228"], ["updated_at", "2015-10-07 17:18:36.464228"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:18:36.465461"], ["updated_at", "2015-10-07 17:18:36.465461"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-07 17:18:36.477841"], ["updated_at", "2015-10-07 17:18:36.477841"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-07 17:18:36.480343"], ["updated_at", "2015-10-07 17:18:36.480343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:18:36.483211"], ["updated_at", "2015-10-07 17:18:36.483211"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:18:36.485962"], ["updated_at", "2015-10-07 17:18:36.485962"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-07 17:18:36.497199"], ["updated_at", "2015-10-07 17:18:36.497199"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-07 17:18:36.499878"], ["updated_at", "2015-10-07 17:18:36.499878"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:18:36.502766"], ["updated_at", "2015-10-07 17:18:36.502766"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:18:36.504541"], ["updated_at", "2015-10-07 17:18:36.504541"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.3ms) 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.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-07 17:19:20.524103"], ["updated_at", "2015-10-07 17:19:20.524103"]]  (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.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-07 17:19:20.537600"], ["updated_at", "2015-10-07 17:19:20.537600"]]  (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", "2015-10-07 17:19:20.549131"], ["updated_at", "2015-10-07 17:19:20.549131"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:19:20.574120"], ["updated_at", "2015-10-07 17:19:20.574120"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:19:20.575922"], ["updated_at", "2015-10-07 17:19:20.575922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "tzR7Jeq4WhGLfqQAwaX2sQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-07"], ["created_at", "2015-10-07 17:19:20.592356"], ["updated_at", "2015-10-07 17:19:20.592356"]]  (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", "tzR7Jeq4WhGLfqQAwaX2sQ"]]  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.3ms) 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.2ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."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 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", "2015-10-07 17:19:20.659780"], ["updated_at", "2015-10-07 17:19:20.659780"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-07 17:19:20.662458"], ["updated_at", "2015-10-07 17:19:20.662458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-07 17:19:20.665479"], ["updated_at", "2015-10-07 17:19:20.665479"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:19:20.666744"], ["updated_at", "2015-10-07 17:19:20.666744"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002  (0.9ms) 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", "2015-10-07 17:19:20.675806"], ["updated_at", "2015-10-07 17:19:20.675806"]]  (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", "2015-10-07 17:19:20.678514"], ["updated_at", "2015-10-07 17:19:20.678514"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:19:20.681520"], ["updated_at", "2015-10-07 17:19:20.681520"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:19:20.683571"], ["updated_at", "2015-10-07 17:19:20.683571"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-07 17:19:20.693631"], ["updated_at", "2015-10-07 17:19:20.693631"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-07 17:19:20.696214"], ["updated_at", "2015-10-07 17:19:20.696214"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:19:20.699150"], ["updated_at", "2015-10-07 17:19:20.699150"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:19:20.700842"], ["updated_at", "2015-10-07 17:19:20.700842"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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 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 1  (0.2ms) rollback transaction  (0.2ms) 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", "2015-10-07 17:19:38.464184"], ["updated_at", "2015-10-07 17:19:38.464184"]]  (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", "2015-10-07 17:19:38.481847"], ["updated_at", "2015-10-07 17:19:38.481847"]]  (0.0ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-07 17:19:38.492816"], ["updated_at", "2015-10-07 17:19:38.492816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:19:38.522129"], ["updated_at", "2015-10-07 17:19:38.522129"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:19:38.525193"], ["updated_at", "2015-10-07 17:19:38.525193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "8ubV8ZzKpfo-DJt0zL6q8A"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-07"], ["created_at", "2015-10-07 17:19:38.536315"], ["updated_at", "2015-10-07 17:19:38.536315"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "8ubV8ZzKpfo-DJt0zL6q8A"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) 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.6ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-07 17:19:38.592742"], ["updated_at", "2015-10-07 17:19:38.592742"]]  (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", "2015-10-07 17:19:38.596073"], ["updated_at", "2015-10-07 17:19:38.596073"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-07 17:19:38.599194"], ["updated_at", "2015-10-07 17:19:38.599194"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:19:38.600409"], ["updated_at", "2015-10-07 17:19:38.600409"]]  (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"."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"."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.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", "2015-10-07 17:19:38.612879"], ["updated_at", "2015-10-07 17:19:38.612879"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-07 17:19:38.615408"], ["updated_at", "2015-10-07 17:19:38.615408"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:19:38.618210"], ["updated_at", "2015-10-07 17:19:38.618210"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:19:38.620373"], ["updated_at", "2015-10-07 17:19:38.620373"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-07 17:19:38.633437"], ["updated_at", "2015-10-07 17:19:38.633437"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-07 17:19:38.636379"], ["updated_at", "2015-10-07 17:19:38.636379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:19:38.639401"], ["updated_at", "2015-10-07 17:19:38.639401"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:19:38.641360"], ["updated_at", "2015-10-07 17:19:38.641360"]]  (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"."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"."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"."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"]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-07 17:19:50.135237"], ["updated_at", "2015-10-07 17:19:50.135237"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.2ms) 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", "2015-10-07 17:19:50.148784"], ["updated_at", "2015-10-07 17:19:50.148784"]]  (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", "2015-10-07 17:19:50.158729"], ["updated_at", "2015-10-07 17:19:50.158729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:19:50.186439"], ["updated_at", "2015-10-07 17:19:50.186439"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:19:50.188532"], ["updated_at", "2015-10-07 17:19:50.188532"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "NsKFyNquxuF4EMmtpsSB7A"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-07"], ["created_at", "2015-10-07 17:19:50.202308"], ["updated_at", "2015-10-07 17:19:50.202308"]]  (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", "NsKFyNquxuF4EMmtpsSB7A"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (2.4ms) 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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-07 17:19:50.245030"], ["updated_at", "2015-10-07 17:19:50.245030"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-07 17:19:50.247598"], ["updated_at", "2015-10-07 17:19:50.247598"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-07 17:19:50.250472"], ["updated_at", "2015-10-07 17:19:50.250472"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:19:50.251714"], ["updated_at", "2015-10-07 17:19:50.251714"]]  (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 1 Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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"]]  (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", "2015-10-07 17:19:50.263768"], ["updated_at", "2015-10-07 17:19:50.263768"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-07 17:19:50.266624"], ["updated_at", "2015-10-07 17:19:50.266624"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:19:50.269954"], ["updated_at", "2015-10-07 17:19:50.269954"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:19:50.271253"], ["updated_at", "2015-10-07 17:19:50.271253"]]  (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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-07 17:19:50.280970"], ["updated_at", "2015-10-07 17:19:50.280970"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-07 17:19:50.283474"], ["updated_at", "2015-10-07 17:19:50.283474"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:19:50.286369"], ["updated_at", "2015-10-07 17:19:50.286369"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:19:50.288167"], ["updated_at", "2015-10-07 17:19:50.288167"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 1  (0.1ms) rollback transaction  (0.2ms) begin transaction Adeia::Element Load (0.6ms) 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", "2015-10-07 17:21:42.977709"], ["updated_at", "2015-10-07 17:21:42.977709"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-07 17:21:42.998998"], ["updated_at", "2015-10-07 17:21:42.998998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-07 17:21:43.013744"], ["updated_at", "2015-10-07 17:21:43.013744"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:21:43.054952"], ["updated_at", "2015-10-07 17:21:43.054952"]] SQL (1.5ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:21:43.057872"], ["updated_at", "2015-10-07 17:21:43.057872"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "Oe30xm58sBSfX8Mr7GDABg"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-07"], ["created_at", "2015-10-07 17:21:43.069169"], ["updated_at", "2015-10-07 17:21:43.069169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "Oe30xm58sBSfX8Mr7GDABg"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.3ms) 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.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", "2015-10-07 17:21:43.114372"], ["updated_at", "2015-10-07 17:21:43.114372"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-07 17:21:43.119382"], ["updated_at", "2015-10-07 17:21:43.119382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-07 17:21:43.125132"], ["updated_at", "2015-10-07 17:21:43.125132"]] SQL (0.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:21:43.128235"], ["updated_at", "2015-10-07 17:21:43.128235"]]  (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  (1.3ms) 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", "2015-10-07 17:21:43.138473"], ["updated_at", "2015-10-07 17:21:43.138473"]]  (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", "2015-10-07 17:21:43.141667"], ["updated_at", "2015-10-07 17:21:43.141667"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:21:43.145293"], ["updated_at", "2015-10-07 17:21:43.145293"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:21:43.146877"], ["updated_at", "2015-10-07 17:21:43.146877"]]  (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  (0.9ms) 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", "2015-10-07 17:21:43.155198"], ["updated_at", "2015-10-07 17:21:43.155198"]]  (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", "2015-10-07 17:21:43.158952"], ["updated_at", "2015-10-07 17:21:43.158952"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:21:43.162742"], ["updated_at", "2015-10-07 17:21:43.162742"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:21:43.164397"], ["updated_at", "2015-10-07 17:21:43.164397"]]  (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  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) 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.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", "2015-10-07 17:21:55.794987"], ["updated_at", "2015-10-07 17:21:55.794987"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.2ms) 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", "2015-10-07 17:21:55.812411"], ["updated_at", "2015-10-07 17:21:55.812411"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-07 17:21:55.824724"], ["updated_at", "2015-10-07 17:21:55.824724"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:21:55.871051"], ["updated_at", "2015-10-07 17:21:55.871051"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:21:55.873024"], ["updated_at", "2015-10-07 17:21:55.873024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "WupscJxVPDokD8bu_74j_w"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-07"], ["created_at", "2015-10-07 17:21:55.882503"], ["updated_at", "2015-10-07 17:21:55.882503"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "WupscJxVPDokD8bu_74j_w"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.3ms) 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.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", "2015-10-07 17:21:55.914359"], ["updated_at", "2015-10-07 17:21:55.914359"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-07 17:21:55.918034"], ["updated_at", "2015-10-07 17:21:55.918034"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-07 17:21:55.921614"], ["updated_at", "2015-10-07 17:21:55.921614"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:21:55.923299"], ["updated_at", "2015-10-07 17:21:55.923299"]]  (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  (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", "2015-10-07 17:21:55.932661"], ["updated_at", "2015-10-07 17:21:55.932661"]]  (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", "2015-10-07 17:21:55.936360"], ["updated_at", "2015-10-07 17:21:55.936360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:21:55.940591"], ["updated_at", "2015-10-07 17:21:55.940591"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:21:55.942065"], ["updated_at", "2015-10-07 17:21:55.942065"]]  (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  (0.9ms) 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", "2015-10-07 17:21:55.950684"], ["updated_at", "2015-10-07 17:21:55.950684"]]  (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", "2015-10-07 17:21:55.954130"], ["updated_at", "2015-10-07 17:21:55.954130"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:21:55.958115"], ["updated_at", "2015-10-07 17:21:55.958115"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:21:55.959826"], ["updated_at", "2015-10-07 17:21:55.959826"]]  (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  (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 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 (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-07 17:22:40.460297"], ["updated_at", "2015-10-07 17:22:40.460297"]]  (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", "2015-10-07 17:22:40.479259"], ["updated_at", "2015-10-07 17:22:40.479259"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-07 17:22:40.492956"], ["updated_at", "2015-10-07 17:22:40.492956"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:22:40.524729"], ["updated_at", "2015-10-07 17:22:40.524729"]] SQL (1.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:22:40.528238"], ["updated_at", "2015-10-07 17:22:40.528238"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "R3FEbntDeb0XBwMcjoBndg"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-07"], ["created_at", "2015-10-07 17:22:40.540756"], ["updated_at", "2015-10-07 17:22:40.540756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "R3FEbntDeb0XBwMcjoBndg"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (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 1 Adeia::Group Load (0.5ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-07 17:22:40.598135"], ["updated_at", "2015-10-07 17:22:40.598135"]]  (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", "2015-10-07 17:22:40.601685"], ["updated_at", "2015-10-07 17:22:40.601685"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-07 17:22:40.605293"], ["updated_at", "2015-10-07 17:22:40.605293"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:22:40.606879"], ["updated_at", "2015-10-07 17:22:40.606879"]]  (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"."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"."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"]]  (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", "2015-10-07 17:22:40.618635"], ["updated_at", "2015-10-07 17:22:40.618635"]]  (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", "2015-10-07 17:22:40.621880"], ["updated_at", "2015-10-07 17:22:40.621880"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:22:40.625437"], ["updated_at", "2015-10-07 17:22:40.625437"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:22:40.627184"], ["updated_at", "2015-10-07 17:22:40.627184"]]  (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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-07 17:22:40.638397"], ["updated_at", "2015-10-07 17:22:40.638397"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-07 17:22:40.641221"], ["updated_at", "2015-10-07 17:22:40.641221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-07 17:22:40.644359"], ["updated_at", "2015-10-07 17:22:40.644359"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-07 17:22:40.646050"], ["updated_at", "2015-10-07 17:22:40.646050"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.4ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (1.0ms) 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", "2015-10-11 17:34:14.012466"], ["updated_at", "2015-10-11 17:34:14.012466"]]  (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", "2015-10-11 17:34:14.030961"], ["updated_at", "2015-10-11 17:34:14.030961"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-11 17:34:14.042820"], ["updated_at", "2015-10-11 17:34:14.042820"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:34:14.077284"], ["updated_at", "2015-10-11 17:34:14.077284"]] SQL (1.6ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:34:14.081774"], ["updated_at", "2015-10-11 17:34:14.081774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "zF3j46WUedujzoGIqFeoaA"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 17:34:14.098274"], ["updated_at", "2015-10-11 17:34:14.098274"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "zF3j46WUedujzoGIqFeoaA"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (2.1ms) rollback transaction  (0.2ms) 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.6ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 17:34:14.159282"], ["updated_at", "2015-10-11 17:34:14.159282"]]  (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", "2015-10-11 17:34:14.162142"], ["updated_at", "2015-10-11 17:34:14.162142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 17:34:14.165401"], ["updated_at", "2015-10-11 17:34:14.165401"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:34:14.166696"], ["updated_at", "2015-10-11 17:34:14.166696"]]  (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"."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"."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.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", "2015-10-11 17:34:14.176799"], ["updated_at", "2015-10-11 17:34:14.176799"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:34:14.179822"], ["updated_at", "2015-10-11 17:34:14.179822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:34:14.182798"], ["updated_at", "2015-10-11 17:34:14.182798"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:34:14.184469"], ["updated_at", "2015-10-11 17:34:14.184469"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) 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", "2015-10-11 17:34:14.195088"], ["updated_at", "2015-10-11 17:34:14.195088"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:34:14.198524"], ["updated_at", "2015-10-11 17:34:14.198524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:34:14.203437"], ["updated_at", "2015-10-11 17:34:14.203437"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:34:14.205665"], ["updated_at", "2015-10-11 17:34:14.205665"]]  (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"."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"."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"."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 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) 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.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", "2015-10-11 17:35:07.099150"], ["updated_at", "2015-10-11 17:35:07.099150"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.2ms) 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", "2015-10-11 17:35:07.114457"], ["updated_at", "2015-10-11 17:35:07.114457"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:35:07.124372"], ["updated_at", "2015-10-11 17:35:07.124372"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:35:07.147609"], ["updated_at", "2015-10-11 17:35:07.147609"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:35:07.149293"], ["updated_at", "2015-10-11 17:35:07.149293"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "BzkZshJNoO-pI-mxvNxzxw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 17:35:07.158682"], ["updated_at", "2015-10-11 17:35:07.158682"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "BzkZshJNoO-pI-mxvNxzxw"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (2.4ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.3ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 17:35:07.203977"], ["updated_at", "2015-10-11 17:35:07.203977"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:35:07.206531"], ["updated_at", "2015-10-11 17:35:07.206531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 17:35:07.209479"], ["updated_at", "2015-10-11 17:35:07.209479"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:35:07.212238"], ["updated_at", "2015-10-11 17:35:07.212238"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 17:35:07.222461"], ["updated_at", "2015-10-11 17:35:07.222461"]]  (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", "2015-10-11 17:35:07.225450"], ["updated_at", "2015-10-11 17:35:07.225450"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:35:07.228682"], ["updated_at", "2015-10-11 17:35:07.228682"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:35:07.230287"], ["updated_at", "2015-10-11 17:35:07.230287"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) 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", "2015-10-11 17:35:07.241628"], ["updated_at", "2015-10-11 17:35:07.241628"]]  (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", "2015-10-11 17:35:07.245966"], ["updated_at", "2015-10-11 17:35:07.245966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:35:07.250172"], ["updated_at", "2015-10-11 17:35:07.250172"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:35:07.251648"], ["updated_at", "2015-10-11 17:35:07.251648"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 17:35:07.262498"], ["updated_at", "2015-10-11 17:35:07.262498"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:35:07.265198"], ["updated_at", "2015-10-11 17:35:07.265198"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:35:07.268738"], ["updated_at", "2015-10-11 17:35:07.268738"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:35:07.270423"], ["updated_at", "2015-10-11 17:35:07.270423"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 17:35:07.278947"], ["updated_at", "2015-10-11 17:35:07.278947"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:35:07.281419"], ["updated_at", "2015-10-11 17:35:07.281419"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:35:07.284298"], ["updated_at", "2015-10-11 17:35:07.284298"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:35:07.285988"], ["updated_at", "2015-10-11 17:35:07.285988"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1006 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.3ms) 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.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", "2015-10-11 17:36:26.665566"], ["updated_at", "2015-10-11 17:36:26.665566"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-11 17:36:26.679350"], ["updated_at", "2015-10-11 17:36:26.679350"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:36:26.691496"], ["updated_at", "2015-10-11 17:36:26.691496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:36:26.714911"], ["updated_at", "2015-10-11 17:36:26.714911"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:36:26.716927"], ["updated_at", "2015-10-11 17:36:26.716927"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "FJjNdPDUv5gfQ-SE-EkPEA"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 17:36:26.730900"], ["updated_at", "2015-10-11 17:36:26.730900"]]  (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", "FJjNdPDUv5gfQ-SE-EkPEA"]]  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (2.4ms) 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.2ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) 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", "2015-10-11 17:36:26.774933"], ["updated_at", "2015-10-11 17:36:26.774933"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:36:26.777720"], ["updated_at", "2015-10-11 17:36:26.777720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 17:36:26.781153"], ["updated_at", "2015-10-11 17:36:26.781153"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:36:26.782682"], ["updated_at", "2015-10-11 17:36:26.782682"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 17:36:26.792829"], ["updated_at", "2015-10-11 17:36:26.792829"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:36:26.795321"], ["updated_at", "2015-10-11 17:36:26.795321"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:36:26.798201"], ["updated_at", "2015-10-11 17:36:26.798201"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:36:26.800008"], ["updated_at", "2015-10-11 17:36:26.800008"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.2ms) 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", "2015-10-11 17:36:26.811528"], ["updated_at", "2015-10-11 17:36:26.811528"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:36:26.814034"], ["updated_at", "2015-10-11 17:36:26.814034"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:36:26.817673"], ["updated_at", "2015-10-11 17:36:26.817673"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:36:26.819146"], ["updated_at", "2015-10-11 17:36:26.819146"]]  (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"."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"."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"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 17:36:26.828856"], ["updated_at", "2015-10-11 17:36:26.828856"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:36:26.831309"], ["updated_at", "2015-10-11 17:36:26.831309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:36:26.834247"], ["updated_at", "2015-10-11 17:36:26.834247"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:36:26.836161"], ["updated_at", "2015-10-11 17:36:26.836161"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 17:36:26.845350"], ["updated_at", "2015-10-11 17:36:26.845350"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:36:26.847858"], ["updated_at", "2015-10-11 17:36:26.847858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:36:26.850763"], ["updated_at", "2015-10-11 17:36:26.850763"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:36:26.852285"], ["updated_at", "2015-10-11 17:36:26.852285"]]  (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"."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"."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"]]  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 17:36:26.866150"], ["updated_at", "2015-10-11 17:36:26.866150"]]  (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", "2015-10-11 17:36:26.869474"], ["updated_at", "2015-10-11 17:36:26.869474"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:36:26.874151"], ["updated_at", "2015-10-11 17:36:26.874151"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:36:26.875750"], ["updated_at", "2015-10-11 17:36:26.875750"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 17:36:26.885043"], ["updated_at", "2015-10-11 17:36:26.885043"]]  (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", "2015-10-11 17:36:26.888242"], ["updated_at", "2015-10-11 17:36:26.888242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:36:26.891609"], ["updated_at", "2015-10-11 17:36:26.891609"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:36:26.893947"], ["updated_at", "2015-10-11 17:36:26.893947"]]  (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"."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"."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"."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"]]  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) 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.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 17:36:50.120768"], ["updated_at", "2015-10-11 17:36:50.120768"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-11 17:36:50.134288"], ["updated_at", "2015-10-11 17:36:50.134288"]]  (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", "2015-10-11 17:36:50.144525"], ["updated_at", "2015-10-11 17:36:50.144525"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:36:50.176289"], ["updated_at", "2015-10-11 17:36:50.176289"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:36:50.178046"], ["updated_at", "2015-10-11 17:36:50.178046"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "S0Y3tTNenGdHPEjlIBtwiw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 17:36:50.188341"], ["updated_at", "2015-10-11 17:36:50.188341"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "S0Y3tTNenGdHPEjlIBtwiw"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (2.3ms) 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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 17:36:50.236041"], ["updated_at", "2015-10-11 17:36:50.236041"]]  (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", "2015-10-11 17:36:50.239831"], ["updated_at", "2015-10-11 17:36:50.239831"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 17:36:50.243406"], ["updated_at", "2015-10-11 17:36:50.243406"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:36:50.245059"], ["updated_at", "2015-10-11 17:36:50.245059"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 17:36:50.254629"], ["updated_at", "2015-10-11 17:36:50.254629"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:36:50.257218"], ["updated_at", "2015-10-11 17:36:50.257218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:36:50.260022"], ["updated_at", "2015-10-11 17:36:50.260022"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:36:50.261742"], ["updated_at", "2015-10-11 17:36:50.261742"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 17:36:50.270358"], ["updated_at", "2015-10-11 17:36:50.270358"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:36:50.273034"], ["updated_at", "2015-10-11 17:36:50.273034"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:36:50.275943"], ["updated_at", "2015-10-11 17:36:50.275943"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:36:50.277430"], ["updated_at", "2015-10-11 17:36:50.277430"]]  (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"."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"."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"."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"]]  (0.9ms) 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", "2015-10-11 17:36:50.287494"], ["updated_at", "2015-10-11 17:36:50.287494"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:36:50.290062"], ["updated_at", "2015-10-11 17:36:50.290062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:36:50.293005"], ["updated_at", "2015-10-11 17:36:50.293005"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:36:50.296055"], ["updated_at", "2015-10-11 17:36:50.296055"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-11 17:36:50.307195"], ["updated_at", "2015-10-11 17:36:50.307195"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:36:50.310119"], ["updated_at", "2015-10-11 17:36:50.310119"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:36:50.314308"], ["updated_at", "2015-10-11 17:36:50.314308"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:36:50.315844"], ["updated_at", "2015-10-11 17:36:50.315844"]]  (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"."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"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 17:36:50.326168"], ["updated_at", "2015-10-11 17:36:50.326168"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:36:50.328857"], ["updated_at", "2015-10-11 17:36:50.328857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:36:50.332293"], ["updated_at", "2015-10-11 17:36:50.332293"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:36:50.335151"], ["updated_at", "2015-10-11 17:36:50.335151"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-11 17:36:50.347062"], ["updated_at", "2015-10-11 17:36:50.347062"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:36:50.349895"], ["updated_at", "2015-10-11 17:36:50.349895"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:36:50.352734"], ["updated_at", "2015-10-11 17:36:50.352734"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:36:50.354568"], ["updated_at", "2015-10-11 17:36:50.354568"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) 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.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 17:37:32.448268"], ["updated_at", "2015-10-11 17:37:32.448268"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-11 17:37:32.466579"], ["updated_at", "2015-10-11 17:37:32.466579"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:37:32.476655"], ["updated_at", "2015-10-11 17:37:32.476655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:37:32.506366"], ["updated_at", "2015-10-11 17:37:32.506366"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:37:32.508110"], ["updated_at", "2015-10-11 17:37:32.508110"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "P7jd_ttrrTEmi-15y8294A"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 17:37:32.517983"], ["updated_at", "2015-10-11 17:37:32.517983"]]  (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", "P7jd_ttrrTEmi-15y8294A"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) 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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 17:37:32.563185"], ["updated_at", "2015-10-11 17:37:32.563185"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:37:32.565745"], ["updated_at", "2015-10-11 17:37:32.565745"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 17:37:32.569204"], ["updated_at", "2015-10-11 17:37:32.569204"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:37:32.570994"], ["updated_at", "2015-10-11 17:37:32.570994"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 17:37:32.581129"], ["updated_at", "2015-10-11 17:37:32.581129"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:37:32.583556"], ["updated_at", "2015-10-11 17:37:32.583556"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:37:32.586376"], ["updated_at", "2015-10-11 17:37:32.586376"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:37:32.587975"], ["updated_at", "2015-10-11 17:37:32.587975"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 17:37:32.597988"], ["updated_at", "2015-10-11 17:37:32.597988"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:37:32.600556"], ["updated_at", "2015-10-11 17:37:32.600556"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:37:32.603395"], ["updated_at", "2015-10-11 17:37:32.603395"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:37:32.606550"], ["updated_at", "2015-10-11 17:37:32.606550"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) 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", "2015-10-11 17:37:32.619461"], ["updated_at", "2015-10-11 17:37:32.619461"]]  (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", "2015-10-11 17:37:32.623155"], ["updated_at", "2015-10-11 17:37:32.623155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:37:32.626852"], ["updated_at", "2015-10-11 17:37:32.626852"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:37:32.628148"], ["updated_at", "2015-10-11 17:37:32.628148"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-11 17:37:32.637749"], ["updated_at", "2015-10-11 17:37:32.637749"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:37:32.640601"], ["updated_at", "2015-10-11 17:37:32.640601"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:37:32.643804"], ["updated_at", "2015-10-11 17:37:32.643804"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:37:32.645483"], ["updated_at", "2015-10-11 17:37:32.645483"]]  (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"."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"."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.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", "2015-10-11 17:37:32.654615"], ["updated_at", "2015-10-11 17:37:32.654615"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:37:32.658101"], ["updated_at", "2015-10-11 17:37:32.658101"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:37:32.662873"], ["updated_at", "2015-10-11 17:37:32.662873"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:37:32.664252"], ["updated_at", "2015-10-11 17:37:32.664252"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 17:37:32.674365"], ["updated_at", "2015-10-11 17:37:32.674365"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:37:32.677068"], ["updated_at", "2015-10-11 17:37:32.677068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:37:32.679906"], ["updated_at", "2015-10-11 17:37:32.679906"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:37:32.682003"], ["updated_at", "2015-10-11 17:37:32.682003"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.2ms) 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", "2015-10-11 17:37:32.691899"], ["updated_at", "2015-10-11 17:37:32.691899"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:37:32.694377"], ["updated_at", "2015-10-11 17:37:32.694377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-11 17:37:32.697480"], ["updated_at", "2015-10-11 17:37:32.697480"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:37:32.700706"], ["updated_at", "2015-10-11 17:37:32.700706"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) 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.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", "2015-10-11 17:38:16.511297"], ["updated_at", "2015-10-11 17:38:16.511297"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-11 17:38:16.525251"], ["updated_at", "2015-10-11 17:38:16.525251"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:38:16.534832"], ["updated_at", "2015-10-11 17:38:16.534832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:38:16.559332"], ["updated_at", "2015-10-11 17:38:16.559332"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:38:16.561036"], ["updated_at", "2015-10-11 17:38:16.561036"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "T60549pUjC9QZ11MEJn6xw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 17:38:16.570147"], ["updated_at", "2015-10-11 17:38:16.570147"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "T60549pUjC9QZ11MEJn6xw"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (2.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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 17:38:16.616330"], ["updated_at", "2015-10-11 17:38:16.616330"]]  (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", "2015-10-11 17:38:16.621030"], ["updated_at", "2015-10-11 17:38:16.621030"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 17:38:16.625554"], ["updated_at", "2015-10-11 17:38:16.625554"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:38:16.627604"], ["updated_at", "2015-10-11 17:38:16.627604"]]  (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"."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"."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.3ms) 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", "2015-10-11 17:38:16.639078"], ["updated_at", "2015-10-11 17:38:16.639078"]]  (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", "2015-10-11 17:38:16.642145"], ["updated_at", "2015-10-11 17:38:16.642145"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:38:16.645783"], ["updated_at", "2015-10-11 17:38:16.645783"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:38:16.647081"], ["updated_at", "2015-10-11 17:38:16.647081"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 17:38:16.658653"], ["updated_at", "2015-10-11 17:38:16.658653"]]  (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", "2015-10-11 17:38:16.662594"], ["updated_at", "2015-10-11 17:38:16.662594"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:38:16.667374"], ["updated_at", "2015-10-11 17:38:16.667374"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:38:16.668858"], ["updated_at", "2015-10-11 17:38:16.668858"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-11 17:38:16.679978"], ["updated_at", "2015-10-11 17:38:16.679978"]]  (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", "2015-10-11 17:38:16.682725"], ["updated_at", "2015-10-11 17:38:16.682725"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:38:16.686293"], ["updated_at", "2015-10-11 17:38:16.686293"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:38:16.687787"], ["updated_at", "2015-10-11 17:38:16.687787"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 17:38:16.696143"], ["updated_at", "2015-10-11 17:38:16.696143"]]  (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", "2015-10-11 17:38:16.699188"], ["updated_at", "2015-10-11 17:38:16.699188"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:38:16.702522"], ["updated_at", "2015-10-11 17:38:16.702522"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:38:16.704268"], ["updated_at", "2015-10-11 17:38:16.704268"]]  (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"."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"."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"]]  (1.2ms) 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", "2015-10-11 17:38:16.713613"], ["updated_at", "2015-10-11 17:38:16.713613"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:38:16.716167"], ["updated_at", "2015-10-11 17:38:16.716167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:38:16.719207"], ["updated_at", "2015-10-11 17:38:16.719207"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:38:16.721282"], ["updated_at", "2015-10-11 17:38:16.721282"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 17:38:16.730570"], ["updated_at", "2015-10-11 17:38:16.730570"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:38:16.733099"], ["updated_at", "2015-10-11 17:38:16.733099"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:38:16.736382"], ["updated_at", "2015-10-11 17:38:16.736382"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:38:16.739211"], ["updated_at", "2015-10-11 17:38:16.739211"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-11 17:38:16.751004"], ["updated_at", "2015-10-11 17:38:16.751004"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:38:16.753615"], ["updated_at", "2015-10-11 17:38:16.753615"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-11 17:38:16.756674"], ["updated_at", "2015-10-11 17:38:16.756674"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:38:16.758776"], ["updated_at", "2015-10-11 17:38:16.758776"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-11 17:38:16.770979"], ["updated_at", "2015-10-11 17:38:16.770979"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 17:38:16.774317"], ["updated_at", "2015-10-11 17:38:16.774317"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 17:38:16.777883"], ["updated_at", "2015-10-11 17:38:16.777883"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 17:38:16.779162"], ["updated_at", "2015-10-11 17:38:16.779162"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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 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", "2015-10-11 18:12:12.255364"], ["updated_at", "2015-10-11 18:12:12.255364"]]  (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", "2015-10-11 18:12:12.273001"], ["updated_at", "2015-10-11 18:12:12.273001"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-11 18:12:12.284833"], ["updated_at", "2015-10-11 18:12:12.284833"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:12:12.317888"], ["updated_at", "2015-10-11 18:12:12.317888"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:12:12.321721"], ["updated_at", "2015-10-11 18:12:12.321721"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "MQblltubZUtxsNET1Nhvrw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 18:12:12.332585"], ["updated_at", "2015-10-11 18:12:12.332585"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "MQblltubZUtxsNET1Nhvrw"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.3ms) 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"."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"."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", "2015-10-11 18:12:12.388102"], ["updated_at", "2015-10-11 18:12:12.388102"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:12:12.391100"], ["updated_at", "2015-10-11 18:12:12.391100"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 18:12:12.394255"], ["updated_at", "2015-10-11 18:12:12.394255"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:12:12.395647"], ["updated_at", "2015-10-11 18:12:12.395647"]]  (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"."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"."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"]]  (0.9ms) 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", "2015-10-11 18:12:12.405731"], ["updated_at", "2015-10-11 18:12:12.405731"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:12:12.408264"], ["updated_at", "2015-10-11 18:12:12.408264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:12:12.411338"], ["updated_at", "2015-10-11 18:12:12.411338"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:12:12.412951"], ["updated_at", "2015-10-11 18:12:12.412951"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 18:12:12.422098"], ["updated_at", "2015-10-11 18:12:12.422098"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:12:12.424666"], ["updated_at", "2015-10-11 18:12:12.424666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:12:12.427681"], ["updated_at", "2015-10-11 18:12:12.427681"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:12:12.429505"], ["updated_at", "2015-10-11 18:12:12.429505"]]  (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"."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"."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"."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", "2015-10-11 18:12:12.439677"], ["updated_at", "2015-10-11 18:12:12.439677"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:12:12.442693"], ["updated_at", "2015-10-11 18:12:12.442693"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:12:12.445644"], ["updated_at", "2015-10-11 18:12:12.445644"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:12:12.447812"], ["updated_at", "2015-10-11 18:12:12.447812"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:12:12.457273"], ["updated_at", "2015-10-11 18:12:12.457273"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:12:12.459854"], ["updated_at", "2015-10-11 18:12:12.459854"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:12:12.462906"], ["updated_at", "2015-10-11 18:12:12.462906"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:12:12.464958"], ["updated_at", "2015-10-11 18:12:12.464958"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1006 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:12:12.478444"], ["updated_at", "2015-10-11 18:12:12.478444"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:12:12.481778"], ["updated_at", "2015-10-11 18:12:12.481778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:12:12.486166"], ["updated_at", "2015-10-11 18:12:12.486166"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:12:12.487729"], ["updated_at", "2015-10-11 18:12:12.487729"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:12:12.497424"], ["updated_at", "2015-10-11 18:12:12.497424"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:12:12.499980"], ["updated_at", "2015-10-11 18:12:12.499980"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:12:12.504707"], ["updated_at", "2015-10-11 18:12:12.504707"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:12:12.506435"], ["updated_at", "2015-10-11 18:12:12.506435"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:12:12.516688"], ["updated_at", "2015-10-11 18:12:12.516688"]]  (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", "2015-10-11 18:12:12.519882"], ["updated_at", "2015-10-11 18:12:12.519882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-11 18:12:12.523942"], ["updated_at", "2015-10-11 18:12:12.523942"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:12:12.525425"], ["updated_at", "2015-10-11 18:12:12.525425"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.1ms) 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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:12:12.538077"], ["updated_at", "2015-10-11 18:12:12.538077"]]  (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", "2015-10-11 18:12:12.542860"], ["updated_at", "2015-10-11 18:12:12.542860"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:12:12.546698"], ["updated_at", "2015-10-11 18:12:12.546698"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:12:12.548258"], ["updated_at", "2015-10-11 18:12:12.548258"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 18:12:12.561328"], ["updated_at", "2015-10-11 18:12:12.561328"]]  (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", "2015-10-11 18:12:12.563941"], ["updated_at", "2015-10-11 18:12:12.563941"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:12:12.567627"], ["updated_at", "2015-10-11 18:12:12.567627"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:12:12.569252"], ["updated_at", "2015-10-11 18:12:12.569252"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "dAGsNBWeoi50p6TK7UQ9MA"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 18:12:12.572592"], ["updated_at", "2015-10-11 18:12:12.572592"]]  (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", "dAGsNBWeoi50p6TK7UQ9MA"]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (0.0ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.8ms) 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", "2015-10-11 18:12:28.398356"], ["updated_at", "2015-10-11 18:12:28.398356"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-11 18:12:28.417058"], ["updated_at", "2015-10-11 18:12:28.417058"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-11 18:12:28.429886"], ["updated_at", "2015-10-11 18:12:28.429886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:12:28.465534"], ["updated_at", "2015-10-11 18:12:28.465534"]] SQL (1.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:12:28.468696"], ["updated_at", "2015-10-11 18:12:28.468696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "kmiM9Ocmvvhy8XjLpenzcw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 18:12:28.479611"], ["updated_at", "2015-10-11 18:12:28.479611"]]  (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", "kmiM9Ocmvvhy8XjLpenzcw"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.0ms) rollback transaction  (0.2ms) 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.6ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:12:28.530404"], ["updated_at", "2015-10-11 18:12:28.530404"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:12:28.532938"], ["updated_at", "2015-10-11 18:12:28.532938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 18:12:28.535939"], ["updated_at", "2015-10-11 18:12:28.535939"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:12:28.537207"], ["updated_at", "2015-10-11 18:12:28.537207"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-11 18:12:28.546208"], ["updated_at", "2015-10-11 18:12:28.546208"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:12:28.549391"], ["updated_at", "2015-10-11 18:12:28.549391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:12:28.552633"], ["updated_at", "2015-10-11 18:12:28.552633"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:12:28.554366"], ["updated_at", "2015-10-11 18:12:28.554366"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:12:28.564127"], ["updated_at", "2015-10-11 18:12:28.564127"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:12:28.566659"], ["updated_at", "2015-10-11 18:12:28.566659"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:12:28.569528"], ["updated_at", "2015-10-11 18:12:28.569528"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:12:28.571407"], ["updated_at", "2015-10-11 18:12:28.571407"]]  (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"."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"."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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:12:28.582208"], ["updated_at", "2015-10-11 18:12:28.582208"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:12:28.584975"], ["updated_at", "2015-10-11 18:12:28.584975"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:12:28.588727"], ["updated_at", "2015-10-11 18:12:28.588727"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:12:28.590113"], ["updated_at", "2015-10-11 18:12:28.590113"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.1ms) 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", "2015-10-11 18:12:28.601549"], ["updated_at", "2015-10-11 18:12:28.601549"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:12:28.604601"], ["updated_at", "2015-10-11 18:12:28.604601"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:12:28.609207"], ["updated_at", "2015-10-11 18:12:28.609207"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:12:28.610817"], ["updated_at", "2015-10-11 18:12:28.610817"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1006 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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", "2015-10-11 18:12:28.620792"], ["updated_at", "2015-10-11 18:12:28.620792"]]  (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", "2015-10-11 18:12:28.624549"], ["updated_at", "2015-10-11 18:12:28.624549"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:12:28.628612"], ["updated_at", "2015-10-11 18:12:28.628612"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:12:28.630125"], ["updated_at", "2015-10-11 18:12:28.630125"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 18:12:28.639120"], ["updated_at", "2015-10-11 18:12:28.639120"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:12:28.641744"], ["updated_at", "2015-10-11 18:12:28.641744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:12:28.645519"], ["updated_at", "2015-10-11 18:12:28.645519"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:12:28.647282"], ["updated_at", "2015-10-11 18:12:28.647282"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 18:12:28.656722"], ["updated_at", "2015-10-11 18:12:28.656722"]]  (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", "2015-10-11 18:12:28.659867"], ["updated_at", "2015-10-11 18:12:28.659867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-11 18:12:28.663124"], ["updated_at", "2015-10-11 18:12:28.663124"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:12:28.666219"], ["updated_at", "2015-10-11 18:12:28.666219"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:12:28.679902"], ["updated_at", "2015-10-11 18:12:28.679902"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:12:28.682566"], ["updated_at", "2015-10-11 18:12:28.682566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:12:28.685979"], ["updated_at", "2015-10-11 18:12:28.685979"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:12:28.687426"], ["updated_at", "2015-10-11 18:12:28.687426"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 18:12:28.697382"], ["updated_at", "2015-10-11 18:12:28.697382"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:12:28.699954"], ["updated_at", "2015-10-11 18:12:28.699954"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:12:28.703404"], ["updated_at", "2015-10-11 18:12:28.703404"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:12:28.705162"], ["updated_at", "2015-10-11 18:12:28.705162"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "-UZr3r5fapPqvTMcD2I0rQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 18:12:28.708029"], ["updated_at", "2015-10-11 18:12:28.708029"]]  (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", "-UZr3r5fapPqvTMcD2I0rQ"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (1.0ms) 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 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", "2015-10-11 18:13:25.911862"], ["updated_at", "2015-10-11 18:13:25.911862"]]  (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", "2015-10-11 18:13:25.929164"], ["updated_at", "2015-10-11 18:13:25.929164"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:13:25.945505"], ["updated_at", "2015-10-11 18:13:25.945505"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:13:25.975650"], ["updated_at", "2015-10-11 18:13:25.975650"]] SQL (1.6ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:13:25.978437"], ["updated_at", "2015-10-11 18:13:25.978437"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "vUWq44wqFO25PGXifUpqow"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 18:13:25.989596"], ["updated_at", "2015-10-11 18:13:25.989596"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "vUWq44wqFO25PGXifUpqow"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.0ms) 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.6ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:13:26.038712"], ["updated_at", "2015-10-11 18:13:26.038712"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:13:26.041169"], ["updated_at", "2015-10-11 18:13:26.041169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 18:13:26.045336"], ["updated_at", "2015-10-11 18:13:26.045336"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:13:26.047740"], ["updated_at", "2015-10-11 18:13:26.047740"]]  (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"."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"."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.2ms) 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", "2015-10-11 18:13:26.060135"], ["updated_at", "2015-10-11 18:13:26.060135"]]  (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", "2015-10-11 18:13:26.063601"], ["updated_at", "2015-10-11 18:13:26.063601"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:13:26.067826"], ["updated_at", "2015-10-11 18:13:26.067826"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:13:26.069313"], ["updated_at", "2015-10-11 18:13:26.069313"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) rollback transaction  (0.2ms) 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", "2015-10-11 18:13:26.079300"], ["updated_at", "2015-10-11 18:13:26.079300"]]  (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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:13:26.081870"], ["updated_at", "2015-10-11 18:13:26.081870"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:13:26.086507"], ["updated_at", "2015-10-11 18:13:26.086507"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:13:26.088013"], ["updated_at", "2015-10-11 18:13:26.088013"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"]]  (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", "2015-10-11 18:13:26.098482"], ["updated_at", "2015-10-11 18:13:26.098482"]]  (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", "2015-10-11 18:13:26.101821"], ["updated_at", "2015-10-11 18:13:26.101821"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:13:26.105321"], ["updated_at", "2015-10-11 18:13:26.105321"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:13:26.106841"], ["updated_at", "2015-10-11 18:13:26.106841"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:13:26.115697"], ["updated_at", "2015-10-11 18:13:26.115697"]]  (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", "2015-10-11 18:13:26.119212"], ["updated_at", "2015-10-11 18:13:26.119212"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:13:26.123040"], ["updated_at", "2015-10-11 18:13:26.123040"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:13:26.124771"], ["updated_at", "2015-10-11 18:13:26.124771"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1006 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-11 18:13:26.134536"], ["updated_at", "2015-10-11 18:13:26.134536"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:13:26.137081"], ["updated_at", "2015-10-11 18:13:26.137081"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:13:26.139936"], ["updated_at", "2015-10-11 18:13:26.139936"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:13:26.142689"], ["updated_at", "2015-10-11 18:13:26.142689"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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"."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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:13:26.155434"], ["updated_at", "2015-10-11 18:13:26.155434"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:13:26.158718"], ["updated_at", "2015-10-11 18:13:26.158718"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:13:26.162213"], ["updated_at", "2015-10-11 18:13:26.162213"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:13:26.163864"], ["updated_at", "2015-10-11 18:13:26.163864"]]  (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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:13:26.175085"], ["updated_at", "2015-10-11 18:13:26.175085"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:13:26.177715"], ["updated_at", "2015-10-11 18:13:26.177715"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-11 18:13:26.181322"], ["updated_at", "2015-10-11 18:13:26.181322"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:13:26.182747"], ["updated_at", "2015-10-11 18:13:26.182747"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.9ms) 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", "2015-10-11 18:13:26.192866"], ["updated_at", "2015-10-11 18:13:26.192866"]]  (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", "2015-10-11 18:13:26.195877"], ["updated_at", "2015-10-11 18:13:26.195877"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:13:26.199012"], ["updated_at", "2015-10-11 18:13:26.199012"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:13:26.200969"], ["updated_at", "2015-10-11 18:13:26.200969"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:13:26.211943"], ["updated_at", "2015-10-11 18:13:26.211943"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:13:26.214429"], ["updated_at", "2015-10-11 18:13:26.214429"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:13:26.218648"], ["updated_at", "2015-10-11 18:13:26.218648"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:13:26.221205"], ["updated_at", "2015-10-11 18:13:26.221205"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "bH9LeSTXlsTfXb9EKuVavw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 18:13:26.224355"], ["updated_at", "2015-10-11 18:13:26.224355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "bH9LeSTXlsTfXb9EKuVavw"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (1.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", "2015-10-11 18:13:26.236820"], ["updated_at", "2015-10-11 18:13:26.236820"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:13:26.239928"], ["updated_at", "2015-10-11 18:13:26.239928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:13:26.245561"], ["updated_at", "2015-10-11 18:13:26.245561"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:13:26.247351"], ["updated_at", "2015-10-11 18:13:26.247351"]]  (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"."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"."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"."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.9ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.8ms) 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", "2015-10-11 18:14:50.728670"], ["updated_at", "2015-10-11 18:14:50.728670"]]  (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.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-11 18:14:50.748653"], ["updated_at", "2015-10-11 18:14:50.748653"]]  (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", "2015-10-11 18:14:50.762305"], ["updated_at", "2015-10-11 18:14:50.762305"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:14:50.791875"], ["updated_at", "2015-10-11 18:14:50.791875"]] SQL (1.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:14:50.794805"], ["updated_at", "2015-10-11 18:14:50.794805"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "Gp015mpTdDjUUhVnQICs5Q"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 18:14:50.805931"], ["updated_at", "2015-10-11 18:14:50.805931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "Gp015mpTdDjUUhVnQICs5Q"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.0ms) rollback transaction  (0.2ms) 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.6ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 18:14:50.857259"], ["updated_at", "2015-10-11 18:14:50.857259"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:14:50.860405"], ["updated_at", "2015-10-11 18:14:50.860405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 18:14:50.863405"], ["updated_at", "2015-10-11 18:14:50.863405"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:14:50.864625"], ["updated_at", "2015-10-11 18:14:50.864625"]]  (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 1 Adeia::Group Load (0.4ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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"]]  (0.9ms) 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", "2015-10-11 18:14:50.874823"], ["updated_at", "2015-10-11 18:14:50.874823"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:14:50.877523"], ["updated_at", "2015-10-11 18:14:50.877523"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:14:50.880591"], ["updated_at", "2015-10-11 18:14:50.880591"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:14:50.882302"], ["updated_at", "2015-10-11 18:14:50.882302"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-11 18:14:50.891704"], ["updated_at", "2015-10-11 18:14:50.891704"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:14:50.894367"], ["updated_at", "2015-10-11 18:14:50.894367"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:14:50.898970"], ["updated_at", "2015-10-11 18:14:50.898970"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:14:50.900724"], ["updated_at", "2015-10-11 18:14:50.900724"]]  (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"."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"."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"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:14:50.910485"], ["updated_at", "2015-10-11 18:14:50.910485"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:14:50.912982"], ["updated_at", "2015-10-11 18:14:50.912982"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:14:50.915877"], ["updated_at", "2015-10-11 18:14:50.915877"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:14:50.918160"], ["updated_at", "2015-10-11 18:14:50.918160"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.4ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:14:50.927560"], ["updated_at", "2015-10-11 18:14:50.927560"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:14:50.930167"], ["updated_at", "2015-10-11 18:14:50.930167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:14:50.933149"], ["updated_at", "2015-10-11 18:14:50.933149"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:14:50.934850"], ["updated_at", "2015-10-11 18:14:50.934850"]]  (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"."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"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:14:50.944464"], ["updated_at", "2015-10-11 18:14:50.944464"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:14:50.946914"], ["updated_at", "2015-10-11 18:14:50.946914"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:14:50.949895"], ["updated_at", "2015-10-11 18:14:50.949895"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:14:50.951539"], ["updated_at", "2015-10-11 18:14:50.951539"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:14:50.965680"], ["updated_at", "2015-10-11 18:14:50.965680"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:14:50.968620"], ["updated_at", "2015-10-11 18:14:50.968620"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:14:50.972853"], ["updated_at", "2015-10-11 18:14:50.972853"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:14:50.974539"], ["updated_at", "2015-10-11 18:14:50.974539"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:14:50.985369"], ["updated_at", "2015-10-11 18:14:50.985369"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:14:50.988211"], ["updated_at", "2015-10-11 18:14:50.988211"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-11 18:14:50.992380"], ["updated_at", "2015-10-11 18:14:50.992380"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:14:50.995108"], ["updated_at", "2015-10-11 18:14:50.995108"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:14:51.007704"], ["updated_at", "2015-10-11 18:14:51.007704"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:14:51.010267"], ["updated_at", "2015-10-11 18:14:51.010267"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:14:51.013470"], ["updated_at", "2015-10-11 18:14:51.013470"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:14:51.015322"], ["updated_at", "2015-10-11 18:14:51.015322"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (1.2ms) 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", "2015-10-11 18:14:51.027849"], ["updated_at", "2015-10-11 18:14:51.027849"]]  (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", "2015-10-11 18:14:51.031316"], ["updated_at", "2015-10-11 18:14:51.031316"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:14:51.035251"], ["updated_at", "2015-10-11 18:14:51.035251"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:14:51.036765"], ["updated_at", "2015-10-11 18:14:51.036765"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "8KcPsxiPOjieZxxndQfDcw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 18:14:51.039914"], ["updated_at", "2015-10-11 18:14:51.039914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "8KcPsxiPOjieZxxndQfDcw"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:14:51.048983"], ["updated_at", "2015-10-11 18:14:51.048983"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:14:51.051549"], ["updated_at", "2015-10-11 18:14:51.051549"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:14:51.054651"], ["updated_at", "2015-10-11 18:14:51.054651"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:14:51.056847"], ["updated_at", "2015-10-11 18:14:51.056847"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:14:51.066774"], ["updated_at", "2015-10-11 18:14:51.066774"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:14:51.069355"], ["updated_at", "2015-10-11 18:14:51.069355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:14:51.072335"], ["updated_at", "2015-10-11 18:14:51.072335"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:14:51.074229"], ["updated_at", "2015-10-11 18:14:51.074229"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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 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 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", "2015-10-11 18:15:42.041331"], ["updated_at", "2015-10-11 18:15:42.041331"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) 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", "2015-10-11 18:15:42.060483"], ["updated_at", "2015-10-11 18:15:42.060483"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-11 18:15:42.072587"], ["updated_at", "2015-10-11 18:15:42.072587"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:15:42.103243"], ["updated_at", "2015-10-11 18:15:42.103243"]] SQL (1.7ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:42.106243"], ["updated_at", "2015-10-11 18:15:42.106243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "IVvPOUts1CgxMs2f159XWw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 18:15:42.117607"], ["updated_at", "2015-10-11 18:15:42.117607"]]  (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", "IVvPOUts1CgxMs2f159XWw"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.2ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:15:42.170470"], ["updated_at", "2015-10-11 18:15:42.170470"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:42.173225"], ["updated_at", "2015-10-11 18:15:42.173225"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 18:15:42.176365"], ["updated_at", "2015-10-11 18:15:42.176365"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:42.177631"], ["updated_at", "2015-10-11 18:15:42.177631"]]  (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.4ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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"]]  (0.9ms) 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", "2015-10-11 18:15:42.188183"], ["updated_at", "2015-10-11 18:15:42.188183"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:42.191110"], ["updated_at", "2015-10-11 18:15:42.191110"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:15:42.194196"], ["updated_at", "2015-10-11 18:15:42.194196"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:42.197146"], ["updated_at", "2015-10-11 18:15:42.197146"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:15:42.207391"], ["updated_at", "2015-10-11 18:15:42.207391"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:42.210161"], ["updated_at", "2015-10-11 18:15:42.210161"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:15:42.213631"], ["updated_at", "2015-10-11 18:15:42.213631"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:42.215077"], ["updated_at", "2015-10-11 18:15:42.215077"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"]]  (0.9ms) 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", "2015-10-11 18:15:42.224915"], ["updated_at", "2015-10-11 18:15:42.224915"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:42.227964"], ["updated_at", "2015-10-11 18:15:42.227964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:15:42.231763"], ["updated_at", "2015-10-11 18:15:42.231763"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:42.233197"], ["updated_at", "2015-10-11 18:15:42.233197"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:15:42.242642"], ["updated_at", "2015-10-11 18:15:42.242642"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:42.245413"], ["updated_at", "2015-10-11 18:15:42.245413"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:15:42.248616"], ["updated_at", "2015-10-11 18:15:42.248616"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:42.250406"], ["updated_at", "2015-10-11 18:15:42.250406"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1006 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 18:15:42.260315"], ["updated_at", "2015-10-11 18:15:42.260315"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:42.264132"], ["updated_at", "2015-10-11 18:15:42.264132"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:15:42.268226"], ["updated_at", "2015-10-11 18:15:42.268226"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:42.269960"], ["updated_at", "2015-10-11 18:15:42.269960"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.7ms) 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", "2015-10-11 18:15:42.279203"], ["updated_at", "2015-10-11 18:15:42.279203"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:42.281744"], ["updated_at", "2015-10-11 18:15:42.281744"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:15:42.285108"], ["updated_at", "2015-10-11 18:15:42.285108"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:42.287096"], ["updated_at", "2015-10-11 18:15:42.287096"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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", "2015-10-11 18:15:42.297628"], ["updated_at", "2015-10-11 18:15:42.297628"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:42.300387"], ["updated_at", "2015-10-11 18:15:42.300387"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-11 18:15:42.304549"], ["updated_at", "2015-10-11 18:15:42.304549"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:42.305934"], ["updated_at", "2015-10-11 18:15:42.305934"]]  (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"."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"."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"."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"]]  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:15:42.319048"], ["updated_at", "2015-10-11 18:15:42.319048"]]  (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", "2015-10-11 18:15:42.322624"], ["updated_at", "2015-10-11 18:15:42.322624"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:15:42.326252"], ["updated_at", "2015-10-11 18:15:42.326252"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:42.327689"], ["updated_at", "2015-10-11 18:15:42.327689"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 18:15:42.338183"], ["updated_at", "2015-10-11 18:15:42.338183"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:42.340661"], ["updated_at", "2015-10-11 18:15:42.340661"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:15:42.343910"], ["updated_at", "2015-10-11 18:15:42.343910"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:42.345548"], ["updated_at", "2015-10-11 18:15:42.345548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "1gdOuFx-2oZWTEFIj27I0Q"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 18:15:42.348529"], ["updated_at", "2015-10-11 18:15:42.348529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "1gdOuFx-2oZWTEFIj27I0Q"]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (0.0ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:15:42.357843"], ["updated_at", "2015-10-11 18:15:42.357843"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:42.360330"], ["updated_at", "2015-10-11 18:15:42.360330"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:15:42.363405"], ["updated_at", "2015-10-11 18:15:42.363405"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:42.364994"], ["updated_at", "2015-10-11 18:15:42.364994"]]  (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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 18:15:42.374916"], ["updated_at", "2015-10-11 18:15:42.374916"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:42.377478"], ["updated_at", "2015-10-11 18:15:42.377478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:15:42.380767"], ["updated_at", "2015-10-11 18:15:42.380767"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:42.382670"], ["updated_at", "2015-10-11 18:15:42.382670"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) 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.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", "2015-10-11 18:15:56.307882"], ["updated_at", "2015-10-11 18:15:56.307882"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-11 18:15:56.321270"], ["updated_at", "2015-10-11 18:15:56.321270"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:56.331190"], ["updated_at", "2015-10-11 18:15:56.331190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:15:56.365622"], ["updated_at", "2015-10-11 18:15:56.365622"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:56.368176"], ["updated_at", "2015-10-11 18:15:56.368176"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "zRKMWjwyoIYk6UzktVhOGQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 18:15:56.378790"], ["updated_at", "2015-10-11 18:15:56.378790"]]  (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", "zRKMWjwyoIYk6UzktVhOGQ"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (2.4ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.4ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 18:15:56.424402"], ["updated_at", "2015-10-11 18:15:56.424402"]]  (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", "2015-10-11 18:15:56.428375"], ["updated_at", "2015-10-11 18:15:56.428375"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 18:15:56.432231"], ["updated_at", "2015-10-11 18:15:56.432231"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:56.433782"], ["updated_at", "2015-10-11 18:15:56.433782"]]  (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"."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"."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"]]  (0.9ms) 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", "2015-10-11 18:15:56.444077"], ["updated_at", "2015-10-11 18:15:56.444077"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:56.446588"], ["updated_at", "2015-10-11 18:15:56.446588"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:15:56.449456"], ["updated_at", "2015-10-11 18:15:56.449456"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:56.451467"], ["updated_at", "2015-10-11 18:15:56.451467"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-11 18:15:56.463702"], ["updated_at", "2015-10-11 18:15:56.463702"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:56.466151"], ["updated_at", "2015-10-11 18:15:56.466151"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:15:56.468971"], ["updated_at", "2015-10-11 18:15:56.468971"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:56.470827"], ["updated_at", "2015-10-11 18:15:56.470827"]]  (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"."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"."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"."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.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", "2015-10-11 18:15:56.482073"], ["updated_at", "2015-10-11 18:15:56.482073"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:56.485257"], ["updated_at", "2015-10-11 18:15:56.485257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:15:56.490427"], ["updated_at", "2015-10-11 18:15:56.490427"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:56.492044"], ["updated_at", "2015-10-11 18:15:56.492044"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.2ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:15:56.502701"], ["updated_at", "2015-10-11 18:15:56.502701"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:56.506671"], ["updated_at", "2015-10-11 18:15:56.506671"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:15:56.510766"], ["updated_at", "2015-10-11 18:15:56.510766"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:56.512300"], ["updated_at", "2015-10-11 18:15:56.512300"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1006 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 18:15:56.521756"], ["updated_at", "2015-10-11 18:15:56.521756"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:56.524607"], ["updated_at", "2015-10-11 18:15:56.524607"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:15:56.527715"], ["updated_at", "2015-10-11 18:15:56.527715"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:56.529157"], ["updated_at", "2015-10-11 18:15:56.529157"]]  (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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-11 18:15:56.539525"], ["updated_at", "2015-10-11 18:15:56.539525"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:56.542514"], ["updated_at", "2015-10-11 18:15:56.542514"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:15:56.545481"], ["updated_at", "2015-10-11 18:15:56.545481"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:56.547284"], ["updated_at", "2015-10-11 18:15:56.547284"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 18:15:56.557090"], ["updated_at", "2015-10-11 18:15:56.557090"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:56.559720"], ["updated_at", "2015-10-11 18:15:56.559720"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-11 18:15:56.563271"], ["updated_at", "2015-10-11 18:15:56.563271"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:56.564965"], ["updated_at", "2015-10-11 18:15:56.564965"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 18:15:56.574349"], ["updated_at", "2015-10-11 18:15:56.574349"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:56.576770"], ["updated_at", "2015-10-11 18:15:56.576770"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:15:56.579886"], ["updated_at", "2015-10-11 18:15:56.579886"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:56.581680"], ["updated_at", "2015-10-11 18:15:56.581680"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:15:56.592894"], ["updated_at", "2015-10-11 18:15:56.592894"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:56.595706"], ["updated_at", "2015-10-11 18:15:56.595706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:15:56.599173"], ["updated_at", "2015-10-11 18:15:56.599173"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:56.602035"], ["updated_at", "2015-10-11 18:15:56.602035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "tcNr6bZPcsVgp3GnpDA83g"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 18:15:56.606270"], ["updated_at", "2015-10-11 18:15:56.606270"]]  (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", "tcNr6bZPcsVgp3GnpDA83g"]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (0.0ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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", "2015-10-11 18:15:56.616982"], ["updated_at", "2015-10-11 18:15:56.616982"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:56.619678"], ["updated_at", "2015-10-11 18:15:56.619678"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:15:56.622890"], ["updated_at", "2015-10-11 18:15:56.622890"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:56.624871"], ["updated_at", "2015-10-11 18:15:56.624871"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.2ms) 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", "2015-10-11 18:15:56.636915"], ["updated_at", "2015-10-11 18:15:56.636915"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:15:56.640940"], ["updated_at", "2015-10-11 18:15:56.640940"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:15:56.646915"], ["updated_at", "2015-10-11 18:15:56.646915"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:15:56.649117"], ["updated_at", "2015-10-11 18:15:56.649117"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 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 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:19:19.482081"], ["updated_at", "2015-10-11 18:19:19.482081"]]  (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", "2015-10-11 18:19:19.501988"], ["updated_at", "2015-10-11 18:19:19.501988"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-11 18:19:19.515583"], ["updated_at", "2015-10-11 18:19:19.515583"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:19:19.551290"], ["updated_at", "2015-10-11 18:19:19.551290"]] SQL (1.5ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:19:19.554763"], ["updated_at", "2015-10-11 18:19:19.554763"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "m-WfYJRrm39moJHq7cFqgg"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 18:19:19.566345"], ["updated_at", "2015-10-11 18:19:19.566345"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "m-WfYJRrm39moJHq7cFqgg"]]  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (0.3ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.5ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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", "2015-10-11 18:19:19.623544"], ["updated_at", "2015-10-11 18:19:19.623544"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:19:19.627656"], ["updated_at", "2015-10-11 18:19:19.627656"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 18:19:19.633066"], ["updated_at", "2015-10-11 18:19:19.633066"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:19:19.635195"], ["updated_at", "2015-10-11 18:19:19.635195"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.4ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-11 18:19:19.648184"], ["updated_at", "2015-10-11 18:19:19.648184"]]  (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", "2015-10-11 18:19:19.651806"], ["updated_at", "2015-10-11 18:19:19.651806"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:19:19.656477"], ["updated_at", "2015-10-11 18:19:19.656477"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:19:19.658404"], ["updated_at", "2015-10-11 18:19:19.658404"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-11 18:19:19.670630"], ["updated_at", "2015-10-11 18:19:19.670630"]]  (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", "2015-10-11 18:19:19.674456"], ["updated_at", "2015-10-11 18:19:19.674456"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:19:19.679454"], ["updated_at", "2015-10-11 18:19:19.679454"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:19:19.681454"], ["updated_at", "2015-10-11 18:19:19.681454"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:19:19.694230"], ["updated_at", "2015-10-11 18:19:19.694230"]]  (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", "2015-10-11 18:19:19.697957"], ["updated_at", "2015-10-11 18:19:19.697957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:19:19.702510"], ["updated_at", "2015-10-11 18:19:19.702510"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:19:19.704599"], ["updated_at", "2015-10-11 18:19:19.704599"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-11 18:19:19.716160"], ["updated_at", "2015-10-11 18:19:19.716160"]]  (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", "2015-10-11 18:19:19.719804"], ["updated_at", "2015-10-11 18:19:19.719804"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:19:19.724489"], ["updated_at", "2015-10-11 18:19:19.724489"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:19:19.726441"], ["updated_at", "2015-10-11 18:19:19.726441"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:19:19.738640"], ["updated_at", "2015-10-11 18:19:19.738640"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:19:19.741125"], ["updated_at", "2015-10-11 18:19:19.741125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:19:19.745029"], ["updated_at", "2015-10-11 18:19:19.745029"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:19:19.746362"], ["updated_at", "2015-10-11 18:19:19.746362"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:19:19.755785"], ["updated_at", "2015-10-11 18:19:19.755785"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:19:19.760385"], ["updated_at", "2015-10-11 18:19:19.760385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:19:19.764806"], ["updated_at", "2015-10-11 18:19:19.764806"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:19:19.766710"], ["updated_at", "2015-10-11 18:19:19.766710"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:19:19.781364"], ["updated_at", "2015-10-11 18:19:19.781364"]]  (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", "2015-10-11 18:19:19.786080"], ["updated_at", "2015-10-11 18:19:19.786080"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-11 18:19:19.790686"], ["updated_at", "2015-10-11 18:19:19.790686"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:19:19.792914"], ["updated_at", "2015-10-11 18:19:19.792914"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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", "2015-10-11 18:19:19.806684"], ["updated_at", "2015-10-11 18:19:19.806684"]]  (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", "2015-10-11 18:19:19.810390"], ["updated_at", "2015-10-11 18:19:19.810390"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:19:19.815219"], ["updated_at", "2015-10-11 18:19:19.815219"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:19:19.817272"], ["updated_at", "2015-10-11 18:19:19.817272"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:19:19.831013"], ["updated_at", "2015-10-11 18:19:19.831013"]]  (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", "2015-10-11 18:19:19.834888"], ["updated_at", "2015-10-11 18:19:19.834888"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:19:19.840032"], ["updated_at", "2015-10-11 18:19:19.840032"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:19:19.842037"], ["updated_at", "2015-10-11 18:19:19.842037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "1j6jWZFL6cfOPZ-tWpkaAA"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 18:19:19.846379"], ["updated_at", "2015-10-11 18:19:19.846379"]]  (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", "1j6jWZFL6cfOPZ-tWpkaAA"]]  (0.4ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (0.3ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_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", "2015-10-11 18:19:19.862467"], ["updated_at", "2015-10-11 18:19:19.862467"]]  (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", "2015-10-11 18:19:19.866141"], ["updated_at", "2015-10-11 18:19:19.866141"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:19:19.870891"], ["updated_at", "2015-10-11 18:19:19.870891"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:19:19.872673"], ["updated_at", "2015-10-11 18:19:19.872673"]]  (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"."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"."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"."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.9ms) 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", "2015-10-11 18:19:19.884642"], ["updated_at", "2015-10-11 18:19:19.884642"]]  (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", "2015-10-11 18:19:19.888791"], ["updated_at", "2015-10-11 18:19:19.888791"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:19:19.895987"], ["updated_at", "2015-10-11 18:19:19.895987"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:19:19.899378"], ["updated_at", "2015-10-11 18:19:19.899378"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 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 (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:21:05.158811"], ["updated_at", "2015-10-11 18:21:05.158811"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.5ms) 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", "2015-10-11 18:21:05.177194"], ["updated_at", "2015-10-11 18:21:05.177194"]]  (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", "2015-10-11 18:21:05.187895"], ["updated_at", "2015-10-11 18:21:05.187895"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:21:05.219231"], ["updated_at", "2015-10-11 18:21:05.219231"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:05.222180"], ["updated_at", "2015-10-11 18:21:05.222180"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "a2p4aZCbms_Oxbxvcyeq1g"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 18:21:05.234359"], ["updated_at", "2015-10-11 18:21:05.234359"]]  (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", "a2p4aZCbms_Oxbxvcyeq1g"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.2ms) 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.6ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:21:05.287037"], ["updated_at", "2015-10-11 18:21:05.287037"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:21:05.289916"], ["updated_at", "2015-10-11 18:21:05.289916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 18:21:05.292895"], ["updated_at", "2015-10-11 18:21:05.292895"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:05.294116"], ["updated_at", "2015-10-11 18:21:05.294116"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-11 18:21:05.304034"], ["updated_at", "2015-10-11 18:21:05.304034"]]  (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", "2015-10-11 18:21:05.307428"], ["updated_at", "2015-10-11 18:21:05.307428"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:21:05.310464"], ["updated_at", "2015-10-11 18:21:05.310464"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:05.312097"], ["updated_at", "2015-10-11 18:21:05.312097"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-11 18:21:05.322298"], ["updated_at", "2015-10-11 18:21:05.322298"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:21:05.324761"], ["updated_at", "2015-10-11 18:21:05.324761"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:21:05.327797"], ["updated_at", "2015-10-11 18:21:05.327797"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:05.329037"], ["updated_at", "2015-10-11 18:21:05.329037"]]  (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"."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"."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"."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"]]  (0.9ms) 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", "2015-10-11 18:21:05.339745"], ["updated_at", "2015-10-11 18:21:05.339745"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:21:05.342711"], ["updated_at", "2015-10-11 18:21:05.342711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:21:05.346170"], ["updated_at", "2015-10-11 18:21:05.346170"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:05.347738"], ["updated_at", "2015-10-11 18:21:05.347738"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-11 18:21:05.359088"], ["updated_at", "2015-10-11 18:21:05.359088"]]  (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", "2015-10-11 18:21:05.363008"], ["updated_at", "2015-10-11 18:21:05.363008"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:21:05.367269"], ["updated_at", "2015-10-11 18:21:05.367269"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:05.368838"], ["updated_at", "2015-10-11 18:21:05.368838"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1006 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:21:05.378842"], ["updated_at", "2015-10-11 18:21:05.378842"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:21:05.381376"], ["updated_at", "2015-10-11 18:21:05.381376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:21:05.384458"], ["updated_at", "2015-10-11 18:21:05.384458"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:05.385696"], ["updated_at", "2015-10-11 18:21:05.385696"]]  (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 1 Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-11 18:21:05.395682"], ["updated_at", "2015-10-11 18:21:05.395682"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:21:05.398495"], ["updated_at", "2015-10-11 18:21:05.398495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:21:05.401559"], ["updated_at", "2015-10-11 18:21:05.401559"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:05.403244"], ["updated_at", "2015-10-11 18:21:05.403244"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 18:21:05.413784"], ["updated_at", "2015-10-11 18:21:05.413784"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:21:05.416377"], ["updated_at", "2015-10-11 18:21:05.416377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-11 18:21:05.421217"], ["updated_at", "2015-10-11 18:21:05.421217"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:05.422855"], ["updated_at", "2015-10-11 18:21:05.422855"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.1ms) 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", "2015-10-11 18:21:05.434360"], ["updated_at", "2015-10-11 18:21:05.434360"]]  (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", "2015-10-11 18:21:05.437719"], ["updated_at", "2015-10-11 18:21:05.437719"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:21:05.442885"], ["updated_at", "2015-10-11 18:21:05.442885"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:05.444477"], ["updated_at", "2015-10-11 18:21:05.444477"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.9ms) 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", "2015-10-11 18:21:05.455107"], ["updated_at", "2015-10-11 18:21:05.455107"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:21:05.458403"], ["updated_at", "2015-10-11 18:21:05.458403"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:21:05.462007"], ["updated_at", "2015-10-11 18:21:05.462007"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:05.463476"], ["updated_at", "2015-10-11 18:21:05.463476"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "4cV3wvRV9exb5avRvDv7VA"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 18:21:05.466212"], ["updated_at", "2015-10-11 18:21:05.466212"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "4cV3wvRV9exb5avRvDv7VA"]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (0.0ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:21:05.474982"], ["updated_at", "2015-10-11 18:21:05.474982"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:21:05.477606"], ["updated_at", "2015-10-11 18:21:05.477606"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:21:05.480529"], ["updated_at", "2015-10-11 18:21:05.480529"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:05.482564"], ["updated_at", "2015-10-11 18:21:05.482564"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:21:05.523239"], ["updated_at", "2015-10-11 18:21:05.523239"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:21:05.526151"], ["updated_at", "2015-10-11 18:21:05.526151"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:21:05.529918"], ["updated_at", "2015-10-11 18:21:05.529918"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:05.531415"], ["updated_at", "2015-10-11 18:21:05.531415"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 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", "2015-10-11 18:21:22.568984"], ["updated_at", "2015-10-11 18:21:22.568984"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-11 18:21:22.586224"], ["updated_at", "2015-10-11 18:21:22.586224"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:21:22.597916"], ["updated_at", "2015-10-11 18:21:22.597916"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:21:22.628188"], ["updated_at", "2015-10-11 18:21:22.628188"]] SQL (1.6ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:22.630885"], ["updated_at", "2015-10-11 18:21:22.630885"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "wCax1Vc9ykzWvrMu2wFeQg"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 18:21:22.642142"], ["updated_at", "2015-10-11 18:21:22.642142"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "wCax1Vc9ykzWvrMu2wFeQg"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.2ms) rollback transaction  (0.2ms) 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.5ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:21:22.691171"], ["updated_at", "2015-10-11 18:21:22.691171"]]  (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", "2015-10-11 18:21:22.694509"], ["updated_at", "2015-10-11 18:21:22.694509"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 18:21:22.697615"], ["updated_at", "2015-10-11 18:21:22.697615"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:22.698871"], ["updated_at", "2015-10-11 18:21:22.698871"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 18:21:22.707617"], ["updated_at", "2015-10-11 18:21:22.707617"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:21:22.710224"], ["updated_at", "2015-10-11 18:21:22.710224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:21:22.713065"], ["updated_at", "2015-10-11 18:21:22.713065"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:22.714916"], ["updated_at", "2015-10-11 18:21:22.714916"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-11 18:21:22.724944"], ["updated_at", "2015-10-11 18:21:22.724944"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:21:22.727619"], ["updated_at", "2015-10-11 18:21:22.727619"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:21:22.730552"], ["updated_at", "2015-10-11 18:21:22.730552"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:22.732359"], ["updated_at", "2015-10-11 18:21:22.732359"]]  (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"."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"."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"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:21:22.742351"], ["updated_at", "2015-10-11 18:21:22.742351"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:21:22.745050"], ["updated_at", "2015-10-11 18:21:22.745050"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:21:22.748606"], ["updated_at", "2015-10-11 18:21:22.748606"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:22.750184"], ["updated_at", "2015-10-11 18:21:22.750184"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:21:22.759197"], ["updated_at", "2015-10-11 18:21:22.759197"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:21:22.761702"], ["updated_at", "2015-10-11 18:21:22.761702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:21:22.764878"], ["updated_at", "2015-10-11 18:21:22.764878"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:22.766527"], ["updated_at", "2015-10-11 18:21:22.766527"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1006 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:21:22.776008"], ["updated_at", "2015-10-11 18:21:22.776008"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:21:22.778692"], ["updated_at", "2015-10-11 18:21:22.778692"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:21:22.781838"], ["updated_at", "2015-10-11 18:21:22.781838"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:22.785181"], ["updated_at", "2015-10-11 18:21:22.785181"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 18:21:22.795210"], ["updated_at", "2015-10-11 18:21:22.795210"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:21:22.797769"], ["updated_at", "2015-10-11 18:21:22.797769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:21:22.800682"], ["updated_at", "2015-10-11 18:21:22.800682"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:22.802312"], ["updated_at", "2015-10-11 18:21:22.802312"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:21:22.812991"], ["updated_at", "2015-10-11 18:21:22.812991"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:21:22.815576"], ["updated_at", "2015-10-11 18:21:22.815576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-11 18:21:22.821398"], ["updated_at", "2015-10-11 18:21:22.821398"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:22.823950"], ["updated_at", "2015-10-11 18:21:22.823950"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:21:22.835439"], ["updated_at", "2015-10-11 18:21:22.835439"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:21:22.838213"], ["updated_at", "2015-10-11 18:21:22.838213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:21:22.841316"], ["updated_at", "2015-10-11 18:21:22.841316"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:22.842942"], ["updated_at", "2015-10-11 18:21:22.842942"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.9ms) 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", "2015-10-11 18:21:22.853426"], ["updated_at", "2015-10-11 18:21:22.853426"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:21:22.856234"], ["updated_at", "2015-10-11 18:21:22.856234"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:21:22.860313"], ["updated_at", "2015-10-11 18:21:22.860313"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:22.861798"], ["updated_at", "2015-10-11 18:21:22.861798"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "sjHmB2lvIkD7-oVuXR6UtQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 18:21:22.864436"], ["updated_at", "2015-10-11 18:21:22.864436"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "sjHmB2lvIkD7-oVuXR6UtQ"]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (0.0ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) 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", "2015-10-11 18:21:22.874590"], ["updated_at", "2015-10-11 18:21:22.874590"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:21:22.877492"], ["updated_at", "2015-10-11 18:21:22.877492"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:21:22.881653"], ["updated_at", "2015-10-11 18:21:22.881653"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:22.883126"], ["updated_at", "2015-10-11 18:21:22.883126"]]  (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"."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"."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"."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"]]  (1.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:21:22.925011"], ["updated_at", "2015-10-11 18:21:22.925011"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:21:22.927986"], ["updated_at", "2015-10-11 18:21:22.927986"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:21:22.932177"], ["updated_at", "2015-10-11 18:21:22.932177"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:21:22.934939"], ["updated_at", "2015-10-11 18:21:22.934939"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.8ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.8ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:22:33.092143"], ["updated_at", "2015-10-11 18:22:33.092143"]]  (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", "2015-10-11 18:22:33.110834"], ["updated_at", "2015-10-11 18:22:33.110834"]]  (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", "2015-10-11 18:22:33.122640"], ["updated_at", "2015-10-11 18:22:33.122640"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:22:33.156943"], ["updated_at", "2015-10-11 18:22:33.156943"]] SQL (1.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:22:33.159740"], ["updated_at", "2015-10-11 18:22:33.159740"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "X-HiD_rFooBuPVg43lh1xg"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 18:22:33.173388"], ["updated_at", "2015-10-11 18:22:33.173388"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "X-HiD_rFooBuPVg43lh1xg"]]  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.6ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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", "2015-10-11 18:22:33.231877"], ["updated_at", "2015-10-11 18:22:33.231877"]]  (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", "2015-10-11 18:22:33.236296"], ["updated_at", "2015-10-11 18:22:33.236296"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 18:22:33.241465"], ["updated_at", "2015-10-11 18:22:33.241465"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:22:33.242971"], ["updated_at", "2015-10-11 18:22:33.242971"]]  (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"."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"."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.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:22:33.254106"], ["updated_at", "2015-10-11 18:22:33.254106"]]  (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", "2015-10-11 18:22:33.258377"], ["updated_at", "2015-10-11 18:22:33.258377"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:22:33.261903"], ["updated_at", "2015-10-11 18:22:33.261903"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:22:33.263401"], ["updated_at", "2015-10-11 18:22:33.263401"]]  (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"."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"."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"."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.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", "2015-10-11 18:22:33.275658"], ["updated_at", "2015-10-11 18:22:33.275658"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:22:33.278406"], ["updated_at", "2015-10-11 18:22:33.278406"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:22:33.282563"], ["updated_at", "2015-10-11 18:22:33.282563"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:22:33.285158"], ["updated_at", "2015-10-11 18:22:33.285158"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 18:22:33.298233"], ["updated_at", "2015-10-11 18:22:33.298233"]]  (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", "2015-10-11 18:22:33.301954"], ["updated_at", "2015-10-11 18:22:33.301954"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:22:33.307343"], ["updated_at", "2015-10-11 18:22:33.307343"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:22:33.309373"], ["updated_at", "2015-10-11 18:22:33.309373"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:22:33.322424"], ["updated_at", "2015-10-11 18:22:33.322424"]]  (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", "2015-10-11 18:22:33.327544"], ["updated_at", "2015-10-11 18:22:33.327544"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:22:33.332567"], ["updated_at", "2015-10-11 18:22:33.332567"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:22:33.334545"], ["updated_at", "2015-10-11 18:22:33.334545"]]  (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 1 Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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"]]  (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", "2015-10-11 18:22:33.346373"], ["updated_at", "2015-10-11 18:22:33.346373"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:22:33.349968"], ["updated_at", "2015-10-11 18:22:33.349968"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:22:33.355574"], ["updated_at", "2015-10-11 18:22:33.355574"]] SQL (0.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:22:33.357977"], ["updated_at", "2015-10-11 18:22:33.357977"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:22:33.368654"], ["updated_at", "2015-10-11 18:22:33.368654"]]  (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", "2015-10-11 18:22:33.373604"], ["updated_at", "2015-10-11 18:22:33.373604"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:22:33.378002"], ["updated_at", "2015-10-11 18:22:33.378002"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:22:33.379412"], ["updated_at", "2015-10-11 18:22:33.379412"]]  (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"."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"."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"."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"]]  (1.1ms) rollback transaction  (0.2ms) 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", "2015-10-11 18:22:33.391786"], ["updated_at", "2015-10-11 18:22:33.391786"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:22:33.395075"], ["updated_at", "2015-10-11 18:22:33.395075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-11 18:22:33.399111"], ["updated_at", "2015-10-11 18:22:33.399111"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:22:33.400997"], ["updated_at", "2015-10-11 18:22:33.400997"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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"."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"]]  (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", "2015-10-11 18:22:33.413458"], ["updated_at", "2015-10-11 18:22:33.413458"]]  (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", "2015-10-11 18:22:33.416547"], ["updated_at", "2015-10-11 18:22:33.416547"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:22:33.421622"], ["updated_at", "2015-10-11 18:22:33.421622"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:22:33.423832"], ["updated_at", "2015-10-11 18:22:33.423832"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (1.2ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 18:22:33.437250"], ["updated_at", "2015-10-11 18:22:33.437250"]]  (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", "2015-10-11 18:22:33.442110"], ["updated_at", "2015-10-11 18:22:33.442110"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:22:33.446333"], ["updated_at", "2015-10-11 18:22:33.446333"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:22:33.448118"], ["updated_at", "2015-10-11 18:22:33.448118"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "xh-CwrRAD0Y-Om2DQtI_QQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 18:22:33.451710"], ["updated_at", "2015-10-11 18:22:33.451710"]]  (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", "xh-CwrRAD0Y-Om2DQtI_QQ"]]  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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", "2015-10-11 18:22:33.463120"], ["updated_at", "2015-10-11 18:22:33.463120"]]  (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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 18:22:33.466244"], ["updated_at", "2015-10-11 18:22:33.466244"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:22:33.471036"], ["updated_at", "2015-10-11 18:22:33.471036"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:22:33.473340"], ["updated_at", "2015-10-11 18:22:33.473340"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-11 18:22:33.485561"], ["updated_at", "2015-10-11 18:22:33.485561"]]  (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", "2015-10-11 18:22:33.490197"], ["updated_at", "2015-10-11 18:22:33.490197"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 18:22:33.494484"], ["updated_at", "2015-10-11 18:22:33.494484"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 18:22:33.496218"], ["updated_at", "2015-10-11 18:22:33.496218"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (2.9ms) 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 1  (0.2ms) 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", "2015-10-11 19:55:35.960524"], ["updated_at", "2015-10-11 19:55:35.960524"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-11 19:55:35.978969"], ["updated_at", "2015-10-11 19:55:35.978969"]]  (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", "2015-10-11 19:55:35.990870"], ["updated_at", "2015-10-11 19:55:35.990870"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:55:36.026159"], ["updated_at", "2015-10-11 19:55:36.026159"]] SQL (1.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:55:36.029076"], ["updated_at", "2015-10-11 19:55:36.029076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "1G9X2i8vz1lhjWKvMANfdQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 19:55:36.039648"], ["updated_at", "2015-10-11 19:55:36.039648"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "1G9X2i8vz1lhjWKvMANfdQ"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.0ms) 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"."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"."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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 19:55:36.091798"], ["updated_at", "2015-10-11 19:55:36.091798"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:55:36.094542"], ["updated_at", "2015-10-11 19:55:36.094542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 19:55:36.097688"], ["updated_at", "2015-10-11 19:55:36.097688"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:55:36.099117"], ["updated_at", "2015-10-11 19:55:36.099117"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) 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", "2015-10-11 19:55:36.111214"], ["updated_at", "2015-10-11 19:55:36.111214"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:55:36.116452"], ["updated_at", "2015-10-11 19:55:36.116452"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:55:36.120879"], ["updated_at", "2015-10-11 19:55:36.120879"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:55:36.122405"], ["updated_at", "2015-10-11 19:55:36.122405"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 19:55:36.132910"], ["updated_at", "2015-10-11 19:55:36.132910"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:55:36.135466"], ["updated_at", "2015-10-11 19:55:36.135466"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:55:36.138932"], ["updated_at", "2015-10-11 19:55:36.138932"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:55:36.140934"], ["updated_at", "2015-10-11 19:55:36.140934"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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"."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.2ms) 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", "2015-10-11 19:55:36.151407"], ["updated_at", "2015-10-11 19:55:36.151407"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:55:36.154000"], ["updated_at", "2015-10-11 19:55:36.154000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:55:36.157037"], ["updated_at", "2015-10-11 19:55:36.157037"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:55:36.159505"], ["updated_at", "2015-10-11 19:55:36.159505"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-11 19:55:36.171093"], ["updated_at", "2015-10-11 19:55:36.171093"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:55:36.173734"], ["updated_at", "2015-10-11 19:55:36.173734"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:55:36.176661"], ["updated_at", "2015-10-11 19:55:36.176661"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:55:36.179590"], ["updated_at", "2015-10-11 19:55:36.179590"]]  (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"."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"."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"]]  (1.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 19:55:36.193008"], ["updated_at", "2015-10-11 19:55:36.193008"]]  (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", "2015-10-11 19:55:36.196557"], ["updated_at", "2015-10-11 19:55:36.196557"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:55:36.200869"], ["updated_at", "2015-10-11 19:55:36.200869"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:55:36.202463"], ["updated_at", "2015-10-11 19:55:36.202463"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.1ms) rollback transaction  (0.2ms) 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", "2015-10-11 19:55:36.212368"], ["updated_at", "2015-10-11 19:55:36.212368"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:55:36.214986"], ["updated_at", "2015-10-11 19:55:36.214986"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:55:36.221447"], ["updated_at", "2015-10-11 19:55:36.221447"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:55:36.223466"], ["updated_at", "2015-10-11 19:55:36.223466"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.2ms) 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", "2015-10-11 19:55:36.234038"], ["updated_at", "2015-10-11 19:55:36.234038"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:55:36.236547"], ["updated_at", "2015-10-11 19:55:36.236547"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-11 19:55:36.239802"], ["updated_at", "2015-10-11 19:55:36.239802"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:55:36.241636"], ["updated_at", "2015-10-11 19:55:36.241636"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 19:55:36.252071"], ["updated_at", "2015-10-11 19:55:36.252071"]]  (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", "2015-10-11 19:55:36.255123"], ["updated_at", "2015-10-11 19:55:36.255123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:55:36.258445"], ["updated_at", "2015-10-11 19:55:36.258445"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:55:36.261625"], ["updated_at", "2015-10-11 19:55:36.261625"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 19:55:36.275167"], ["updated_at", "2015-10-11 19:55:36.275167"]]  (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", "2015-10-11 19:55:36.279174"], ["updated_at", "2015-10-11 19:55:36.279174"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:55:36.283804"], ["updated_at", "2015-10-11 19:55:36.283804"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:55:36.285242"], ["updated_at", "2015-10-11 19:55:36.285242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "veO1yjsXwTk-B8BuKRef0w"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 19:55:36.287907"], ["updated_at", "2015-10-11 19:55:36.287907"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "veO1yjsXwTk-B8BuKRef0w"]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 19:55:36.299798"], ["updated_at", "2015-10-11 19:55:36.299798"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:55:36.303063"], ["updated_at", "2015-10-11 19:55:36.303063"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:55:36.306836"], ["updated_at", "2015-10-11 19:55:36.306836"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:55:36.308234"], ["updated_at", "2015-10-11 19:55:36.308234"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 19:55:36.321597"], ["updated_at", "2015-10-11 19:55:36.321597"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:55:36.324356"], ["updated_at", "2015-10-11 19:55:36.324356"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1015], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:55:36.327876"], ["updated_at", "2015-10-11 19:55:36.327876"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:55:36.329234"], ["updated_at", "2015-10-11 19:55:36.329234"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1015  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1015 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"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1015 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", "2015-10-11 19:55:36.376671"], ["updated_at", "2015-10-11 19:55:36.376671"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:55:36.379648"], ["updated_at", "2015-10-11 19:55:36.379648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:55:36.383503"], ["updated_at", "2015-10-11 19:55:36.383503"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:55:36.386380"], ["updated_at", "2015-10-11 19:55:36.386380"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1016  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 19:55:36.403149"], ["updated_at", "2015-10-11 19:55:36.403149"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:55:36.406075"], ["updated_at", "2015-10-11 19:55:36.406075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1019], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:55:36.411005"], ["updated_at", "2015-10-11 19:55:36.411005"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:55:36.412431"], ["updated_at", "2015-10-11 19:55:36.412431"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1018 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1018 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 1  (0.2ms) 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 (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 19:56:10.851376"], ["updated_at", "2015-10-11 19:56:10.851376"]]  (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.7ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-11 19:56:10.868557"], ["updated_at", "2015-10-11 19:56:10.868557"]]  (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", "2015-10-11 19:56:10.881304"], ["updated_at", "2015-10-11 19:56:10.881304"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:56:10.911363"], ["updated_at", "2015-10-11 19:56:10.911363"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:56:10.914629"], ["updated_at", "2015-10-11 19:56:10.914629"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "Rm3RoPw22cY6fav2i4C20A"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 19:56:10.925957"], ["updated_at", "2015-10-11 19:56:10.925957"]]  (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", "Rm3RoPw22cY6fav2i4C20A"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.0ms) 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.5ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 19:56:10.982214"], ["updated_at", "2015-10-11 19:56:10.982214"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:56:10.984937"], ["updated_at", "2015-10-11 19:56:10.984937"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 19:56:10.988630"], ["updated_at", "2015-10-11 19:56:10.988630"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:56:10.990052"], ["updated_at", "2015-10-11 19:56:10.990052"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 19:56:11.000622"], ["updated_at", "2015-10-11 19:56:11.000622"]]  (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", "2015-10-11 19:56:11.003946"], ["updated_at", "2015-10-11 19:56:11.003946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:56:11.007419"], ["updated_at", "2015-10-11 19:56:11.007419"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:56:11.009110"], ["updated_at", "2015-10-11 19:56:11.009110"]]  (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 1 Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 19:56:11.019763"], ["updated_at", "2015-10-11 19:56:11.019763"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:56:11.022217"], ["updated_at", "2015-10-11 19:56:11.022217"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:56:11.025817"], ["updated_at", "2015-10-11 19:56:11.025817"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:56:11.027508"], ["updated_at", "2015-10-11 19:56:11.027508"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-11 19:56:11.037822"], ["updated_at", "2015-10-11 19:56:11.037822"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:56:11.040645"], ["updated_at", "2015-10-11 19:56:11.040645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:56:11.044738"], ["updated_at", "2015-10-11 19:56:11.044738"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:56:11.046351"], ["updated_at", "2015-10-11 19:56:11.046351"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 19:56:11.054937"], ["updated_at", "2015-10-11 19:56:11.054937"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:56:11.057977"], ["updated_at", "2015-10-11 19:56:11.057977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:56:11.062910"], ["updated_at", "2015-10-11 19:56:11.062910"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:56:11.065438"], ["updated_at", "2015-10-11 19:56:11.065438"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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"]]  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 19:56:11.077542"], ["updated_at", "2015-10-11 19:56:11.077542"]]  (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", "2015-10-11 19:56:11.081136"], ["updated_at", "2015-10-11 19:56:11.081136"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:56:11.084859"], ["updated_at", "2015-10-11 19:56:11.084859"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:56:11.086225"], ["updated_at", "2015-10-11 19:56:11.086225"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 19:56:11.096249"], ["updated_at", "2015-10-11 19:56:11.096249"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:56:11.099183"], ["updated_at", "2015-10-11 19:56:11.099183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:56:11.102220"], ["updated_at", "2015-10-11 19:56:11.102220"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:56:11.105099"], ["updated_at", "2015-10-11 19:56:11.105099"]]  (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"."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"."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"."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"]]  (1.2ms) 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", "2015-10-11 19:56:11.120304"], ["updated_at", "2015-10-11 19:56:11.120304"]]  (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", "2015-10-11 19:56:11.124848"], ["updated_at", "2015-10-11 19:56:11.124848"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-11 19:56:11.128484"], ["updated_at", "2015-10-11 19:56:11.128484"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:56:11.130517"], ["updated_at", "2015-10-11 19:56:11.130517"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 19:56:11.140464"], ["updated_at", "2015-10-11 19:56:11.140464"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:56:11.143042"], ["updated_at", "2015-10-11 19:56:11.143042"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:56:11.146836"], ["updated_at", "2015-10-11 19:56:11.146836"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:56:11.148750"], ["updated_at", "2015-10-11 19:56:11.148750"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (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", "2015-10-11 19:56:11.159818"], ["updated_at", "2015-10-11 19:56:11.159818"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:56:11.162669"], ["updated_at", "2015-10-11 19:56:11.162669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:56:11.165609"], ["updated_at", "2015-10-11 19:56:11.165609"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:56:11.167898"], ["updated_at", "2015-10-11 19:56:11.167898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "C81CtCd7tk5C-oMkD_-09A"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 19:56:11.170833"], ["updated_at", "2015-10-11 19:56:11.170833"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "C81CtCd7tk5C-oMkD_-09A"]]  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (0.0ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 19:56:11.182204"], ["updated_at", "2015-10-11 19:56:11.182204"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:56:11.184824"], ["updated_at", "2015-10-11 19:56:11.184824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:56:11.188982"], ["updated_at", "2015-10-11 19:56:11.188982"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:56:11.190571"], ["updated_at", "2015-10-11 19:56:11.190571"]]  (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"."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"."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"."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", "2015-10-11 19:56:11.204451"], ["updated_at", "2015-10-11 19:56:11.204451"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:56:11.207346"], ["updated_at", "2015-10-11 19:56:11.207346"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1015], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:56:11.211327"], ["updated_at", "2015-10-11 19:56:11.211327"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:56:11.212751"], ["updated_at", "2015-10-11 19:56:11.212751"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1015  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1015 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"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1015 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 19:56:11.257055"], ["updated_at", "2015-10-11 19:56:11.257055"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:56:11.259797"], ["updated_at", "2015-10-11 19:56:11.259797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:56:11.263067"], ["updated_at", "2015-10-11 19:56:11.263067"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:56:11.265173"], ["updated_at", "2015-10-11 19:56:11.265173"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1016  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 19:56:11.276881"], ["updated_at", "2015-10-11 19:56:11.276881"]]  (0.2ms) 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", "2015-10-11 19:56:11.279962"], ["updated_at", "2015-10-11 19:56:11.279962"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1019], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:56:11.283636"], ["updated_at", "2015-10-11 19:56:11.283636"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:56:11.285165"], ["updated_at", "2015-10-11 19:56:11.285165"]]  (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 1 Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1018 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1018 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Element Load (0.3ms) 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", "2015-10-11 19:56:45.771150"], ["updated_at", "2015-10-11 19:56:45.771150"]]  (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", "2015-10-11 19:56:45.788732"], ["updated_at", "2015-10-11 19:56:45.788732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:56:45.814372"], ["updated_at", "2015-10-11 19:56:45.814372"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:56:45.816580"], ["updated_at", "2015-10-11 19:56:45.816580"]]  (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 1 Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1003 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"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (2.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Element Load (0.6ms) 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", "2015-10-11 19:57:34.337119"], ["updated_at", "2015-10-11 19:57:34.337119"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:57:34.357722"], ["updated_at", "2015-10-11 19:57:34.357722"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:57:34.391515"], ["updated_at", "2015-10-11 19:57:34.391515"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:57:34.394892"], ["updated_at", "2015-10-11 19:57:34.394892"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.6ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1001 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"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1001 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 19:57:38.558340"], ["updated_at", "2015-10-11 19:57:38.558340"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:57:38.590949"], ["updated_at", "2015-10-11 19:57:38.590949"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:57:38.640703"], ["updated_at", "2015-10-11 19:57:38.640703"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:57:38.643025"], ["updated_at", "2015-10-11 19:57:38.643025"]]  (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 1 Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1003 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"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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", "2015-10-11 19:59:29.750155"], ["updated_at", "2015-10-11 19:59:29.750155"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:59:29.771546"], ["updated_at", "2015-10-11 19:59:29.771546"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:59:29.805188"], ["updated_at", "2015-10-11 19:59:29.805188"]] SQL (1.5ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:59:29.809646"], ["updated_at", "2015-10-11 19:59:29.809646"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.5ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.5ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1001 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"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1001 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 19:59:46.778610"], ["updated_at", "2015-10-11 19:59:46.778610"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 19:59:46.799933"], ["updated_at", "2015-10-11 19:59:46.799933"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 19:59:46.830469"], ["updated_at", "2015-10-11 19:59:46.830469"]] SQL (1.7ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 19:59:46.834384"], ["updated_at", "2015-10-11 19:59:46.834384"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.6ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1001 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]] Adeia::Permission Load (8.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1001 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Element Load (1.0ms) 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", "2015-10-11 20:00:05.275160"], ["updated_at", "2015-10-11 20:00:05.275160"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:00:05.294714"], ["updated_at", "2015-10-11 20:00:05.294714"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1001], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:00:05.326099"], ["updated_at", "2015-10-11 20:00:05.326099"]] SQL (1.5ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:00:05.330064"], ["updated_at", "2015-10-11 20:00:05.330064"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.8ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1001 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"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1001 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.0ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (9.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:02:15.208061"], ["updated_at", "2015-10-11 20:02:15.208061"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) 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", "2015-10-11 20:02:15.228880"], ["updated_at", "2015-10-11 20:02:15.228880"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:02:15.240145"], ["updated_at", "2015-10-11 20:02:15.240145"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:02:15.294907"], ["updated_at", "2015-10-11 20:02:15.294907"]] SQL (1.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:02:15.299523"], ["updated_at", "2015-10-11 20:02:15.299523"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "4GaKqNZN5UpqV3u-u5Egcw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 20:02:15.322289"], ["updated_at", "2015-10-11 20:02:15.322289"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "4GaKqNZN5UpqV3u-u5Egcw"]]  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (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 1 Adeia::Group Load (0.5ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:02:15.386501"], ["updated_at", "2015-10-11 20:02:15.386501"]]  (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", "2015-10-11 20:02:15.389718"], ["updated_at", "2015-10-11 20:02:15.389718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 20:02:15.400698"], ["updated_at", "2015-10-11 20:02:15.400698"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:02:15.405900"], ["updated_at", "2015-10-11 20:02:15.405900"]]  (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"."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"."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"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:02:15.418871"], ["updated_at", "2015-10-11 20:02:15.418871"]]  (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", "2015-10-11 20:02:15.426081"], ["updated_at", "2015-10-11 20:02:15.426081"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:02:15.429846"], ["updated_at", "2015-10-11 20:02:15.429846"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:02:15.431444"], ["updated_at", "2015-10-11 20:02:15.431444"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.4ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.6ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:02:15.451420"], ["updated_at", "2015-10-11 20:02:15.451420"]]  (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", "2015-10-11 20:02:15.455606"], ["updated_at", "2015-10-11 20:02:15.455606"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:02:15.460571"], ["updated_at", "2015-10-11 20:02:15.460571"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:02:15.462117"], ["updated_at", "2015-10-11 20:02:15.462117"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-11 20:02:15.475464"], ["updated_at", "2015-10-11 20:02:15.475464"]]  (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", "2015-10-11 20:02:15.478643"], ["updated_at", "2015-10-11 20:02:15.478643"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:02:15.482610"], ["updated_at", "2015-10-11 20:02:15.482610"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:02:15.484268"], ["updated_at", "2015-10-11 20:02:15.484268"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-11 20:02:15.493977"], ["updated_at", "2015-10-11 20:02:15.493977"]]  (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", "2015-10-11 20:02:15.497051"], ["updated_at", "2015-10-11 20:02:15.497051"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:02:15.501345"], ["updated_at", "2015-10-11 20:02:15.501345"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:02:15.505798"], ["updated_at", "2015-10-11 20:02:15.505798"]]  (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"."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"."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.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", "2015-10-11 20:02:15.516558"], ["updated_at", "2015-10-11 20:02:15.516558"]]  (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", "2015-10-11 20:02:15.519691"], ["updated_at", "2015-10-11 20:02:15.519691"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (21.0ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:02:15.524348"], ["updated_at", "2015-10-11 20:02:15.524348"]] SQL (0.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:02:15.547483"], ["updated_at", "2015-10-11 20:02:15.547483"]]  (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"."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"."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"."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"]]  (1.5ms) 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", "2015-10-11 20:02:15.562210"], ["updated_at", "2015-10-11 20:02:15.562210"]]  (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", "2015-10-11 20:02:15.565681"], ["updated_at", "2015-10-11 20:02:15.565681"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:02:15.570615"], ["updated_at", "2015-10-11 20:02:15.570615"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:02:15.572584"], ["updated_at", "2015-10-11 20:02:15.572584"]]  (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"."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"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.4ms) rollback transaction  (0.5ms) 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", "2015-10-11 20:02:15.589744"], ["updated_at", "2015-10-11 20:02:15.589744"]]  (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", "2015-10-11 20:02:15.594129"], ["updated_at", "2015-10-11 20:02:15.594129"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-11 20:02:15.598380"], ["updated_at", "2015-10-11 20:02:15.598380"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:02:15.600654"], ["updated_at", "2015-10-11 20:02:15.600654"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 20:02:15.613264"], ["updated_at", "2015-10-11 20:02:15.613264"]]  (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", "2015-10-11 20:02:15.616363"], ["updated_at", "2015-10-11 20:02:15.616363"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.8ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:02:15.626968"], ["updated_at", "2015-10-11 20:02:15.626968"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:02:15.629802"], ["updated_at", "2015-10-11 20:02:15.629802"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:02:15.648951"], ["updated_at", "2015-10-11 20:02:15.648951"]]  (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.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:02:15.656532"], ["updated_at", "2015-10-11 20:02:15.656532"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:02:15.661615"], ["updated_at", "2015-10-11 20:02:15.661615"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:02:15.663619"], ["updated_at", "2015-10-11 20:02:15.663619"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "jWHT4Xju9MYpyMo7Ek7-5g"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 20:02:15.667015"], ["updated_at", "2015-10-11 20:02:15.667015"]]  (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", "jWHT4Xju9MYpyMo7Ek7-5g"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 20:02:15.678777"], ["updated_at", "2015-10-11 20:02:15.678777"]]  (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", "2015-10-11 20:02:15.685801"], ["updated_at", "2015-10-11 20:02:15.685801"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:02:15.690523"], ["updated_at", "2015-10-11 20:02:15.690523"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:02:15.692200"], ["updated_at", "2015-10-11 20:02:15.692200"]]  (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"."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"."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"."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", "2015-10-11 20:02:15.704017"], ["updated_at", "2015-10-11 20:02:15.704017"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:02:15.707288"], ["updated_at", "2015-10-11 20:02:15.707288"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:02:15.717273"], ["updated_at", "2015-10-11 20:02:15.717273"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:02:15.721161"], ["updated_at", "2015-10-11 20:02:15.721161"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:02:15.740242"], ["updated_at", "2015-10-11 20:02:15.740242"]]  (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", "2015-10-11 20:02:15.744014"], ["updated_at", "2015-10-11 20:02:15.744014"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:02:15.748631"], ["updated_at", "2015-10-11 20:02:15.748631"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:02:15.750277"], ["updated_at", "2015-10-11 20:02:15.750277"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1016  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.4ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:02:15.769322"], ["updated_at", "2015-10-11 20:02:15.769322"]]  (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", "2015-10-11 20:02:15.775641"], ["updated_at", "2015-10-11 20:02:15.775641"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1019], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:02:15.780055"], ["updated_at", "2015-10-11 20:02:15.780055"]] SQL (0.7ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:02:15.788154"], ["updated_at", "2015-10-11 20:02:15.788154"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1018 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1018 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (0.7ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.8ms) 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", "2015-10-11 20:03:25.287375"], ["updated_at", "2015-10-11 20:03:25.287375"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-11 20:03:25.323045"], ["updated_at", "2015-10-11 20:03:25.323045"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-11 20:03:25.340402"], ["updated_at", "2015-10-11 20:03:25.340402"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:03:25.378883"], ["updated_at", "2015-10-11 20:03:25.378883"]] SQL (1.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:03:25.383056"], ["updated_at", "2015-10-11 20:03:25.383056"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "9q6RCUlF2GYIASWvrPkaDg"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 20:03:25.398905"], ["updated_at", "2015-10-11 20:03:25.398905"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "9q6RCUlF2GYIASWvrPkaDg"]]  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.6ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:03:25.450658"], ["updated_at", "2015-10-11 20:03:25.450658"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:03:25.453367"], ["updated_at", "2015-10-11 20:03:25.453367"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 20:03:25.456472"], ["updated_at", "2015-10-11 20:03:25.456472"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:03:25.459204"], ["updated_at", "2015-10-11 20:03:25.459204"]]  (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 1 Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.1ms) 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", "2015-10-11 20:03:25.473413"], ["updated_at", "2015-10-11 20:03:25.473413"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:03:25.476580"], ["updated_at", "2015-10-11 20:03:25.476580"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:03:25.480834"], ["updated_at", "2015-10-11 20:03:25.480834"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:03:25.482434"], ["updated_at", "2015-10-11 20:03:25.482434"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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", "2015-10-11 20:03:25.496413"], ["updated_at", "2015-10-11 20:03:25.496413"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:03:25.499464"], ["updated_at", "2015-10-11 20:03:25.499464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:03:25.503318"], ["updated_at", "2015-10-11 20:03:25.503318"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:03:25.504932"], ["updated_at", "2015-10-11 20:03:25.504932"]]  (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"."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"."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"."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"]]  (0.9ms) 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", "2015-10-11 20:03:25.514574"], ["updated_at", "2015-10-11 20:03:25.514574"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:03:25.517414"], ["updated_at", "2015-10-11 20:03:25.517414"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:03:25.520800"], ["updated_at", "2015-10-11 20:03:25.520800"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:03:25.523041"], ["updated_at", "2015-10-11 20:03:25.523041"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-11 20:03:25.532004"], ["updated_at", "2015-10-11 20:03:25.532004"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:03:25.534744"], ["updated_at", "2015-10-11 20:03:25.534744"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:03:25.540072"], ["updated_at", "2015-10-11 20:03:25.540072"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:03:25.541407"], ["updated_at", "2015-10-11 20:03:25.541407"]]  (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"."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"."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"]]  (1.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", "2015-10-11 20:03:25.552070"], ["updated_at", "2015-10-11 20:03:25.552070"]]  (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", "2015-10-11 20:03:25.556182"], ["updated_at", "2015-10-11 20:03:25.556182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:03:25.560912"], ["updated_at", "2015-10-11 20:03:25.560912"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:03:25.562782"], ["updated_at", "2015-10-11 20:03:25.562782"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.2ms) 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", "2015-10-11 20:03:25.572560"], ["updated_at", "2015-10-11 20:03:25.572560"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:03:25.575187"], ["updated_at", "2015-10-11 20:03:25.575187"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:03:25.579383"], ["updated_at", "2015-10-11 20:03:25.579383"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:03:25.582230"], ["updated_at", "2015-10-11 20:03:25.582230"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-11 20:03:25.596751"], ["updated_at", "2015-10-11 20:03:25.596751"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:03:25.599972"], ["updated_at", "2015-10-11 20:03:25.599972"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-11 20:03:25.604421"], ["updated_at", "2015-10-11 20:03:25.604421"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:03:25.605909"], ["updated_at", "2015-10-11 20:03:25.605909"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.9ms) 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", "2015-10-11 20:03:25.616115"], ["updated_at", "2015-10-11 20:03:25.616115"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:03:25.618963"], ["updated_at", "2015-10-11 20:03:25.618963"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:03:25.622619"], ["updated_at", "2015-10-11 20:03:25.622619"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:03:25.624757"], ["updated_at", "2015-10-11 20:03:25.624757"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (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", "2015-10-11 20:03:25.635990"], ["updated_at", "2015-10-11 20:03:25.635990"]]  (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", "2015-10-11 20:03:25.639078"], ["updated_at", "2015-10-11 20:03:25.639078"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:03:25.642378"], ["updated_at", "2015-10-11 20:03:25.642378"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:03:25.643822"], ["updated_at", "2015-10-11 20:03:25.643822"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "8J8O2MCA7gE1jeZJCaTSBQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 20:03:25.647434"], ["updated_at", "2015-10-11 20:03:25.647434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "8J8O2MCA7gE1jeZJCaTSBQ"]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (0.0ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (1.7ms) 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", "2015-10-11 20:03:25.657183"], ["updated_at", "2015-10-11 20:03:25.657183"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:03:25.659942"], ["updated_at", "2015-10-11 20:03:25.659942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:03:25.663695"], ["updated_at", "2015-10-11 20:03:25.663695"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:03:25.665279"], ["updated_at", "2015-10-11 20:03:25.665279"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:03:25.675163"], ["updated_at", "2015-10-11 20:03:25.675163"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:03:25.677742"], ["updated_at", "2015-10-11 20:03:25.677742"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:03:25.682011"], ["updated_at", "2015-10-11 20:03:25.682011"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:03:25.683816"], ["updated_at", "2015-10-11 20:03:25.683816"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-11 20:03:25.697988"], ["updated_at", "2015-10-11 20:03:25.697988"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:03:25.700695"], ["updated_at", "2015-10-11 20:03:25.700695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:03:25.705002"], ["updated_at", "2015-10-11 20:03:25.705002"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:03:25.707586"], ["updated_at", "2015-10-11 20:03:25.707586"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1016  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 20:03:25.720603"], ["updated_at", "2015-10-11 20:03:25.720603"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:03:25.723246"], ["updated_at", "2015-10-11 20:03:25.723246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1019], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1018], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:03:25.727815"], ["updated_at", "2015-10-11 20:03:25.727815"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:03:25.738002"], ["updated_at", "2015-10-11 20:03:25.738002"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1019 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1019 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (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 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 (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:04:09.651911"], ["updated_at", "2015-10-11 20:04:09.651911"]]  (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", "2015-10-11 20:04:09.668716"], ["updated_at", "2015-10-11 20:04:09.668716"]]  (0.0ms) 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", "2015-10-11 20:04:09.681418"], ["updated_at", "2015-10-11 20:04:09.681418"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:04:09.711121"], ["updated_at", "2015-10-11 20:04:09.711121"]] SQL (1.6ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:04:09.714912"], ["updated_at", "2015-10-11 20:04:09.714912"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "JfiFLyfbPlRyeKq8xBayNA"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 20:04:09.728890"], ["updated_at", "2015-10-11 20:04:09.728890"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "JfiFLyfbPlRyeKq8xBayNA"]]  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) 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.6ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:04:09.778437"], ["updated_at", "2015-10-11 20:04:09.778437"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:04:09.780969"], ["updated_at", "2015-10-11 20:04:09.780969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 20:04:09.784567"], ["updated_at", "2015-10-11 20:04:09.784567"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:04:09.786039"], ["updated_at", "2015-10-11 20:04:09.786039"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:04:09.795245"], ["updated_at", "2015-10-11 20:04:09.795245"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:04:09.798063"], ["updated_at", "2015-10-11 20:04:09.798063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:04:09.801792"], ["updated_at", "2015-10-11 20:04:09.801792"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:04:09.803265"], ["updated_at", "2015-10-11 20:04:09.803265"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:04:09.812626"], ["updated_at", "2015-10-11 20:04:09.812626"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:04:09.815225"], ["updated_at", "2015-10-11 20:04:09.815225"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:04:09.818322"], ["updated_at", "2015-10-11 20:04:09.818322"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:04:09.820348"], ["updated_at", "2015-10-11 20:04:09.820348"]]  (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"."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"."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"."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"]]  (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", "2015-10-11 20:04:09.830577"], ["updated_at", "2015-10-11 20:04:09.830577"]]  (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", "2015-10-11 20:04:09.833479"], ["updated_at", "2015-10-11 20:04:09.833479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:04:09.837615"], ["updated_at", "2015-10-11 20:04:09.837615"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:04:09.839401"], ["updated_at", "2015-10-11 20:04:09.839401"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:04:09.848098"], ["updated_at", "2015-10-11 20:04:09.848098"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:04:09.850599"], ["updated_at", "2015-10-11 20:04:09.850599"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:04:09.853716"], ["updated_at", "2015-10-11 20:04:09.853716"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:04:09.855236"], ["updated_at", "2015-10-11 20:04:09.855236"]]  (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"."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"."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"]]  (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", "2015-10-11 20:04:09.866663"], ["updated_at", "2015-10-11 20:04:09.866663"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:04:09.869939"], ["updated_at", "2015-10-11 20:04:09.869939"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:04:09.873815"], ["updated_at", "2015-10-11 20:04:09.873815"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:04:09.875145"], ["updated_at", "2015-10-11 20:04:09.875145"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.4ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:04:09.885797"], ["updated_at", "2015-10-11 20:04:09.885797"]]  (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", "2015-10-11 20:04:09.888917"], ["updated_at", "2015-10-11 20:04:09.888917"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:04:09.892535"], ["updated_at", "2015-10-11 20:04:09.892535"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:04:09.894033"], ["updated_at", "2015-10-11 20:04:09.894033"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-11 20:04:09.904833"], ["updated_at", "2015-10-11 20:04:09.904833"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:04:09.907384"], ["updated_at", "2015-10-11 20:04:09.907384"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-11 20:04:09.910466"], ["updated_at", "2015-10-11 20:04:09.910466"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:04:09.912564"], ["updated_at", "2015-10-11 20:04:09.912564"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 20:04:09.923443"], ["updated_at", "2015-10-11 20:04:09.923443"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:04:09.926054"], ["updated_at", "2015-10-11 20:04:09.926054"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:04:09.931049"], ["updated_at", "2015-10-11 20:04:09.931049"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:04:09.932877"], ["updated_at", "2015-10-11 20:04:09.932877"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.9ms) 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", "2015-10-11 20:04:09.943689"], ["updated_at", "2015-10-11 20:04:09.943689"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:04:09.946390"], ["updated_at", "2015-10-11 20:04:09.946390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:04:09.950100"], ["updated_at", "2015-10-11 20:04:09.950100"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:04:09.952352"], ["updated_at", "2015-10-11 20:04:09.952352"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "Z1Wd56pjiydgO7mqEUkeNQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 20:04:09.955995"], ["updated_at", "2015-10-11 20:04:09.955995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "Z1Wd56pjiydgO7mqEUkeNQ"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (0.0ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (1.1ms) 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", "2015-10-11 20:04:09.967912"], ["updated_at", "2015-10-11 20:04:09.967912"]]  (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", "2015-10-11 20:04:09.970631"], ["updated_at", "2015-10-11 20:04:09.970631"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:04:09.973624"], ["updated_at", "2015-10-11 20:04:09.973624"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:04:09.976121"], ["updated_at", "2015-10-11 20:04:09.976121"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) 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", "2015-10-11 20:04:09.987841"], ["updated_at", "2015-10-11 20:04:09.987841"]]  (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", "2015-10-11 20:04:09.991918"], ["updated_at", "2015-10-11 20:04:09.991918"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:04:09.995493"], ["updated_at", "2015-10-11 20:04:09.995493"]] SQL (0.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:04:09.996823"], ["updated_at", "2015-10-11 20:04:09.996823"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.1ms) 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", "2015-10-11 20:04:10.018125"], ["updated_at", "2015-10-11 20:04:10.018125"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:04:10.021417"], ["updated_at", "2015-10-11 20:04:10.021417"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:04:10.025284"], ["updated_at", "2015-10-11 20:04:10.025284"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:04:10.026631"], ["updated_at", "2015-10-11 20:04:10.026631"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:04:10.038554"], ["updated_at", "2015-10-11 20:04:10.038554"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:04:10.041271"], ["updated_at", "2015-10-11 20:04:10.041271"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1019], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1018], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:04:10.045142"], ["updated_at", "2015-10-11 20:04:10.045142"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:04:10.053553"], ["updated_at", "2015-10-11 20:04:10.053553"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1019 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1019 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:04:37.315442"], ["updated_at", "2015-10-11 20:04:37.315442"]]  (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", "2015-10-11 20:04:37.331453"], ["updated_at", "2015-10-11 20:04:37.331453"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1001], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:04:37.361109"], ["updated_at", "2015-10-11 20:04:37.361109"]] SQL (0.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:04:37.363265"], ["updated_at", "2015-10-11 20:04:37.363265"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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"]]  (2.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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", "2015-10-11 20:05:06.125996"], ["updated_at", "2015-10-11 20:05:06.125996"]]  (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", "2015-10-11 20:05:06.142655"], ["updated_at", "2015-10-11 20:05:06.142655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1001], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:05:06.170160"], ["updated_at", "2015-10-11 20:05:06.170160"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:05:06.172100"], ["updated_at", "2015-10-11 20:05:06.172100"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1002 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"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1002 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (2.0ms) 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 1  (0.1ms) rollback transaction  (0.2ms) begin transaction Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:33:57.939953"], ["updated_at", "2015-10-11 20:33:57.939953"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.5ms) 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", "2015-10-11 20:33:57.963546"], ["updated_at", "2015-10-11 20:33:57.963546"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-11 20:33:57.977062"], ["updated_at", "2015-10-11 20:33:57.977062"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:33:58.017359"], ["updated_at", "2015-10-11 20:33:58.017359"]] SQL (1.8ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:33:58.019962"], ["updated_at", "2015-10-11 20:33:58.019962"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "RXYoPSoWyGo53OPR6NBsSg"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 20:33:58.030476"], ["updated_at", "2015-10-11 20:33:58.030476"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "RXYoPSoWyGo53OPR6NBsSg"]]  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) 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  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:33:58.071986"], ["updated_at", "2015-10-11 20:33:58.071986"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:33:58.075682"], ["updated_at", "2015-10-11 20:33:58.075682"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 20:33:58.078714"], ["updated_at", "2015-10-11 20:33:58.078714"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:33:58.079955"], ["updated_at", "2015-10-11 20:33:58.079955"]]  (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  (1.2ms) 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", "2015-10-11 20:33:58.091952"], ["updated_at", "2015-10-11 20:33:58.091952"]]  (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", "2015-10-11 20:33:58.095096"], ["updated_at", "2015-10-11 20:33:58.095096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:33:58.098362"], ["updated_at", "2015-10-11 20:33:58.098362"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:33:58.099740"], ["updated_at", "2015-10-11 20:33:58.099740"]]  (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  (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", "2015-10-11 20:33:58.107727"], ["updated_at", "2015-10-11 20:33:58.107727"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:33:58.110391"], ["updated_at", "2015-10-11 20:33:58.110391"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:33:58.113842"], ["updated_at", "2015-10-11 20:33:58.113842"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:33:58.115564"], ["updated_at", "2015-10-11 20:33:58.115564"]]  (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  (0.9ms) 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", "2015-10-11 20:33:58.124181"], ["updated_at", "2015-10-11 20:33:58.124181"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:33:58.127423"], ["updated_at", "2015-10-11 20:33:58.127423"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:33:58.132639"], ["updated_at", "2015-10-11 20:33:58.132639"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:33:58.134391"], ["updated_at", "2015-10-11 20:33:58.134391"]]  (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  (0.9ms) rollback transaction  (0.2ms) 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", "2015-10-11 20:33:58.144972"], ["updated_at", "2015-10-11 20:33:58.144972"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:33:58.148152"], ["updated_at", "2015-10-11 20:33:58.148152"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:33:58.154760"], ["updated_at", "2015-10-11 20:33:58.154760"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:33:58.157261"], ["updated_at", "2015-10-11 20:33:58.157261"]]  (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  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:33:58.167615"], ["updated_at", "2015-10-11 20:33:58.167615"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:33:58.170147"], ["updated_at", "2015-10-11 20:33:58.170147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:33:58.173167"], ["updated_at", "2015-10-11 20:33:58.173167"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:33:58.175914"], ["updated_at", "2015-10-11 20:33:58.175914"]]  (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  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:33:58.183234"], ["updated_at", "2015-10-11 20:33:58.183234"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:33:58.185898"], ["updated_at", "2015-10-11 20:33:58.185898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:33:58.191411"], ["updated_at", "2015-10-11 20:33:58.191411"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:33:58.193096"], ["updated_at", "2015-10-11 20:33:58.193096"]]  (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  (0.9ms) 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", "2015-10-11 20:33:58.201308"], ["updated_at", "2015-10-11 20:33:58.201308"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:33:58.203724"], ["updated_at", "2015-10-11 20:33:58.203724"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-11 20:33:58.208647"], ["updated_at", "2015-10-11 20:33:58.208647"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:33:58.210300"], ["updated_at", "2015-10-11 20:33:58.210300"]]  (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  (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", "2015-10-11 20:33:58.219219"], ["updated_at", "2015-10-11 20:33:58.219219"]]  (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", "2015-10-11 20:33:58.222563"], ["updated_at", "2015-10-11 20:33:58.222563"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:33:58.227783"], ["updated_at", "2015-10-11 20:33:58.227783"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:33:58.229309"], ["updated_at", "2015-10-11 20:33:58.229309"]]  (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  (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", "2015-10-11 20:33:58.239057"], ["updated_at", "2015-10-11 20:33:58.239057"]]  (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", "2015-10-11 20:33:58.242328"], ["updated_at", "2015-10-11 20:33:58.242328"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:33:58.246310"], ["updated_at", "2015-10-11 20:33:58.246310"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:33:58.247746"], ["updated_at", "2015-10-11 20:33:58.247746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "vidGT9cVLq2xyzjDYPYDqQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 20:33:58.250328"], ["updated_at", "2015-10-11 20:33:58.250328"]]  (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", "vidGT9cVLq2xyzjDYPYDqQ"]]  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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", "2015-10-11 20:33:58.262286"], ["updated_at", "2015-10-11 20:33:58.262286"]]  (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", "2015-10-11 20:33:58.265562"], ["updated_at", "2015-10-11 20:33:58.265562"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:33:58.270724"], ["updated_at", "2015-10-11 20:33:58.270724"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:33:58.273079"], ["updated_at", "2015-10-11 20:33:58.273079"]]  (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  (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", "2015-10-11 20:33:58.282229"], ["updated_at", "2015-10-11 20:33:58.282229"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:33:58.285050"], ["updated_at", "2015-10-11 20:33:58.285050"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:33:58.289046"], ["updated_at", "2015-10-11 20:33:58.289046"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:33:58.290938"], ["updated_at", "2015-10-11 20:33:58.290938"]]  (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  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:33:58.302995"], ["updated_at", "2015-10-11 20:33:58.302995"]]  (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", "2015-10-11 20:33:58.306675"], ["updated_at", "2015-10-11 20:33:58.306675"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:33:58.311900"], ["updated_at", "2015-10-11 20:33:58.311900"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:33:58.314121"], ["updated_at", "2015-10-11 20:33:58.314121"]]  (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  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:33:58.325628"], ["updated_at", "2015-10-11 20:33:58.325628"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:33:58.336294"], ["updated_at", "2015-10-11 20:33:58.336294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1019], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1018], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:33:58.343081"], ["updated_at", "2015-10-11 20:33:58.343081"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:33:58.345052"], ["updated_at", "2015-10-11 20:33:58.345052"]]  (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  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 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 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:34:42.528633"], ["updated_at", "2015-10-11 20:34:42.528633"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.5ms) 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", "2015-10-11 20:34:42.550542"], ["updated_at", "2015-10-11 20:34:42.550542"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:34:42.563043"], ["updated_at", "2015-10-11 20:34:42.563043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:34:42.593468"], ["updated_at", "2015-10-11 20:34:42.593468"]] SQL (2.0ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:34:42.596700"], ["updated_at", "2015-10-11 20:34:42.596700"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "DZQ0J7e5c5h0ysbLc7-Xiw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 20:34:42.610751"], ["updated_at", "2015-10-11 20:34:42.610751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "DZQ0J7e5c5h0ysbLc7-Xiw"]]  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.6ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:34:42.666718"], ["updated_at", "2015-10-11 20:34:42.666718"]]  (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", "2015-10-11 20:34:42.670377"], ["updated_at", "2015-10-11 20:34:42.670377"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 20:34:42.675832"], ["updated_at", "2015-10-11 20:34:42.675832"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:34:42.678162"], ["updated_at", "2015-10-11 20:34:42.678162"]]  (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"."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"."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"]]  (0.9ms) 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", "2015-10-11 20:34:42.690771"], ["updated_at", "2015-10-11 20:34:42.690771"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:34:42.693998"], ["updated_at", "2015-10-11 20:34:42.693998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:34:42.697255"], ["updated_at", "2015-10-11 20:34:42.697255"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:34:42.698520"], ["updated_at", "2015-10-11 20:34:42.698520"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.4ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.5ms) 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", "2015-10-11 20:34:42.715202"], ["updated_at", "2015-10-11 20:34:42.715202"]]  (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", "2015-10-11 20:34:42.719148"], ["updated_at", "2015-10-11 20:34:42.719148"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:34:42.724340"], ["updated_at", "2015-10-11 20:34:42.724340"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:34:42.727198"], ["updated_at", "2015-10-11 20:34:42.727198"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.4ms) 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.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:34:42.740066"], ["updated_at", "2015-10-11 20:34:42.740066"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:34:42.744646"], ["updated_at", "2015-10-11 20:34:42.744646"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:34:42.749571"], ["updated_at", "2015-10-11 20:34:42.749571"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:34:42.752175"], ["updated_at", "2015-10-11 20:34:42.752175"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:34:42.764907"], ["updated_at", "2015-10-11 20:34:42.764907"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:34:42.767721"], ["updated_at", "2015-10-11 20:34:42.767721"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:34:42.771253"], ["updated_at", "2015-10-11 20:34:42.771253"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:34:42.772555"], ["updated_at", "2015-10-11 20:34:42.772555"]]  (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"."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"."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"]]  (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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:34:42.784512"], ["updated_at", "2015-10-11 20:34:42.784512"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:34:42.788142"], ["updated_at", "2015-10-11 20:34:42.788142"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:34:42.792580"], ["updated_at", "2015-10-11 20:34:42.792580"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:34:42.794147"], ["updated_at", "2015-10-11 20:34:42.794147"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:34:42.803440"], ["updated_at", "2015-10-11 20:34:42.803440"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:34:42.806059"], ["updated_at", "2015-10-11 20:34:42.806059"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:34:42.811916"], ["updated_at", "2015-10-11 20:34:42.811916"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:34:42.814024"], ["updated_at", "2015-10-11 20:34:42.814024"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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"."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.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", "2015-10-11 20:34:42.830136"], ["updated_at", "2015-10-11 20:34:42.830136"]]  (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", "2015-10-11 20:34:42.834387"], ["updated_at", "2015-10-11 20:34:42.834387"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-11 20:34:42.838719"], ["updated_at", "2015-10-11 20:34:42.838719"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:34:42.840185"], ["updated_at", "2015-10-11 20:34:42.840185"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.9ms) 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", "2015-10-11 20:34:42.851658"], ["updated_at", "2015-10-11 20:34:42.851658"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:34:42.854253"], ["updated_at", "2015-10-11 20:34:42.854253"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:34:42.857586"], ["updated_at", "2015-10-11 20:34:42.857586"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:34:42.859761"], ["updated_at", "2015-10-11 20:34:42.859761"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (1.2ms) 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", "2015-10-11 20:34:42.870856"], ["updated_at", "2015-10-11 20:34:42.870856"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:34:42.873364"], ["updated_at", "2015-10-11 20:34:42.873364"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:34:42.878078"], ["updated_at", "2015-10-11 20:34:42.878078"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:34:42.880113"], ["updated_at", "2015-10-11 20:34:42.880113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "B0mBGbWnV9zgu3DZSYk28A"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 20:34:42.885087"], ["updated_at", "2015-10-11 20:34:42.885087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "B0mBGbWnV9zgu3DZSYk28A"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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", "2015-10-11 20:34:42.896539"], ["updated_at", "2015-10-11 20:34:42.896539"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:34:42.899418"], ["updated_at", "2015-10-11 20:34:42.899418"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:34:42.905554"], ["updated_at", "2015-10-11 20:34:42.905554"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:34:42.907551"], ["updated_at", "2015-10-11 20:34:42.907551"]]  (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"."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"."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"."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"]]  (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", "2015-10-11 20:34:42.918976"], ["updated_at", "2015-10-11 20:34:42.918976"]]  (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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:34:42.923771"], ["updated_at", "2015-10-11 20:34:42.923771"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:34:42.930886"], ["updated_at", "2015-10-11 20:34:42.930886"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:34:42.932962"], ["updated_at", "2015-10-11 20:34:42.932962"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:34:42.948701"], ["updated_at", "2015-10-11 20:34:42.948701"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:34:42.951226"], ["updated_at", "2015-10-11 20:34:42.951226"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:34:42.954516"], ["updated_at", "2015-10-11 20:34:42.954516"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:34:42.956327"], ["updated_at", "2015-10-11 20:34:42.956327"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 20:34:42.969565"], ["updated_at", "2015-10-11 20:34:42.969565"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:34:42.973012"], ["updated_at", "2015-10-11 20:34:42.973012"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1019], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1018], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:34:42.978112"], ["updated_at", "2015-10-11 20:34:42.978112"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:34:42.987314"], ["updated_at", "2015-10-11 20:34:42.987314"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1019  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1019 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"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1019 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) 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.6ms) 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", "2015-10-11 20:38:17.069377"], ["updated_at", "2015-10-11 20:38:17.069377"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-11 20:38:17.089349"], ["updated_at", "2015-10-11 20:38:17.089349"]]  (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.5ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:38:17.103863"], ["updated_at", "2015-10-11 20:38:17.103863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:17.138156"], ["updated_at", "2015-10-11 20:38:17.138156"]] SQL (1.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:17.141317"], ["updated_at", "2015-10-11 20:38:17.141317"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "FLenqYTChdHOiMYeSeWgoA"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 20:38:17.154451"], ["updated_at", "2015-10-11 20:38:17.154451"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "FLenqYTChdHOiMYeSeWgoA"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (0.3ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.2ms) 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.5ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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", "2015-10-11 20:38:17.210607"], ["updated_at", "2015-10-11 20:38:17.210607"]]  (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", "2015-10-11 20:38:17.214344"], ["updated_at", "2015-10-11 20:38:17.214344"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 20:38:17.218052"], ["updated_at", "2015-10-11 20:38:17.218052"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:17.220361"], ["updated_at", "2015-10-11 20:38:17.220361"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-11 20:38:17.231033"], ["updated_at", "2015-10-11 20:38:17.231033"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:38:17.234375"], ["updated_at", "2015-10-11 20:38:17.234375"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:17.238460"], ["updated_at", "2015-10-11 20:38:17.238460"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:17.239799"], ["updated_at", "2015-10-11 20:38:17.239799"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-11 20:38:17.250104"], ["updated_at", "2015-10-11 20:38:17.250104"]]  (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", "2015-10-11 20:38:17.253266"], ["updated_at", "2015-10-11 20:38:17.253266"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:17.256961"], ["updated_at", "2015-10-11 20:38:17.256961"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:17.258439"], ["updated_at", "2015-10-11 20:38:17.258439"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:38:17.270802"], ["updated_at", "2015-10-11 20:38:17.270802"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:38:17.273333"], ["updated_at", "2015-10-11 20:38:17.273333"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:17.276922"], ["updated_at", "2015-10-11 20:38:17.276922"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:17.278806"], ["updated_at", "2015-10-11 20:38:17.278806"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:38:17.289014"], ["updated_at", "2015-10-11 20:38:17.289014"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:38:17.291531"], ["updated_at", "2015-10-11 20:38:17.291531"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:17.295238"], ["updated_at", "2015-10-11 20:38:17.295238"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:17.297659"], ["updated_at", "2015-10-11 20:38:17.297659"]]  (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"."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"."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", "2015-10-11 20:38:17.308967"], ["updated_at", "2015-10-11 20:38:17.308967"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:38:17.312275"], ["updated_at", "2015-10-11 20:38:17.312275"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:17.317485"], ["updated_at", "2015-10-11 20:38:17.317485"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:17.319475"], ["updated_at", "2015-10-11 20:38:17.319475"]]  (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"."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"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.2ms) 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", "2015-10-11 20:38:17.330924"], ["updated_at", "2015-10-11 20:38:17.330924"]]  (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", "2015-10-11 20:38:17.334437"], ["updated_at", "2015-10-11 20:38:17.334437"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:17.338409"], ["updated_at", "2015-10-11 20:38:17.338409"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:17.339866"], ["updated_at", "2015-10-11 20:38:17.339866"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:38:17.350877"], ["updated_at", "2015-10-11 20:38:17.350877"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:38:17.354163"], ["updated_at", "2015-10-11 20:38:17.354163"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-11 20:38:17.357968"], ["updated_at", "2015-10-11 20:38:17.357968"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:17.359427"], ["updated_at", "2015-10-11 20:38:17.359427"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:38:17.371741"], ["updated_at", "2015-10-11 20:38:17.371741"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:38:17.374515"], ["updated_at", "2015-10-11 20:38:17.374515"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:17.378164"], ["updated_at", "2015-10-11 20:38:17.378164"]] SQL (0.9ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:17.379873"], ["updated_at", "2015-10-11 20:38:17.379873"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (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", "2015-10-11 20:38:17.393368"], ["updated_at", "2015-10-11 20:38:17.393368"]]  (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", "2015-10-11 20:38:17.396710"], ["updated_at", "2015-10-11 20:38:17.396710"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:17.401320"], ["updated_at", "2015-10-11 20:38:17.401320"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:17.403157"], ["updated_at", "2015-10-11 20:38:17.403157"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "aixC7MaqrSG_1QmvcYyK6A"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 20:38:17.406069"], ["updated_at", "2015-10-11 20:38:17.406069"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "aixC7MaqrSG_1QmvcYyK6A"]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:38:17.416338"], ["updated_at", "2015-10-11 20:38:17.416338"]]  (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", "2015-10-11 20:38:17.419917"], ["updated_at", "2015-10-11 20:38:17.419917"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:17.423540"], ["updated_at", "2015-10-11 20:38:17.423540"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:17.424978"], ["updated_at", "2015-10-11 20:38:17.424978"]]  (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"."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"."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"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:38:17.436176"], ["updated_at", "2015-10-11 20:38:17.436176"]]  (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", "2015-10-11 20:38:17.439127"], ["updated_at", "2015-10-11 20:38:17.439127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:17.442851"], ["updated_at", "2015-10-11 20:38:17.442851"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:17.444498"], ["updated_at", "2015-10-11 20:38:17.444498"]]  (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"."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"."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"."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"]]  (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", "2015-10-11 20:38:17.461620"], ["updated_at", "2015-10-11 20:38:17.461620"]]  (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", "2015-10-11 20:38:17.464911"], ["updated_at", "2015-10-11 20:38:17.464911"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:17.470115"], ["updated_at", "2015-10-11 20:38:17.470115"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:17.471653"], ["updated_at", "2015-10-11 20:38:17.471653"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.0ms) 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", "2015-10-11 20:38:17.484653"], ["updated_at", "2015-10-11 20:38:17.484653"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:38:17.487760"], ["updated_at", "2015-10-11 20:38:17.487760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1019], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 2], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:17.491404"], ["updated_at", "2015-10-11 20:38:17.491404"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:17.498818"], ["updated_at", "2015-10-11 20:38:17.498818"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1019  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1019 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"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1019 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", "2015-10-11 20:38:17.551477"], ["updated_at", "2015-10-11 20:38:17.551477"]]  (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", "2015-10-11 20:38:17.554864"], ["updated_at", "2015-10-11 20:38:17.554864"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1021], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:17.558533"], ["updated_at", "2015-10-11 20:38:17.558533"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:17.559875"], ["updated_at", "2015-10-11 20:38:17.559875"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1021  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1021 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"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1021 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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 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", "2015-10-11 20:38:31.213209"], ["updated_at", "2015-10-11 20:38:31.213209"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.8ms) 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", "2015-10-11 20:38:31.230964"], ["updated_at", "2015-10-11 20:38:31.230964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-11 20:38:31.242422"], ["updated_at", "2015-10-11 20:38:31.242422"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:31.272168"], ["updated_at", "2015-10-11 20:38:31.272168"]] SQL (1.7ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:31.275213"], ["updated_at", "2015-10-11 20:38:31.275213"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "hnrP461KPy5O-zwLU6ZUkQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 20:38:31.286474"], ["updated_at", "2015-10-11 20:38:31.286474"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "hnrP461KPy5O-zwLU6ZUkQ"]]  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.2ms) 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.5ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:38:31.342071"], ["updated_at", "2015-10-11 20:38:31.342071"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:38:31.344600"], ["updated_at", "2015-10-11 20:38:31.344600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 20:38:31.347592"], ["updated_at", "2015-10-11 20:38:31.347592"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:31.348874"], ["updated_at", "2015-10-11 20:38:31.348874"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 20:38:31.358112"], ["updated_at", "2015-10-11 20:38:31.358112"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:38:31.360792"], ["updated_at", "2015-10-11 20:38:31.360792"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:31.366715"], ["updated_at", "2015-10-11 20:38:31.366715"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:31.368275"], ["updated_at", "2015-10-11 20:38:31.368275"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-11 20:38:31.377204"], ["updated_at", "2015-10-11 20:38:31.377204"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:38:31.379707"], ["updated_at", "2015-10-11 20:38:31.379707"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:31.382792"], ["updated_at", "2015-10-11 20:38:31.382792"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:31.384370"], ["updated_at", "2015-10-11 20:38:31.384370"]]  (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"."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"."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"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:38:31.395562"], ["updated_at", "2015-10-11 20:38:31.395562"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:38:31.398292"], ["updated_at", "2015-10-11 20:38:31.398292"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:31.401939"], ["updated_at", "2015-10-11 20:38:31.401939"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:31.403229"], ["updated_at", "2015-10-11 20:38:31.403229"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-11 20:38:31.412174"], ["updated_at", "2015-10-11 20:38:31.412174"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:38:31.416401"], ["updated_at", "2015-10-11 20:38:31.416401"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:31.420768"], ["updated_at", "2015-10-11 20:38:31.420768"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:31.422196"], ["updated_at", "2015-10-11 20:38:31.422196"]]  (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"."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"."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.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", "2015-10-11 20:38:31.432145"], ["updated_at", "2015-10-11 20:38:31.432145"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:38:31.434694"], ["updated_at", "2015-10-11 20:38:31.434694"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:31.438128"], ["updated_at", "2015-10-11 20:38:31.438128"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:31.440314"], ["updated_at", "2015-10-11 20:38:31.440314"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:38:31.452212"], ["updated_at", "2015-10-11 20:38:31.452212"]]  (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", "2015-10-11 20:38:31.456283"], ["updated_at", "2015-10-11 20:38:31.456283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:31.459972"], ["updated_at", "2015-10-11 20:38:31.459972"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:31.461460"], ["updated_at", "2015-10-11 20:38:31.461460"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.5ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:38:31.473029"], ["updated_at", "2015-10-11 20:38:31.473029"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:38:31.475842"], ["updated_at", "2015-10-11 20:38:31.475842"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-11 20:38:31.479429"], ["updated_at", "2015-10-11 20:38:31.479429"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:31.480962"], ["updated_at", "2015-10-11 20:38:31.480962"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:38:31.490915"], ["updated_at", "2015-10-11 20:38:31.490915"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:38:31.493408"], ["updated_at", "2015-10-11 20:38:31.493408"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:31.497205"], ["updated_at", "2015-10-11 20:38:31.497205"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:31.498710"], ["updated_at", "2015-10-11 20:38:31.498710"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:38:31.510729"], ["updated_at", "2015-10-11 20:38:31.510729"]]  (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", "2015-10-11 20:38:31.513699"], ["updated_at", "2015-10-11 20:38:31.513699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:31.518049"], ["updated_at", "2015-10-11 20:38:31.518049"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:31.519560"], ["updated_at", "2015-10-11 20:38:31.519560"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "ipxxVjqcvv0mCwvGJgbjVg"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 20:38:31.522952"], ["updated_at", "2015-10-11 20:38:31.522952"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "ipxxVjqcvv0mCwvGJgbjVg"]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (0.0ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-11 20:38:31.532349"], ["updated_at", "2015-10-11 20:38:31.532349"]]  (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", "2015-10-11 20:38:31.535495"], ["updated_at", "2015-10-11 20:38:31.535495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:31.539542"], ["updated_at", "2015-10-11 20:38:31.539542"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:31.541442"], ["updated_at", "2015-10-11 20:38:31.541442"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.9ms) 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", "2015-10-11 20:38:31.551775"], ["updated_at", "2015-10-11 20:38:31.551775"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:38:31.554350"], ["updated_at", "2015-10-11 20:38:31.554350"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:31.559631"], ["updated_at", "2015-10-11 20:38:31.559631"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:31.561017"], ["updated_at", "2015-10-11 20:38:31.561017"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-11 20:38:31.575798"], ["updated_at", "2015-10-11 20:38:31.575798"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:38:31.578496"], ["updated_at", "2015-10-11 20:38:31.578496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:31.582506"], ["updated_at", "2015-10-11 20:38:31.582506"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:31.585191"], ["updated_at", "2015-10-11 20:38:31.585191"]]  (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 1 Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1016  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-11 20:38:31.600192"], ["updated_at", "2015-10-11 20:38:31.600192"]]  (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", "2015-10-11 20:38:31.603223"], ["updated_at", "2015-10-11 20:38:31.603223"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1019], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 2], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:31.607323"], ["updated_at", "2015-10-11 20:38:31.607323"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:31.615025"], ["updated_at", "2015-10-11 20:38:31.615025"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1019  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1019 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"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1019 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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", "2015-10-11 20:38:31.626426"], ["updated_at", "2015-10-11 20:38:31.626426"]]  (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", "2015-10-11 20:38:31.629491"], ["updated_at", "2015-10-11 20:38:31.629491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1021], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:38:31.633553"], ["updated_at", "2015-10-11 20:38:31.633553"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:38:31.635019"], ["updated_at", "2015-10-11 20:38:31.635019"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1021  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1021 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"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1021 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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 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 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", "2015-10-11 20:39:03.136185"], ["updated_at", "2015-10-11 20:39:03.136185"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) 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", "2015-10-11 20:39:03.153667"], ["updated_at", "2015-10-11 20:39:03.153667"]]  (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", "2015-10-11 20:39:03.166449"], ["updated_at", "2015-10-11 20:39:03.166449"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:39:03.198311"], ["updated_at", "2015-10-11 20:39:03.198311"]] SQL (1.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:39:03.201320"], ["updated_at", "2015-10-11 20:39:03.201320"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "e-3_YcftLYoEQkg61IZEEg"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 20:39:03.213055"], ["updated_at", "2015-10-11 20:39:03.213055"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "e-3_YcftLYoEQkg61IZEEg"]]  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.0ms) 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.5ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) 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", "2015-10-11 20:39:03.267568"], ["updated_at", "2015-10-11 20:39:03.267568"]]  (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", "2015-10-11 20:39:03.270533"], ["updated_at", "2015-10-11 20:39:03.270533"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-11 20:39:03.274254"], ["updated_at", "2015-10-11 20:39:03.274254"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:39:03.275798"], ["updated_at", "2015-10-11 20:39:03.275798"]]  (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"."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"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:39:03.286480"], ["updated_at", "2015-10-11 20:39:03.286480"]]  (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", "2015-10-11 20:39:03.289444"], ["updated_at", "2015-10-11 20:39:03.289444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:39:03.293058"], ["updated_at", "2015-10-11 20:39:03.293058"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:39:03.294665"], ["updated_at", "2015-10-11 20:39:03.294665"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-11 20:39:03.304685"], ["updated_at", "2015-10-11 20:39:03.304685"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:39:03.307479"], ["updated_at", "2015-10-11 20:39:03.307479"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:39:03.310489"], ["updated_at", "2015-10-11 20:39:03.310489"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:39:03.312397"], ["updated_at", "2015-10-11 20:39:03.312397"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:39:03.322958"], ["updated_at", "2015-10-11 20:39:03.322958"]]  (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", "2015-10-11 20:39:03.325360"], ["updated_at", "2015-10-11 20:39:03.325360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:39:03.328877"], ["updated_at", "2015-10-11 20:39:03.328877"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:39:03.330944"], ["updated_at", "2015-10-11 20:39:03.330944"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-11 20:39:03.341284"], ["updated_at", "2015-10-11 20:39:03.341284"]]  (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", "2015-10-11 20:39:03.345445"], ["updated_at", "2015-10-11 20:39:03.345445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:39:03.350006"], ["updated_at", "2015-10-11 20:39:03.350006"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:39:03.351524"], ["updated_at", "2015-10-11 20:39:03.351524"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1006 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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", "2015-10-11 20:39:03.362861"], ["updated_at", "2015-10-11 20:39:03.362861"]]  (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", "2015-10-11 20:39:03.366497"], ["updated_at", "2015-10-11 20:39:03.366497"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:39:03.372530"], ["updated_at", "2015-10-11 20:39:03.372530"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:39:03.374402"], ["updated_at", "2015-10-11 20:39:03.374402"]]  (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"."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"."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"."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.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", "2015-10-11 20:39:03.384779"], ["updated_at", "2015-10-11 20:39:03.384779"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:39:03.387699"], ["updated_at", "2015-10-11 20:39:03.387699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:39:03.391505"], ["updated_at", "2015-10-11 20:39:03.391505"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:39:03.393676"], ["updated_at", "2015-10-11 20:39:03.393676"]]  (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"."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"."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"."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"]]  (1.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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:39:03.408457"], ["updated_at", "2015-10-11 20:39:03.408457"]]  (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", "2015-10-11 20:39:03.413556"], ["updated_at", "2015-10-11 20:39:03.413556"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-11 20:39:03.418201"], ["updated_at", "2015-10-11 20:39:03.418201"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:39:03.421070"], ["updated_at", "2015-10-11 20:39:03.421070"]]  (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"."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"."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"."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.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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:39:03.436521"], ["updated_at", "2015-10-11 20:39:03.436521"]]  (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", "2015-10-11 20:39:03.441528"], ["updated_at", "2015-10-11 20:39:03.441528"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:39:03.447716"], ["updated_at", "2015-10-11 20:39:03.447716"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:39:03.450599"], ["updated_at", "2015-10-11 20:39:03.450599"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.4ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (1.1ms) 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", "2015-10-11 20:39:03.468223"], ["updated_at", "2015-10-11 20:39:03.468223"]]  (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", "2015-10-11 20:39:03.473752"], ["updated_at", "2015-10-11 20:39:03.473752"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:39:03.478702"], ["updated_at", "2015-10-11 20:39:03.478702"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:39:03.481158"], ["updated_at", "2015-10-11 20:39:03.481158"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "nxG4Yb41a7AnO37FHUX7MA"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-11"], ["created_at", "2015-10-11 20:39:03.485903"], ["updated_at", "2015-10-11 20:39:03.485903"]]  (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", "nxG4Yb41a7AnO37FHUX7MA"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (0.3ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (1.1ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:39:03.501409"], ["updated_at", "2015-10-11 20:39:03.501409"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:39:03.505419"], ["updated_at", "2015-10-11 20:39:03.505419"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:39:03.511454"], ["updated_at", "2015-10-11 20:39:03.511454"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:39:03.513270"], ["updated_at", "2015-10-11 20:39:03.513270"]]  (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"."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"."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"."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"]]  (1.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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:39:03.528905"], ["updated_at", "2015-10-11 20:39:03.528905"]]  (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", "2015-10-11 20:39:03.533276"], ["updated_at", "2015-10-11 20:39:03.533276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:39:03.537989"], ["updated_at", "2015-10-11 20:39:03.537989"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:39:03.540723"], ["updated_at", "2015-10-11 20:39:03.540723"]]  (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"."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"."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.6ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-11 20:39:03.562343"], ["updated_at", "2015-10-11 20:39:03.562343"]]  (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", "2015-10-11 20:39:03.566747"], ["updated_at", "2015-10-11 20:39:03.566747"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:39:03.573137"], ["updated_at", "2015-10-11 20:39:03.573137"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:39:03.575335"], ["updated_at", "2015-10-11 20:39:03.575335"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.3ms) 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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-11 20:39:03.592711"], ["updated_at", "2015-10-11 20:39:03.592711"]]  (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", "2015-10-11 20:39:03.597483"], ["updated_at", "2015-10-11 20:39:03.597483"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:39:03.601722"], ["updated_at", "2015-10-11 20:39:03.601722"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:39:03.603392"], ["updated_at", "2015-10-11 20:39:03.603392"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1018  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-11 20:39:03.621254"], ["updated_at", "2015-10-11 20:39:03.621254"]]  (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", "2015-10-11 20:39:03.624613"], ["updated_at", "2015-10-11 20:39:03.624613"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 2], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:39:03.628500"], ["updated_at", "2015-10-11 20:39:03.628500"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:39:03.630124"], ["updated_at", "2015-10-11 20:39:03.630124"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1020  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-11 20:39:03.642419"], ["updated_at", "2015-10-11 20:39:03.642419"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-11 20:39:03.645146"], ["updated_at", "2015-10-11 20:39:03.645146"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-11 20:39:03.649606"], ["updated_at", "2015-10-11 20:39:03.649606"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-11 20:39:03.652112"], ["updated_at", "2015-10-11 20:39:03.652112"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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 ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction 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.9ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-12 18:11:12.723958"], ["updated_at", "2015-10-12 18:11:12.723958"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1001], ["created_at", "2015-10-12 18:11:12.736693"], ["updated_at", "2015-10-12 18:11:12.736693"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) 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", "2015-10-12 18:11:12.762603"], ["updated_at", "2015-10-12 18:11:12.762603"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-12 18:11:12.776124"], ["updated_at", "2015-10-12 18:11:12.776124"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::GroupUser"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-12 18:11:12.807826"], ["updated_at", "2015-10-12 18:11:12.807826"]] SQL (1.5ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 18:11:12.811099"], ["updated_at", "2015-10-12 18:11:12.811099"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.6ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'Adeia::Group' AND "adeia_permissions"."owner_id" IN (1, 1001) AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (1.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction 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 (2.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-12 18:13:03.895378"], ["updated_at", "2015-10-12 18:13:03.895378"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1001], ["created_at", "2015-10-12 18:13:03.911118"], ["updated_at", "2015-10-12 18:13:03.911118"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.8ms) 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", "2015-10-12 18:13:03.942082"], ["updated_at", "2015-10-12 18:13:03.942082"]]  (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", "2015-10-12 18:13:03.955664"], ["updated_at", "2015-10-12 18:13:03.955664"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::GroupUser"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-12 18:13:03.986030"], ["updated_at", "2015-10-12 18:13:03.986030"]] SQL (1.5ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 18:13:03.989338"], ["updated_at", "2015-10-12 18:13:03.989338"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.6ms) 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"."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"."element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'Adeia::Group' AND "adeia_permissions"."owner_id" IN (1, 1001) AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction 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 (1.0ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-12 18:13:30.397781"], ["updated_at", "2015-10-12 18:13:30.397781"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1001], ["created_at", "2015-10-12 18:13:30.410053"], ["updated_at", "2015-10-12 18:13:30.410053"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) 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", "2015-10-12 18:13:30.435352"], ["updated_at", "2015-10-12 18:13:30.435352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-12 18:13:30.450187"], ["updated_at", "2015-10-12 18:13:30.450187"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-12 18:13:30.481010"], ["updated_at", "2015-10-12 18:13:30.481010"]] SQL (1.5ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 18:13:30.485006"], ["updated_at", "2015-10-12 18:13:30.485006"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.7ms) 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"."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"."element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'Adeia::Group' AND "adeia_permissions"."owner_id" IN (1, 1001) AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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.8ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 18:19:44.243861"], ["updated_at", "2015-10-12 18:19:44.243861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.5ms) 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", "2015-10-12 18:19:44.266256"], ["updated_at", "2015-10-12 18:19:44.266256"]]  (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", "2015-10-12 18:19:44.279358"], ["updated_at", "2015-10-12 18:19:44.279358"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-12 18:19:44.311317"], ["updated_at", "2015-10-12 18:19:44.311317"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 18:19:44.314472"], ["updated_at", "2015-10-12 18:19:44.314472"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "ds2LVVLRJ9OKHNh8WXh0Bw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-12"], ["created_at", "2015-10-12 18:19:44.330396"], ["updated_at", "2015-10-12 18:19:44.330396"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "ds2LVVLRJ9OKHNh8WXh0Bw"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.3ms) 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"."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"."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.2ms) 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", "2015-10-12 18:19:44.387037"], ["updated_at", "2015-10-12 18:19:44.387037"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:19:44.390090"], ["updated_at", "2015-10-12 18:19:44.390090"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-12 18:19:44.393141"], ["updated_at", "2015-10-12 18:19:44.393141"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 18:19:44.395451"], ["updated_at", "2015-10-12 18:19:44.395451"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.2ms) 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", "2015-10-12 18:19:44.407675"], ["updated_at", "2015-10-12 18:19:44.407675"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:19:44.410648"], ["updated_at", "2015-10-12 18:19:44.410648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-12 18:19:44.414157"], ["updated_at", "2015-10-12 18:19:44.414157"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 18:19:44.415548"], ["updated_at", "2015-10-12 18:19:44.415548"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) 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", "2015-10-12 18:19:44.425675"], ["updated_at", "2015-10-12 18:19:44.425675"]]  (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", "2015-10-12 18:19:44.428750"], ["updated_at", "2015-10-12 18:19:44.428750"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-12 18:19:44.432015"], ["updated_at", "2015-10-12 18:19:44.432015"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 18:19:44.433933"], ["updated_at", "2015-10-12 18:19:44.433933"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 18:19:44.444444"], ["updated_at", "2015-10-12 18:19:44.444444"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:19:44.447012"], ["updated_at", "2015-10-12 18:19:44.447012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-12 18:19:44.449853"], ["updated_at", "2015-10-12 18:19:44.449853"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 18:19:44.451550"], ["updated_at", "2015-10-12 18:19:44.451550"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.5ms) 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", "2015-10-12 18:19:44.461430"], ["updated_at", "2015-10-12 18:19:44.461430"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:19:44.463968"], ["updated_at", "2015-10-12 18:19:44.463968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-12 18:19:44.466867"], ["updated_at", "2015-10-12 18:19:44.466867"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 18:19:44.470108"], ["updated_at", "2015-10-12 18:19:44.470108"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1006 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 18:19:44.483258"], ["updated_at", "2015-10-12 18:19:44.483258"]]  (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", "2015-10-12 18:19:44.488161"], ["updated_at", "2015-10-12 18:19:44.488161"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-12 18:19:44.493449"], ["updated_at", "2015-10-12 18:19:44.493449"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 18:19:44.495650"], ["updated_at", "2015-10-12 18:19:44.495650"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 18:19:44.506375"], ["updated_at", "2015-10-12 18:19:44.506375"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:19:44.508968"], ["updated_at", "2015-10-12 18:19:44.508968"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-12 18:19:44.512121"], ["updated_at", "2015-10-12 18:19:44.512121"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 18:19:44.514371"], ["updated_at", "2015-10-12 18:19:44.514371"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 18:19:44.525747"], ["updated_at", "2015-10-12 18:19:44.525747"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:19:44.528509"], ["updated_at", "2015-10-12 18:19:44.528509"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-12 18:19:44.532273"], ["updated_at", "2015-10-12 18:19:44.532273"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 18:19:44.533676"], ["updated_at", "2015-10-12 18:19:44.533676"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-12 18:19:44.543613"], ["updated_at", "2015-10-12 18:19:44.543613"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:19:44.546558"], ["updated_at", "2015-10-12 18:19:44.546558"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-12 18:19:44.550278"], ["updated_at", "2015-10-12 18:19:44.550278"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 18:19:44.553379"], ["updated_at", "2015-10-12 18:19:44.553379"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 18:19:44.564481"], ["updated_at", "2015-10-12 18:19:44.564481"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:19:44.567125"], ["updated_at", "2015-10-12 18:19:44.567125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-12 18:19:44.570040"], ["updated_at", "2015-10-12 18:19:44.570040"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 18:19:44.572839"], ["updated_at", "2015-10-12 18:19:44.572839"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "IUmWtOo527HfKgfifHvSNw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-12"], ["created_at", "2015-10-12 18:19:44.576054"], ["updated_at", "2015-10-12 18:19:44.576054"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "IUmWtOo527HfKgfifHvSNw"]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (0.0ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (2.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", "2015-10-12 18:19:44.588704"], ["updated_at", "2015-10-12 18:19:44.588704"]]  (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", "2015-10-12 18:19:44.593059"], ["updated_at", "2015-10-12 18:19:44.593059"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-12 18:19:44.597666"], ["updated_at", "2015-10-12 18:19:44.597666"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 18:19:44.599298"], ["updated_at", "2015-10-12 18:19:44.599298"]]  (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"."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"."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"."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.9ms) 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", "2015-10-12 18:19:44.610447"], ["updated_at", "2015-10-12 18:19:44.610447"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:19:44.613228"], ["updated_at", "2015-10-12 18:19:44.613228"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-12 18:19:44.616376"], ["updated_at", "2015-10-12 18:19:44.616376"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 18:19:44.618274"], ["updated_at", "2015-10-12 18:19:44.618274"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-12 18:19:44.632856"], ["updated_at", "2015-10-12 18:19:44.632856"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:19:44.635491"], ["updated_at", "2015-10-12 18:19:44.635491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-12 18:19:44.638498"], ["updated_at", "2015-10-12 18:19:44.638498"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 18:19:44.640586"], ["updated_at", "2015-10-12 18:19:44.640586"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-12 18:19:44.652337"], ["updated_at", "2015-10-12 18:19:44.652337"]]  (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", "2015-10-12 18:19:44.662147"], ["updated_at", "2015-10-12 18:19:44.662147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-12 18:19:44.665323"], ["updated_at", "2015-10-12 18:19:44.665323"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 18:19:44.666665"], ["updated_at", "2015-10-12 18:19:44.666665"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) 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", "2015-10-12 18:19:44.679390"], ["updated_at", "2015-10-12 18:19:44.679390"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:19:44.682221"], ["updated_at", "2015-10-12 18:19:44.682221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-12 18:19:44.686228"], ["updated_at", "2015-10-12 18:19:44.686228"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 18:19:44.687643"], ["updated_at", "2015-10-12 18:19:44.687643"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1020  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-12 18:19:44.698787"], ["updated_at", "2015-10-12 18:19:44.698787"]]  (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", "2015-10-12 18:19:44.701733"], ["updated_at", "2015-10-12 18:19:44.701733"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-12 18:19:44.705602"], ["updated_at", "2015-10-12 18:19:44.705602"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 18:19:44.706973"], ["updated_at", "2015-10-12 18:19:44.706973"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1022  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) 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", "2015-10-12 18:19:44.720733"], ["updated_at", "2015-10-12 18:19:44.720733"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1023], ["created_at", "2015-10-12 18:19:44.726465"], ["updated_at", "2015-10-12 18:19:44.726465"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 18:19:44.731156"], ["updated_at", "2015-10-12 18:19:44.731156"]]  (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", "2015-10-12 18:19:44.733477"], ["updated_at", "2015-10-12 18:19:44.733477"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-12 18:19:44.736435"], ["updated_at", "2015-10-12 18:19:44.736435"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 18:19:44.737957"], ["updated_at", "2015-10-12 18:19:44.737957"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1023 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) rollback transaction ActiveRecord::SchemaMigration Load (1.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 18:29:09.195315"], ["updated_at", "2015-10-12 18:29:09.195315"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:29:09.215204"], ["updated_at", "2015-10-12 18:29:09.215204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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", "2015-10-12 18:29:26.710243"], ["updated_at", "2015-10-12 18:29:26.710243"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:29:26.729408"], ["updated_at", "2015-10-12 18:29:26.729408"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.7ms) 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", "2015-10-12 18:29:26.787133"], ["updated_at", "2015-10-12 18:29:26.787133"]]  (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", "2015-10-12 18:29:26.790705"], ["updated_at", "2015-10-12 18:29:26.790705"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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", "2015-10-12 18:29:58.806164"], ["updated_at", "2015-10-12 18:29:58.806164"]]  (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", "2015-10-12 18:29:58.820606"], ["updated_at", "2015-10-12 18:29:58.820606"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.9ms) 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", "2015-10-12 18:29:58.873562"], ["updated_at", "2015-10-12 18:29:58.873562"]]  (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", "2015-10-12 18:29:58.877090"], ["updated_at", "2015-10-12 18:29:58.877090"]]  (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 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 18:29:58.885132"], ["updated_at", "2015-10-12 18:29:58.885132"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-12 18:29:58.889149"], ["updated_at", "2015-10-12 18:29:58.889149"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:29:58.893232"], ["updated_at", "2015-10-12 18:29:58.893232"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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", "2015-10-12 18:30:19.475010"], ["updated_at", "2015-10-12 18:30:19.475010"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) 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", "2015-10-12 18:30:19.495864"], ["updated_at", "2015-10-12 18:30:19.495864"]]  (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", "2015-10-12 18:30:19.507497"], ["updated_at", "2015-10-12 18:30:19.507497"]]  (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 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", "2015-10-12 18:30:19.540844"], ["updated_at", "2015-10-12 18:30:19.540844"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:30:19.543495"], ["updated_at", "2015-10-12 18:30:19.543495"]]  (0.0ms) 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 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", "2015-10-12 18:30:19.563795"], ["updated_at", "2015-10-12 18:30:19.563795"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:30:19.568126"], ["updated_at", "2015-10-12 18:30:19.568126"]]  (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 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", "2015-10-12 18:30:19.578173"], ["updated_at", "2015-10-12 18:30:19.578173"]]  (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", "2015-10-12 18:30:19.580884"], ["updated_at", "2015-10-12 18:30:19.580884"]]  (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", "2015-10-12 18:30:19.583655"], ["updated_at", "2015-10-12 18:30:19.583655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 18:30:28.639427"], ["updated_at", "2015-10-12 18:30:28.639427"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.2ms) 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", "2015-10-12 18:30:28.656070"], ["updated_at", "2015-10-12 18:30:28.656070"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:30:28.667616"], ["updated_at", "2015-10-12 18:30:28.667616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.2ms) 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", "2015-10-12 18:30:28.698731"], ["updated_at", "2015-10-12 18:30:28.698731"]]  (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", "2015-10-12 18:30:28.702269"], ["updated_at", "2015-10-12 18:30:28.702269"]]  (0.1ms) 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 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-12 18:30:28.717582"], ["updated_at", "2015-10-12 18:30:28.717582"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:30:28.720278"], ["updated_at", "2015-10-12 18:30:28.720278"]]  (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 18:30:28.727620"], ["updated_at", "2015-10-12 18:30:28.727620"]]  (0.0ms) 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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-12 18:30:28.729932"], ["updated_at", "2015-10-12 18:30:28.729932"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:30:28.733331"], ["updated_at", "2015-10-12 18:30:28.733331"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 18:31:39.826553"], ["updated_at", "2015-10-12 18:31:39.826553"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) 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", "2015-10-12 18:31:39.847290"], ["updated_at", "2015-10-12 18:31:39.847290"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-12 18:31:39.859533"], ["updated_at", "2015-10-12 18:31:39.859533"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "2015-10-12 18:31:39.897851"], ["updated_at", "2015-10-12 18:31:39.897851"]]  (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", "2015-10-12 18:31:39.901730"], ["updated_at", "2015-10-12 18:31:39.901730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "2015-10-12 18:31:39.919993"], ["updated_at", "2015-10-12 18:31:39.919993"]]  (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", "2015-10-12 18:31:39.923126"], ["updated_at", "2015-10-12 18:31:39.923126"]]  (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 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", "2015-10-12 18:31:39.931857"], ["updated_at", "2015-10-12 18:31:39.931857"]]  (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", "2015-10-12 18:31:39.934595"], ["updated_at", "2015-10-12 18:31:39.934595"]]  (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", "2015-10-12 18:31:39.937524"], ["updated_at", "2015-10-12 18:31:39.937524"]]  (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 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", "2015-10-12 18:31:39.944781"], ["updated_at", "2015-10-12 18:31:39.944781"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-12 18:31:39.948902"], ["updated_at", "2015-10-12 18:31:39.948902"]]  (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", "2015-10-12 18:31:39.952698"], ["updated_at", "2015-10-12 18:31:39.952698"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (2.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 18:37:06.477523"], ["updated_at", "2015-10-12 18:37:06.477523"]]  (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", "2015-10-12 18:37:06.499607"], ["updated_at", "2015-10-12 18:37:06.499607"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-12 18:37:06.511211"], ["updated_at", "2015-10-12 18:37:06.511211"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 18:37:06.546938"], ["updated_at", "2015-10-12 18:37:06.546938"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:37:06.549786"], ["updated_at", "2015-10-12 18:37:06.549786"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "2015-10-12 18:37:06.571210"], ["updated_at", "2015-10-12 18:37:06.571210"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:37:06.574487"], ["updated_at", "2015-10-12 18:37:06.574487"]]  (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 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", "2015-10-12 18:37:06.582444"], ["updated_at", "2015-10-12 18:37:06.582444"]]  (0.0ms) 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", "2015-10-12 18:37:06.584733"], ["updated_at", "2015-10-12 18:37:06.584733"]]  (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", "2015-10-12 18:37:06.588281"], ["updated_at", "2015-10-12 18:37:06.588281"]]  (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 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", "2015-10-12 18:37:06.596294"], ["updated_at", "2015-10-12 18:37:06.596294"]]  (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", "2015-10-12 18:37:06.598769"], ["updated_at", "2015-10-12 18:37:06.598769"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:37:06.601493"], ["updated_at", "2015-10-12 18:37:06.601493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Element Load (0.6ms) 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", "2015-10-12 18:39:30.808091"], ["updated_at", "2015-10-12 18:39:30.808091"]]  (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.7ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-12 18:39:30.834342"], ["updated_at", "2015-10-12 18:39:30.834342"]]  (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", "2015-10-12 18:39:30.848702"], ["updated_at", "2015-10-12 18:39:30.848702"]]  (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 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", "2015-10-12 18:39:30.891815"], ["updated_at", "2015-10-12 18:39:30.891815"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:39:30.894889"], ["updated_at", "2015-10-12 18:39:30.894889"]]  (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 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", "2015-10-12 18:39:30.915448"], ["updated_at", "2015-10-12 18:39:30.915448"]]  (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", "2015-10-12 18:39:30.918933"], ["updated_at", "2015-10-12 18:39:30.918933"]]  (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 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", "2015-10-12 18:39:30.929497"], ["updated_at", "2015-10-12 18:39:30.929497"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-12 18:39:30.932348"], ["updated_at", "2015-10-12 18:39:30.932348"]]  (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", "2015-10-12 18:39:30.935801"], ["updated_at", "2015-10-12 18:39:30.935801"]]  (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 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", "2015-10-12 18:39:30.945783"], ["updated_at", "2015-10-12 18:39:30.945783"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-12 18:39:30.948609"], ["updated_at", "2015-10-12 18:39:30.948609"]]  (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", "2015-10-12 18:39:30.960676"], ["updated_at", "2015-10-12 18:39:30.960676"]]  (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 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", "2015-10-12 18:39:30.967250"], ["updated_at", "2015-10-12 18:39:30.967250"]]  (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.7ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-12 18:39:30.970671"], ["updated_at", "2015-10-12 18:39:30.970671"]]  (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", "2015-10-12 18:39:30.975468"], ["updated_at", "2015-10-12 18:39:30.975468"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 18:44:48.204252"], ["updated_at", "2015-10-12 18:44:48.204252"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) 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", "2015-10-12 18:44:48.225000"], ["updated_at", "2015-10-12 18:44:48.225000"]]  (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", "2015-10-12 18:44:48.237145"], ["updated_at", "2015-10-12 18:44:48.237145"]]  (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", "2015-10-12 18:44:48.273513"], ["updated_at", "2015-10-12 18:44:48.273513"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:44:48.276328"], ["updated_at", "2015-10-12 18:44:48.276328"]]  (0.1ms) 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 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", "2015-10-12 18:44:48.296765"], ["updated_at", "2015-10-12 18:44:48.296765"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:44:48.299574"], ["updated_at", "2015-10-12 18:44:48.299574"]]  (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 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", "2015-10-12 18:44:48.307361"], ["updated_at", "2015-10-12 18:44:48.307361"]]  (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", "2015-10-12 18:44:48.309821"], ["updated_at", "2015-10-12 18:44:48.309821"]]  (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", "2015-10-12 18:44:48.312399"], ["updated_at", "2015-10-12 18:44:48.312399"]]  (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 (1.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 18:44:48.321518"], ["updated_at", "2015-10-12 18:44:48.321518"]]  (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 (8.7ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-12 18:44:48.325630"], ["updated_at", "2015-10-12 18:44:48.325630"]]  (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", "2015-10-12 18:44:48.337106"], ["updated_at", "2015-10-12 18:44:48.337106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "2015-10-12 18:44:48.346065"], ["updated_at", "2015-10-12 18:44:48.346065"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-12 18:44:48.349932"], ["updated_at", "2015-10-12 18:44:48.349932"]]  (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", "2015-10-12 18:44:48.353378"], ["updated_at", "2015-10-12 18:44:48.353378"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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", "2015-10-12 18:47:55.801534"], ["updated_at", "2015-10-12 18:47:55.801534"]]  (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.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-12 18:47:55.821968"], ["updated_at", "2015-10-12 18:47:55.821968"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-12 18:47:55.833332"], ["updated_at", "2015-10-12 18:47:55.833332"]]  (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 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", "2015-10-12 18:47:55.867893"], ["updated_at", "2015-10-12 18:47:55.867893"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:47:55.870554"], ["updated_at", "2015-10-12 18:47:55.870554"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-12 18:47:55.888185"], ["updated_at", "2015-10-12 18:47:55.888185"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 18:47:55.890867"], ["updated_at", "2015-10-12 18:47:55.890867"]]  (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 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 18:47:55.898221"], ["updated_at", "2015-10-12 18:47:55.898221"]]  (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", "2015-10-12 18:47:55.901813"], ["updated_at", "2015-10-12 18:47:55.901813"]]  (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", "2015-10-12 18:47:55.904795"], ["updated_at", "2015-10-12 18:47:55.904795"]]  (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 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", "2015-10-12 18:47:55.912681"], ["updated_at", "2015-10-12 18:47:55.912681"]]  (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 (9.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-12 18:47:55.915024"], ["updated_at", "2015-10-12 18:47:55.915024"]]  (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", "2015-10-12 18:47:55.927706"], ["updated_at", "2015-10-12 18:47:55.927706"]]  (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 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", "2015-10-12 18:47:55.935581"], ["updated_at", "2015-10-12 18:47:55.935581"]]  (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", "2015-10-12 18:47:55.938595"], ["updated_at", "2015-10-12 18:47:55.938595"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 20ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 22ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Processing by ArticlesController#index as HTML Rendered articles/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 19ms (Views: 15.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by ArticlesController#index as HTML Rendered articles/index.html.erb within layouts/application (0.4ms) Completed 200 OK in 23ms (Views: 9.4ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Processing by ArticlesController#index as HTML Rendered articles/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 35ms (Views: 11.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by ArticlesController#index as HTML Rendered articles/index.html.erb within layouts/application (0.4ms) Completed 200 OK in 29ms (Views: 17.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 20ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 20ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (2.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.2ms) select sqlite_version(*)  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateAdeiaElements (20151003144041)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144041"]]  (1.1ms) commit transaction Migrating to CreateAdeiaPermissions (20151003144208)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "adeia_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "owner_type" varchar, "element_id" integer, "permission_type" integer, "read_right" boolean, "create_right" boolean, "update_right" boolean, "destroy_right" boolean, "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_adeia_permissions_on_owner_type_and_owner_id" ON "adeia_permissions" ("owner_type", "owner_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_owner_type_and_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_owner_type_and_owner_id' AND type='index'  (0.1ms) CREATE INDEX "index_adeia_permissions_on_element_id" ON "adeia_permissions" ("element_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144208"]]  (1.1ms) commit transaction Migrating to CreateAdeiaGroups (20151003144650)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "adeia_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144650"]]  (1.0ms) commit transaction Migrating to CreateAdeiaGroupUsers (20151003144706)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "adeia_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_adeia_group_users_on_group_id" ON "adeia_group_users" ("group_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_group_id' AND type='index'   (0.4ms) CREATE INDEX "index_adeia_group_users_on_user_id" ON "adeia_group_users" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144706"]]  (1.4ms) commit transaction Migrating to CreateAdeiaTokens (20151003150524)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "adeia_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar, "is_valid" boolean, "permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_adeia_tokens_on_permission_id" ON "adeia_tokens" ("permission_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003150524"]]  (1.0ms) commit transaction Migrating to CreateAdeiaActions (20151003150747)  (0.1ms) begin transaction  (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)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003150747"]]  (0.9ms) commit transaction Migrating to CreateAdeiaActionPermissions (20151003150806)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "action_id" integer, "permission_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE INDEX "index_adeia_action_permissions_on_action_id" ON "adeia_action_permissions" ("action_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index'   (0.6ms) CREATE INDEX "index_adeia_action_permissions_on_permission_id" ON "adeia_action_permissions" ("permission_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003150806"]]  (1.0ms) commit transaction Migrating to CreateUsers (20151012185720)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "password_digest" varchar, "remember_token" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151012185720"]]  (0.8ms) commit transaction Migrating to CreateArticles (20151012185726)  (0.1ms) begin transaction  (0.4ms) 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.2ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151012185726"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_permission_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_permission_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_action_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_group_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_element_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_element_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_owner_type_and_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_owner_type_and_owner_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_tokens_on_permission_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_tokens_on_permission_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_articles_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_articles_on_user_id' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 29ms (ActiveRecord: 0.6ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by ArticlesController#index as HTML Rendered articles/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 18ms (Views: 12.8ms | ActiveRecord: 0.0ms)  (0.1ms) 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 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 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", "2015-10-12 19:15:02.749493"], ["updated_at", "2015-10-12 19:15:02.749493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) 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", "2015-10-12 19:15:02.771391"], ["updated_at", "2015-10-12 19:15:02.771391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-12 19:15:02.785092"], ["updated_at", "2015-10-12 19:15:02.785092"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-12 19:15:02.815550"], ["updated_at", "2015-10-12 19:15:02.815550"]] SQL (1.5ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 19:15:02.818479"], ["updated_at", "2015-10-12 19:15:02.818479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "TNZn0Vb_a3doLHl1nFGCJw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-12"], ["created_at", "2015-10-12 19:15:02.841282"], ["updated_at", "2015-10-12 19:15:02.841282"]]  (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", "TNZn0Vb_a3doLHl1nFGCJw"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) 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.6ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 19:15:02.886060"], ["updated_at", "2015-10-12 19:15:02.886060"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 19:15:02.888722"], ["updated_at", "2015-10-12 19:15:02.888722"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-12 19:15:02.892560"], ["updated_at", "2015-10-12 19:15:02.892560"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 19:15:02.893977"], ["updated_at", "2015-10-12 19:15:02.893977"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 19:15:02.903624"], ["updated_at", "2015-10-12 19:15:02.903624"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 19:15:02.906716"], ["updated_at", "2015-10-12 19:15:02.906716"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-12 19:15:02.910904"], ["updated_at", "2015-10-12 19:15:02.910904"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 19:15:02.913005"], ["updated_at", "2015-10-12 19:15:02.913005"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) 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", "2015-10-12 19:15:02.925162"], ["updated_at", "2015-10-12 19:15:02.925162"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 19:15:02.928279"], ["updated_at", "2015-10-12 19:15:02.928279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-12 19:15:02.932036"], ["updated_at", "2015-10-12 19:15:02.932036"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 19:15:02.933473"], ["updated_at", "2015-10-12 19:15:02.933473"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 19:15:02.943211"], ["updated_at", "2015-10-12 19:15:02.943211"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 19:15:02.945882"], ["updated_at", "2015-10-12 19:15:02.945882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-12 19:15:02.951747"], ["updated_at", "2015-10-12 19:15:02.951747"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 19:15:02.953334"], ["updated_at", "2015-10-12 19:15:02.953334"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) 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", "2015-10-12 19:15:02.963784"], ["updated_at", "2015-10-12 19:15:02.963784"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 19:15:02.967033"], ["updated_at", "2015-10-12 19:15:02.967033"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-12 19:15:02.971397"], ["updated_at", "2015-10-12 19:15:02.971397"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 19:15:02.973078"], ["updated_at", "2015-10-12 19:15:02.973078"]]  (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"."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"."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.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", "2015-10-12 19:15:02.984530"], ["updated_at", "2015-10-12 19:15:02.984530"]]  (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", "2015-10-12 19:15:02.989243"], ["updated_at", "2015-10-12 19:15:02.989243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-12 19:15:02.993466"], ["updated_at", "2015-10-12 19:15:02.993466"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 19:15:02.995158"], ["updated_at", "2015-10-12 19:15:02.995158"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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"."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.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", "2015-10-12 19:15:03.006463"], ["updated_at", "2015-10-12 19:15:03.006463"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 19:15:03.009385"], ["updated_at", "2015-10-12 19:15:03.009385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-12 19:15:03.013104"], ["updated_at", "2015-10-12 19:15:03.013104"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 19:15:03.015684"], ["updated_at", "2015-10-12 19:15:03.015684"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 19:15:03.030154"], ["updated_at", "2015-10-12 19:15:03.030154"]]  (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", "2015-10-12 19:15:03.033323"], ["updated_at", "2015-10-12 19:15:03.033323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-12 19:15:03.037324"], ["updated_at", "2015-10-12 19:15:03.037324"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 19:15:03.038749"], ["updated_at", "2015-10-12 19:15:03.038749"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.9ms) 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", "2015-10-12 19:15:03.048001"], ["updated_at", "2015-10-12 19:15:03.048001"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 19:15:03.050606"], ["updated_at", "2015-10-12 19:15:03.050606"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-12 19:15:03.054918"], ["updated_at", "2015-10-12 19:15:03.054918"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 19:15:03.056557"], ["updated_at", "2015-10-12 19:15:03.056557"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 19:15:03.067042"], ["updated_at", "2015-10-12 19:15:03.067042"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 19:15:03.069772"], ["updated_at", "2015-10-12 19:15:03.069772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-12 19:15:03.073543"], ["updated_at", "2015-10-12 19:15:03.073543"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 19:15:03.076530"], ["updated_at", "2015-10-12 19:15:03.076530"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "9De5BOkAiYTAvyv9RkMciQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-12"], ["created_at", "2015-10-12 19:15:03.081504"], ["updated_at", "2015-10-12 19:15:03.081504"]]  (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", "9De5BOkAiYTAvyv9RkMciQ"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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", "2015-10-12 19:15:03.093057"], ["updated_at", "2015-10-12 19:15:03.093057"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 19:15:03.096312"], ["updated_at", "2015-10-12 19:15:03.096312"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-12 19:15:03.101037"], ["updated_at", "2015-10-12 19:15:03.101037"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 19:15:03.102713"], ["updated_at", "2015-10-12 19:15:03.102713"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-12 19:15:03.111915"], ["updated_at", "2015-10-12 19:15:03.111915"]]  (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", "2015-10-12 19:15:03.115291"], ["updated_at", "2015-10-12 19:15:03.115291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-12 19:15:03.119645"], ["updated_at", "2015-10-12 19:15:03.119645"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 19:15:03.121099"], ["updated_at", "2015-10-12 19:15:03.121099"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 19:15:03.134228"], ["updated_at", "2015-10-12 19:15:03.134228"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 19:15:03.137280"], ["updated_at", "2015-10-12 19:15:03.137280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-12 19:15:03.146572"], ["updated_at", "2015-10-12 19:15:03.146572"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 19:15:03.148623"], ["updated_at", "2015-10-12 19:15:03.148623"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-12 19:15:03.160241"], ["updated_at", "2015-10-12 19:15:03.160241"]]  (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", "2015-10-12 19:15:03.162997"], ["updated_at", "2015-10-12 19:15:03.162997"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-12 19:15:03.167382"], ["updated_at", "2015-10-12 19:15:03.167382"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 19:15:03.169072"], ["updated_at", "2015-10-12 19:15:03.169072"]]  (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"."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"."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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 19:15:03.179338"], ["updated_at", "2015-10-12 19:15:03.179338"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 19:15:03.182086"], ["updated_at", "2015-10-12 19:15:03.182086"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-12 19:15:03.185723"], ["updated_at", "2015-10-12 19:15:03.185723"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 19:15:03.187310"], ["updated_at", "2015-10-12 19:15:03.187310"]]  (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"."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"."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"."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"]]  (0.9ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 19:15:03.200497"], ["updated_at", "2015-10-12 19:15:03.200497"]]  (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", "2015-10-12 19:15:03.205315"], ["updated_at", "2015-10-12 19:15:03.205315"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-12 19:15:03.209347"], ["updated_at", "2015-10-12 19:15:03.209347"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 19:15:03.211330"], ["updated_at", "2015-10-12 19:15:03.211330"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-12 19:15:03.226032"], ["updated_at", "2015-10-12 19:15:03.226032"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1023], ["created_at", "2015-10-12 19:15:03.230922"], ["updated_at", "2015-10-12 19:15:03.230922"]]  (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", "2015-10-12 19:15:03.235742"], ["updated_at", "2015-10-12 19:15:03.235742"]]  (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", "2015-10-12 19:15:03.238144"], ["updated_at", "2015-10-12 19:15:03.238144"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-12 19:15:03.241737"], ["updated_at", "2015-10-12 19:15:03.241737"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-12 19:15:03.243341"], ["updated_at", "2015-10-12 19:15:03.243341"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1023 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction Processing by ArticlesController#index as HTML Rendered articles/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 13ms (Views: 12.7ms | ActiveRecord: 0.0ms)  (0.2ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-12 19:15:03.274604"], ["updated_at", "2015-10-12 19:15:03.274604"]]  (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", "2015-10-12 19:15:03.277396"], ["updated_at", "2015-10-12 19:15:03.277396"]]  (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", "2015-10-12 19:15:03.280049"], ["updated_at", "2015-10-12 19:15:03.280049"]]  (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", "2015-10-12 19:15:03.287167"], ["updated_at", "2015-10-12 19:15:03.287167"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 19:15:03.290013"], ["updated_at", "2015-10-12 19:15:03.290013"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "2015-10-12 19:15:03.311697"], ["updated_at", "2015-10-12 19:15:03.311697"]]  (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", "2015-10-12 19:15:03.314944"], ["updated_at", "2015-10-12 19:15:03.314944"]]  (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 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", "2015-10-12 19:15:03.323095"], ["updated_at", "2015-10-12 19:15:03.323095"]]  (0.0ms) 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", "2015-10-12 19:15:03.325187"], ["updated_at", "2015-10-12 19:15:03.325187"]]  (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", "2015-10-12 19:15:03.327629"], ["updated_at", "2015-10-12 19:15:03.327629"]]  (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 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", "2015-10-12 19:15:03.335912"], ["updated_at", "2015-10-12 19:15:03.335912"]]  (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", "2015-10-12 19:15:03.338149"], ["updated_at", "2015-10-12 19:15:03.338149"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-12 19:15:03.340522"], ["updated_at", "2015-10-12 19:15:03.340522"]]  (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 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", "2015-10-12 19:15:03.347719"], ["updated_at", "2015-10-12 19:15:03.347719"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-12 19:15:03.350261"], ["updated_at", "2015-10-12 19:15:03.350261"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.8ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.3ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:38:19.794838"], ["updated_at", "2015-10-13 15:38:19.794838"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:38:19.833676"], ["updated_at", "2015-10-13 15:38:19.833676"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.8ms) 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", "2015-10-13 15:38:19.849521"], ["updated_at", "2015-10-13 15:38:19.849521"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:38:19.882737"], ["updated_at", "2015-10-13 15:38:19.882737"]] SQL (1.5ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:38:19.885966"], ["updated_at", "2015-10-13 15:38:19.885966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "4uUgme2MLrllr88K7u4faA"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:38:19.908741"], ["updated_at", "2015-10-13 15:38:19.908741"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "4uUgme2MLrllr88K7u4faA"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.5ms) 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.6ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:38:19.955454"], ["updated_at", "2015-10-13 15:38:19.955454"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:38:19.958332"], ["updated_at", "2015-10-13 15:38:19.958332"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:38:19.961958"], ["updated_at", "2015-10-13 15:38:19.961958"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:38:19.963897"], ["updated_at", "2015-10-13 15:38:19.963897"]]  (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"."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"."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.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", "2015-10-13 15:38:19.975920"], ["updated_at", "2015-10-13 15:38:19.975920"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:38:19.978460"], ["updated_at", "2015-10-13 15:38:19.978460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:38:19.981543"], ["updated_at", "2015-10-13 15:38:19.981543"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:38:19.984306"], ["updated_at", "2015-10-13 15:38:19.984306"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:38:19.998146"], ["updated_at", "2015-10-13 15:38:19.998146"]]  (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", "2015-10-13 15:38:20.001204"], ["updated_at", "2015-10-13 15:38:20.001204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:38:20.005739"], ["updated_at", "2015-10-13 15:38:20.005739"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:38:20.007190"], ["updated_at", "2015-10-13 15:38:20.007190"]]  (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"."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"."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"."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.1ms) 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", "2015-10-13 15:38:20.019217"], ["updated_at", "2015-10-13 15:38:20.019217"]]  (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", "2015-10-13 15:38:20.023202"], ["updated_at", "2015-10-13 15:38:20.023202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:38:20.026866"], ["updated_at", "2015-10-13 15:38:20.026866"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:38:20.028210"], ["updated_at", "2015-10-13 15:38:20.028210"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:38:20.036707"], ["updated_at", "2015-10-13 15:38:20.036707"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:38:20.039301"], ["updated_at", "2015-10-13 15:38:20.039301"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:38:20.042571"], ["updated_at", "2015-10-13 15:38:20.042571"]] SQL (0.5ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:38:20.043831"], ["updated_at", "2015-10-13 15:38:20.043831"]]  (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"."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"."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"]]  (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", "2015-10-13 15:38:20.057010"], ["updated_at", "2015-10-13 15:38:20.057010"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:38:20.059709"], ["updated_at", "2015-10-13 15:38:20.059709"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:38:20.063755"], ["updated_at", "2015-10-13 15:38:20.063755"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:38:20.065350"], ["updated_at", "2015-10-13 15:38:20.065350"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:38:20.074409"], ["updated_at", "2015-10-13 15:38:20.074409"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:38:20.077257"], ["updated_at", "2015-10-13 15:38:20.077257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:38:20.081049"], ["updated_at", "2015-10-13 15:38:20.081049"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:38:20.082896"], ["updated_at", "2015-10-13 15:38:20.082896"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:38:20.092984"], ["updated_at", "2015-10-13 15:38:20.092984"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:38:20.095806"], ["updated_at", "2015-10-13 15:38:20.095806"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:38:20.100283"], ["updated_at", "2015-10-13 15:38:20.100283"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:38:20.101901"], ["updated_at", "2015-10-13 15:38:20.101901"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.9ms) 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", "2015-10-13 15:38:20.111639"], ["updated_at", "2015-10-13 15:38:20.111639"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:38:20.115469"], ["updated_at", "2015-10-13 15:38:20.115469"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:38:20.120250"], ["updated_at", "2015-10-13 15:38:20.120250"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:38:20.121845"], ["updated_at", "2015-10-13 15:38:20.121845"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:38:20.134737"], ["updated_at", "2015-10-13 15:38:20.134737"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:38:20.138575"], ["updated_at", "2015-10-13 15:38:20.138575"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:38:20.142583"], ["updated_at", "2015-10-13 15:38:20.142583"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:38:20.143992"], ["updated_at", "2015-10-13 15:38:20.143992"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "K-emGBkoIEIxezc12IAHlw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:38:20.146724"], ["updated_at", "2015-10-13 15:38:20.146724"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "K-emGBkoIEIxezc12IAHlw"]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (1.4ms) 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", "2015-10-13 15:38:20.157981"], ["updated_at", "2015-10-13 15:38:20.157981"]]  (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", "2015-10-13 15:38:20.162054"], ["updated_at", "2015-10-13 15:38:20.162054"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:38:20.167229"], ["updated_at", "2015-10-13 15:38:20.167229"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:38:20.168856"], ["updated_at", "2015-10-13 15:38:20.168856"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.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", "2015-10-13 15:38:20.178917"], ["updated_at", "2015-10-13 15:38:20.178917"]]  (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", "2015-10-13 15:38:20.181854"], ["updated_at", "2015-10-13 15:38:20.181854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:38:20.185170"], ["updated_at", "2015-10-13 15:38:20.185170"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:38:20.187459"], ["updated_at", "2015-10-13 15:38:20.187459"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-13 15:38:20.201230"], ["updated_at", "2015-10-13 15:38:20.201230"]]  (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", "2015-10-13 15:38:20.204643"], ["updated_at", "2015-10-13 15:38:20.204643"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:38:20.213565"], ["updated_at", "2015-10-13 15:38:20.213565"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:38:20.215224"], ["updated_at", "2015-10-13 15:38:20.215224"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:38:20.228811"], ["updated_at", "2015-10-13 15:38:20.228811"]]  (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", "2015-10-13 15:38:20.232890"], ["updated_at", "2015-10-13 15:38:20.232890"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:38:20.237338"], ["updated_at", "2015-10-13 15:38:20.237338"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:38:20.239051"], ["updated_at", "2015-10-13 15:38:20.239051"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:38:20.249271"], ["updated_at", "2015-10-13 15:38:20.249271"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:38:20.252539"], ["updated_at", "2015-10-13 15:38:20.252539"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:38:20.257968"], ["updated_at", "2015-10-13 15:38:20.257968"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:38:20.260012"], ["updated_at", "2015-10-13 15:38:20.260012"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1020  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:38:20.273867"], ["updated_at", "2015-10-13 15:38:20.273867"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:38:20.276389"], ["updated_at", "2015-10-13 15:38:20.276389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:38:20.279571"], ["updated_at", "2015-10-13 15:38:20.279571"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:38:20.281467"], ["updated_at", "2015-10-13 15:38:20.281467"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1022  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:38:20.295600"], ["updated_at", "2015-10-13 15:38:20.295600"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1023], ["created_at", "2015-10-13 15:38:20.299982"], ["updated_at", "2015-10-13 15:38:20.299982"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:38:20.305098"], ["updated_at", "2015-10-13 15:38:20.305098"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:38:20.307763"], ["updated_at", "2015-10-13 15:38:20.307763"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:38:20.310828"], ["updated_at", "2015-10-13 15:38:20.310828"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:38:20.312098"], ["updated_at", "2015-10-13 15:38:20.312098"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1023 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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 ArticlesController#index as HTML User Load (0.8ms) 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 Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.9ms)  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:38:20.343050"], ["updated_at", "2015-10-13 15:38:20.343050"]]  (0.0ms) 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", "2015-10-13 15:38:20.345220"], ["updated_at", "2015-10-13 15:38:20.345220"]]  (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", "2015-10-13 15:38:20.347781"], ["updated_at", "2015-10-13 15:38:20.347781"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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", "2015-10-13 15:38:20.356582"], ["updated_at", "2015-10-13 15:38:20.356582"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:38:20.359291"], ["updated_at", "2015-10-13 15:38:20.359291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "2015-10-13 15:38:20.366609"], ["updated_at", "2015-10-13 15:38:20.366609"]]  (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", "2015-10-13 15:38:20.370439"], ["updated_at", "2015-10-13 15:38:20.370439"]]  (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 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", "2015-10-13 15:38:20.378608"], ["updated_at", "2015-10-13 15:38:20.378608"]]  (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", "2015-10-13 15:38:20.381477"], ["updated_at", "2015-10-13 15:38:20.381477"]]  (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", "2015-10-13 15:38:20.384680"], ["updated_at", "2015-10-13 15:38:20.384680"]]  (0.0ms) 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 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", "2015-10-13 15:38:20.393320"], ["updated_at", "2015-10-13 15:38:20.393320"]]  (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", "2015-10-13 15:38:20.396273"], ["updated_at", "2015-10-13 15:38:20.396273"]]  (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", "2015-10-13 15:38:20.398914"], ["updated_at", "2015-10-13 15:38:20.398914"]]  (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 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", "2015-10-13 15:38:20.406702"], ["updated_at", "2015-10-13 15:38:20.406702"]]  (0.0ms) 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", "2015-10-13 15:38:20.409098"], ["updated_at", "2015-10-13 15:38:20.409098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 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 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:41:46.745628"], ["updated_at", "2015-10-13 15:41:46.745628"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:41:46.771438"], ["updated_at", "2015-10-13 15:41:46.771438"]]  (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", "2015-10-13 15:41:46.783946"], ["updated_at", "2015-10-13 15:41:46.783946"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:41:46.814781"], ["updated_at", "2015-10-13 15:41:46.814781"]] SQL (1.8ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:41:46.818681"], ["updated_at", "2015-10-13 15:41:46.818681"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "QncNUpiKiL_EYhPzFy5gwQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:41:46.840324"], ["updated_at", "2015-10-13 15:41:46.840324"]]  (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", "QncNUpiKiL_EYhPzFy5gwQ"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) 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"."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"."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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:41:46.880448"], ["updated_at", "2015-10-13 15:41:46.880448"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:41:46.883038"], ["updated_at", "2015-10-13 15:41:46.883038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:41:46.886436"], ["updated_at", "2015-10-13 15:41:46.886436"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:41:46.887702"], ["updated_at", "2015-10-13 15:41:46.887702"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) 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", "2015-10-13 15:41:46.900752"], ["updated_at", "2015-10-13 15:41:46.900752"]]  (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", "2015-10-13 15:41:46.903902"], ["updated_at", "2015-10-13 15:41:46.903902"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:41:46.908012"], ["updated_at", "2015-10-13 15:41:46.908012"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:41:46.909367"], ["updated_at", "2015-10-13 15:41:46.909367"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:41:46.922727"], ["updated_at", "2015-10-13 15:41:46.922727"]]  (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", "2015-10-13 15:41:46.927145"], ["updated_at", "2015-10-13 15:41:46.927145"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:41:46.931149"], ["updated_at", "2015-10-13 15:41:46.931149"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:41:46.932742"], ["updated_at", "2015-10-13 15:41:46.932742"]]  (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"."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"."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"."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"]]  (0.9ms) 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", "2015-10-13 15:41:46.942808"], ["updated_at", "2015-10-13 15:41:46.942808"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:41:46.945337"], ["updated_at", "2015-10-13 15:41:46.945337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:41:46.948709"], ["updated_at", "2015-10-13 15:41:46.948709"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:41:46.951417"], ["updated_at", "2015-10-13 15:41:46.951417"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-13 15:41:46.962683"], ["updated_at", "2015-10-13 15:41:46.962683"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:41:46.965427"], ["updated_at", "2015-10-13 15:41:46.965427"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:41:46.968568"], ["updated_at", "2015-10-13 15:41:46.968568"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:41:46.970214"], ["updated_at", "2015-10-13 15:41:46.970214"]]  (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"."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"."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"]]  (1.1ms) rollback transaction  (0.2ms) begin transaction Adeia::Element Load (0.3ms) 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", "2015-10-13 15:41:46.985754"], ["updated_at", "2015-10-13 15:41:46.985754"]]  (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", "2015-10-13 15:41:46.991205"], ["updated_at", "2015-10-13 15:41:46.991205"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:41:46.995773"], ["updated_at", "2015-10-13 15:41:46.995773"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:41:46.997356"], ["updated_at", "2015-10-13 15:41:46.997356"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:41:47.008605"], ["updated_at", "2015-10-13 15:41:47.008605"]]  (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", "2015-10-13 15:41:47.012332"], ["updated_at", "2015-10-13 15:41:47.012332"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:41:47.016519"], ["updated_at", "2015-10-13 15:41:47.016519"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:41:47.017968"], ["updated_at", "2015-10-13 15:41:47.017968"]]  (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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:41:47.028254"], ["updated_at", "2015-10-13 15:41:47.028254"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:41:47.031081"], ["updated_at", "2015-10-13 15:41:47.031081"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:41:47.034381"], ["updated_at", "2015-10-13 15:41:47.034381"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:41:47.036406"], ["updated_at", "2015-10-13 15:41:47.036406"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.0ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:41:47.048536"], ["updated_at", "2015-10-13 15:41:47.048536"]]  (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", "2015-10-13 15:41:47.052470"], ["updated_at", "2015-10-13 15:41:47.052470"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:41:47.057866"], ["updated_at", "2015-10-13 15:41:47.057866"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:41:47.059496"], ["updated_at", "2015-10-13 15:41:47.059496"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.9ms) 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", "2015-10-13 15:41:47.070740"], ["updated_at", "2015-10-13 15:41:47.070740"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:41:47.073356"], ["updated_at", "2015-10-13 15:41:47.073356"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:41:47.077491"], ["updated_at", "2015-10-13 15:41:47.077491"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:41:47.079009"], ["updated_at", "2015-10-13 15:41:47.079009"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "ukCinqAdAOF1Q9WZHhRjvw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:41:47.081799"], ["updated_at", "2015-10-13 15:41:47.081799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "ukCinqAdAOF1Q9WZHhRjvw"]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (0.0ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:41:47.091824"], ["updated_at", "2015-10-13 15:41:47.091824"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:41:47.094406"], ["updated_at", "2015-10-13 15:41:47.094406"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:41:47.097455"], ["updated_at", "2015-10-13 15:41:47.097455"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:41:47.100164"], ["updated_at", "2015-10-13 15:41:47.100164"]]  (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"."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"."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.4ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:41:47.111767"], ["updated_at", "2015-10-13 15:41:47.111767"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:41:47.114295"], ["updated_at", "2015-10-13 15:41:47.114295"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:41:47.117627"], ["updated_at", "2015-10-13 15:41:47.117627"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:41:47.119497"], ["updated_at", "2015-10-13 15:41:47.119497"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-13 15:41:47.132784"], ["updated_at", "2015-10-13 15:41:47.132784"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:41:47.135674"], ["updated_at", "2015-10-13 15:41:47.135674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:41:47.147222"], ["updated_at", "2015-10-13 15:41:47.147222"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:41:47.149240"], ["updated_at", "2015-10-13 15:41:47.149240"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1016  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:41:47.161606"], ["updated_at", "2015-10-13 15:41:47.161606"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:41:47.164117"], ["updated_at", "2015-10-13 15:41:47.164117"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:41:47.167541"], ["updated_at", "2015-10-13 15:41:47.167541"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:41:47.169397"], ["updated_at", "2015-10-13 15:41:47.169397"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1018  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:41:47.180120"], ["updated_at", "2015-10-13 15:41:47.180120"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:41:47.182706"], ["updated_at", "2015-10-13 15:41:47.182706"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:41:47.185876"], ["updated_at", "2015-10-13 15:41:47.185876"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:41:47.188969"], ["updated_at", "2015-10-13 15:41:47.188969"]]  (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"."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"."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"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:41:47.200468"], ["updated_at", "2015-10-13 15:41:47.200468"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:41:47.203343"], ["updated_at", "2015-10-13 15:41:47.203343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:41:47.206834"], ["updated_at", "2015-10-13 15:41:47.206834"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:41:47.208777"], ["updated_at", "2015-10-13 15:41:47.208777"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1022  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:41:47.222446"], ["updated_at", "2015-10-13 15:41:47.222446"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1023], ["created_at", "2015-10-13 15:41:47.228181"], ["updated_at", "2015-10-13 15:41:47.228181"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:41:47.232885"], ["updated_at", "2015-10-13 15:41:47.232885"]]  (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", "2015-10-13 15:41:47.235491"], ["updated_at", "2015-10-13 15:41:47.235491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:41:47.238419"], ["updated_at", "2015-10-13 15:41:47.238419"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:41:47.239711"], ["updated_at", "2015-10-13 15:41:47.239711"]]  (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 1 Adeia::Group Load (0.3ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.5ms) rollback transaction  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$TwaO1hlanxX1qpwRpmlcIeKIHBNsq9ofOL4fBDgIq.gmxRnlLMFR."], ["remember_token", "TWzE1NpxG2UcFDnLs8_xSg"], ["created_at", "2015-10-13 15:41:47.261727"], ["updated_at", "2015-10-13 15:41:47.261727"]]  (4.1ms) commit 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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:41:47.271012"], ["updated_at", "2015-10-13 15:41:47.271012"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:41:47.273748"], ["updated_at", "2015-10-13 15:41:47.273748"]]  (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", "2015-10-13 15:41:47.276956"], ["updated_at", "2015-10-13 15:41:47.276956"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:41:47.284581"], ["updated_at", "2015-10-13 15:41:47.284581"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:41:47.288572"], ["updated_at", "2015-10-13 15:41:47.288572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.2ms) 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", "2015-10-13 15:41:47.308326"], ["updated_at", "2015-10-13 15:41:47.308326"]]  (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", "2015-10-13 15:41:47.312430"], ["updated_at", "2015-10-13 15:41:47.312430"]]  (0.0ms) 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 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", "2015-10-13 15:41:47.319902"], ["updated_at", "2015-10-13 15:41:47.319902"]]  (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", "2015-10-13 15:41:47.322223"], ["updated_at", "2015-10-13 15:41:47.322223"]]  (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", "2015-10-13 15:41:47.324845"], ["updated_at", "2015-10-13 15:41:47.324845"]]  (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 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", "2015-10-13 15:41:47.332034"], ["updated_at", "2015-10-13 15:41:47.332034"]]  (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", "2015-10-13 15:41:47.334334"], ["updated_at", "2015-10-13 15:41:47.334334"]]  (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", "2015-10-13 15:41:47.336868"], ["updated_at", "2015-10-13 15:41:47.336868"]]  (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 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", "2015-10-13 15:41:47.344011"], ["updated_at", "2015-10-13 15:41:47.344011"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:41:47.346830"], ["updated_at", "2015-10-13 15:41:47.346830"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) 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.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:39.315093"], ["updated_at", "2015-10-13 15:42:39.315093"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.2ms) 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", "2015-10-13 15:42:39.335873"], ["updated_at", "2015-10-13 15:42:39.335873"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:39.348835"], ["updated_at", "2015-10-13 15:42:39.348835"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:39.373890"], ["updated_at", "2015-10-13 15:42:39.373890"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:39.375571"], ["updated_at", "2015-10-13 15:42:39.375571"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "o2Aye5gDyiMB8MQXt1J0EA"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:42:39.398997"], ["updated_at", "2015-10-13 15:42:39.398997"]]  (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", "o2Aye5gDyiMB8MQXt1J0EA"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (2.2ms) 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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:42:39.435360"], ["updated_at", "2015-10-13 15:42:39.435360"]]  (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", "2015-10-13 15:42:39.439276"], ["updated_at", "2015-10-13 15:42:39.439276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:42:39.443799"], ["updated_at", "2015-10-13 15:42:39.443799"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:39.445421"], ["updated_at", "2015-10-13 15:42:39.445421"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:39.455804"], ["updated_at", "2015-10-13 15:42:39.455804"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:39.458437"], ["updated_at", "2015-10-13 15:42:39.458437"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:39.462771"], ["updated_at", "2015-10-13 15:42:39.462771"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:39.464281"], ["updated_at", "2015-10-13 15:42:39.464281"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:42:39.473467"], ["updated_at", "2015-10-13 15:42:39.473467"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:39.476068"], ["updated_at", "2015-10-13 15:42:39.476068"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:39.480410"], ["updated_at", "2015-10-13 15:42:39.480410"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:39.483425"], ["updated_at", "2015-10-13 15:42:39.483425"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:42:39.496106"], ["updated_at", "2015-10-13 15:42:39.496106"]]  (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", "2015-10-13 15:42:39.499616"], ["updated_at", "2015-10-13 15:42:39.499616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:39.503790"], ["updated_at", "2015-10-13 15:42:39.503790"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:39.505289"], ["updated_at", "2015-10-13 15:42:39.505289"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:39.516866"], ["updated_at", "2015-10-13 15:42:39.516866"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:39.519825"], ["updated_at", "2015-10-13 15:42:39.519825"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:39.522979"], ["updated_at", "2015-10-13 15:42:39.522979"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:39.524560"], ["updated_at", "2015-10-13 15:42:39.524560"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1006 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.2ms) 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", "2015-10-13 15:42:39.535319"], ["updated_at", "2015-10-13 15:42:39.535319"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:39.537945"], ["updated_at", "2015-10-13 15:42:39.537945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:39.542694"], ["updated_at", "2015-10-13 15:42:39.542694"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:39.544983"], ["updated_at", "2015-10-13 15:42:39.544983"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.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", "2015-10-13 15:42:39.558056"], ["updated_at", "2015-10-13 15:42:39.558056"]]  (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", "2015-10-13 15:42:39.561505"], ["updated_at", "2015-10-13 15:42:39.561505"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:39.565800"], ["updated_at", "2015-10-13 15:42:39.565800"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:39.567260"], ["updated_at", "2015-10-13 15:42:39.567260"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.1ms) 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", "2015-10-13 15:42:39.578621"], ["updated_at", "2015-10-13 15:42:39.578621"]]  (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", "2015-10-13 15:42:39.582850"], ["updated_at", "2015-10-13 15:42:39.582850"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:42:39.588069"], ["updated_at", "2015-10-13 15:42:39.588069"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:39.589637"], ["updated_at", "2015-10-13 15:42:39.589637"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.5ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.9ms) 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", "2015-10-13 15:42:39.600966"], ["updated_at", "2015-10-13 15:42:39.600966"]]  (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", "2015-10-13 15:42:39.603490"], ["updated_at", "2015-10-13 15:42:39.603490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:39.606633"], ["updated_at", "2015-10-13 15:42:39.606633"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:39.608366"], ["updated_at", "2015-10-13 15:42:39.608366"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (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.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:39.622408"], ["updated_at", "2015-10-13 15:42:39.622408"]]  (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", "2015-10-13 15:42:39.628220"], ["updated_at", "2015-10-13 15:42:39.628220"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:39.633188"], ["updated_at", "2015-10-13 15:42:39.633188"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:39.634887"], ["updated_at", "2015-10-13 15:42:39.634887"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "BEqPftH2br42nX2F6Lbj1A"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:42:39.638262"], ["updated_at", "2015-10-13 15:42:39.638262"]]  (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", "BEqPftH2br42nX2F6Lbj1A"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (0.0ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:42:39.648482"], ["updated_at", "2015-10-13 15:42:39.648482"]]  (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", "2015-10-13 15:42:39.651184"], ["updated_at", "2015-10-13 15:42:39.651184"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:39.654519"], ["updated_at", "2015-10-13 15:42:39.654519"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:39.656097"], ["updated_at", "2015-10-13 15:42:39.656097"]]  (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"."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"."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"."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"]]  (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", "2015-10-13 15:42:39.667262"], ["updated_at", "2015-10-13 15:42:39.667262"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:39.669996"], ["updated_at", "2015-10-13 15:42:39.669996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:39.673451"], ["updated_at", "2015-10-13 15:42:39.673451"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:39.675469"], ["updated_at", "2015-10-13 15:42:39.675469"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.1ms) 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", "2015-10-13 15:42:39.692597"], ["updated_at", "2015-10-13 15:42:39.692597"]]  (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", "2015-10-13 15:42:39.695994"], ["updated_at", "2015-10-13 15:42:39.695994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:39.705520"], ["updated_at", "2015-10-13 15:42:39.705520"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:39.706951"], ["updated_at", "2015-10-13 15:42:39.706951"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1016  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:39.718710"], ["updated_at", "2015-10-13 15:42:39.718710"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:39.721587"], ["updated_at", "2015-10-13 15:42:39.721587"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:39.725564"], ["updated_at", "2015-10-13 15:42:39.725564"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:39.727356"], ["updated_at", "2015-10-13 15:42:39.727356"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) 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", "2015-10-13 15:42:39.740912"], ["updated_at", "2015-10-13 15:42:39.740912"]]  (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", "2015-10-13 15:42:39.745342"], ["updated_at", "2015-10-13 15:42:39.745342"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:39.749392"], ["updated_at", "2015-10-13 15:42:39.749392"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:39.751551"], ["updated_at", "2015-10-13 15:42:39.751551"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) 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", "2015-10-13 15:42:39.761716"], ["updated_at", "2015-10-13 15:42:39.761716"]]  (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", "2015-10-13 15:42:39.765202"], ["updated_at", "2015-10-13 15:42:39.765202"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:39.769067"], ["updated_at", "2015-10-13 15:42:39.769067"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:39.770453"], ["updated_at", "2015-10-13 15:42:39.770453"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1022  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) 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", "2015-10-13 15:42:39.784713"], ["updated_at", "2015-10-13 15:42:39.784713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1023], ["created_at", "2015-10-13 15:42:39.790792"], ["updated_at", "2015-10-13 15:42:39.790792"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:39.794422"], ["updated_at", "2015-10-13 15:42:39.794422"]]  (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", "2015-10-13 15:42:39.798069"], ["updated_at", "2015-10-13 15:42:39.798069"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:39.801367"], ["updated_at", "2015-10-13 15:42:39.801367"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:39.802616"], ["updated_at", "2015-10-13 15:42:39.802616"]]  (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"."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"."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.0ms) rollback transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$5L4H9rq1FMQkVcgqu/4YeOHWaApTrY4q0F6gqjFVLO7lI8OQWKGse"], ["remember_token", "9JwR-NBbsNPfqho80SNiOQ"], ["created_at", "2015-10-13 15:42:39.816513"], ["updated_at", "2015-10-13 15:42:39.816513"]]  (1.0ms) commit 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:39.821823"], ["updated_at", "2015-10-13 15:42:39.821823"]]  (0.0ms) 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", "2015-10-13 15:42:39.823891"], ["updated_at", "2015-10-13 15:42:39.823891"]]  (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", "2015-10-13 15:42:39.826316"], ["updated_at", "2015-10-13 15:42:39.826316"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:39.833459"], ["updated_at", "2015-10-13 15:42:39.833459"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:39.836083"], ["updated_at", "2015-10-13 15:42:39.836083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:42:39.849867"], ["updated_at", "2015-10-13 15:42:39.849867"]]  (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", "2015-10-13 15:42:39.852501"], ["updated_at", "2015-10-13 15:42:39.852501"]]  (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 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", "2015-10-13 15:42:39.859628"], ["updated_at", "2015-10-13 15:42:39.859628"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:42:39.862117"], ["updated_at", "2015-10-13 15:42:39.862117"]]  (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", "2015-10-13 15:42:39.865813"], ["updated_at", "2015-10-13 15:42:39.865813"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:39.872948"], ["updated_at", "2015-10-13 15:42:39.872948"]]  (0.0ms) 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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:42:39.875043"], ["updated_at", "2015-10-13 15:42:39.875043"]]  (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", "2015-10-13 15:42:39.877931"], ["updated_at", "2015-10-13 15:42:39.877931"]]  (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 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:39.884610"], ["updated_at", "2015-10-13 15:42:39.884610"]]  (0.0ms) 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:42:39.886680"], ["updated_at", "2015-10-13 15:42:39.886680"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) 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.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:47.430557"], ["updated_at", "2015-10-13 15:42:47.430557"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.3ms) 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", "2015-10-13 15:42:47.456414"], ["updated_at", "2015-10-13 15:42:47.456414"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:47.472995"], ["updated_at", "2015-10-13 15:42:47.472995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:47.514757"], ["updated_at", "2015-10-13 15:42:47.514757"]] SQL (0.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:47.517766"], ["updated_at", "2015-10-13 15:42:47.517766"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "8kGShGSh3RdqvF3r1DKncQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:42:47.536324"], ["updated_at", "2015-10-13 15:42:47.536324"]]  (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", "8kGShGSh3RdqvF3r1DKncQ"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (0.8ms) 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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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", "2015-10-13 15:42:47.573613"], ["updated_at", "2015-10-13 15:42:47.573613"]]  (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", "2015-10-13 15:42:47.578230"], ["updated_at", "2015-10-13 15:42:47.578230"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:42:47.582477"], ["updated_at", "2015-10-13 15:42:47.582477"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:47.584004"], ["updated_at", "2015-10-13 15:42:47.584004"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:47.601455"], ["updated_at", "2015-10-13 15:42:47.601455"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:47.604011"], ["updated_at", "2015-10-13 15:42:47.604011"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:47.607522"], ["updated_at", "2015-10-13 15:42:47.607522"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:47.608820"], ["updated_at", "2015-10-13 15:42:47.608820"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:47.621117"], ["updated_at", "2015-10-13 15:42:47.621117"]]  (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", "2015-10-13 15:42:47.626609"], ["updated_at", "2015-10-13 15:42:47.626609"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:47.634890"], ["updated_at", "2015-10-13 15:42:47.634890"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:47.637671"], ["updated_at", "2015-10-13 15:42:47.637671"]]  (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"."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"."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"."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"]]  (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", "2015-10-13 15:42:47.649185"], ["updated_at", "2015-10-13 15:42:47.649185"]]  (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", "2015-10-13 15:42:47.652508"], ["updated_at", "2015-10-13 15:42:47.652508"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:47.656918"], ["updated_at", "2015-10-13 15:42:47.656918"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:47.659267"], ["updated_at", "2015-10-13 15:42:47.659267"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:47.671451"], ["updated_at", "2015-10-13 15:42:47.671451"]]  (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", "2015-10-13 15:42:47.678680"], ["updated_at", "2015-10-13 15:42:47.678680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:47.685725"], ["updated_at", "2015-10-13 15:42:47.685725"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:47.689541"], ["updated_at", "2015-10-13 15:42:47.689541"]]  (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"."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"."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.7ms) 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", "2015-10-13 15:42:47.700274"], ["updated_at", "2015-10-13 15:42:47.700274"]]  (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", "2015-10-13 15:42:47.703967"], ["updated_at", "2015-10-13 15:42:47.703967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:47.707783"], ["updated_at", "2015-10-13 15:42:47.707783"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:47.709312"], ["updated_at", "2015-10-13 15:42:47.709312"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.4ms) 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", "2015-10-13 15:42:47.719115"], ["updated_at", "2015-10-13 15:42:47.719115"]]  (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", "2015-10-13 15:42:47.722515"], ["updated_at", "2015-10-13 15:42:47.722515"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:47.726505"], ["updated_at", "2015-10-13 15:42:47.726505"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:47.728838"], ["updated_at", "2015-10-13 15:42:47.728838"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:47.745394"], ["updated_at", "2015-10-13 15:42:47.745394"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:47.754350"], ["updated_at", "2015-10-13 15:42:47.754350"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:42:47.763151"], ["updated_at", "2015-10-13 15:42:47.763151"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:47.765343"], ["updated_at", "2015-10-13 15:42:47.765343"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.7ms) 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", "2015-10-13 15:42:47.777948"], ["updated_at", "2015-10-13 15:42:47.777948"]]  (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", "2015-10-13 15:42:47.781024"], ["updated_at", "2015-10-13 15:42:47.781024"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:47.789312"], ["updated_at", "2015-10-13 15:42:47.789312"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:47.793361"], ["updated_at", "2015-10-13 15:42:47.793361"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:47.810756"], ["updated_at", "2015-10-13 15:42:47.810756"]]  (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", "2015-10-13 15:42:47.815446"], ["updated_at", "2015-10-13 15:42:47.815446"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:47.824719"], ["updated_at", "2015-10-13 15:42:47.824719"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:47.827573"], ["updated_at", "2015-10-13 15:42:47.827573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "h45va13t4kv0Qspsk6Wzdg"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:42:47.831464"], ["updated_at", "2015-10-13 15:42:47.831464"]]  (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", "h45va13t4kv0Qspsk6Wzdg"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (1.7ms) 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", "2015-10-13 15:42:47.843819"], ["updated_at", "2015-10-13 15:42:47.843819"]]  (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", "2015-10-13 15:42:47.847347"], ["updated_at", "2015-10-13 15:42:47.847347"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:47.855302"], ["updated_at", "2015-10-13 15:42:47.855302"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:47.857160"], ["updated_at", "2015-10-13 15:42:47.857160"]]  (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"."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"."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.4ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (37.1ms) 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.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:47.910055"], ["updated_at", "2015-10-13 15:42:47.910055"]]  (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", "2015-10-13 15:42:47.915736"], ["updated_at", "2015-10-13 15:42:47.915736"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:47.920306"], ["updated_at", "2015-10-13 15:42:47.920306"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:47.922098"], ["updated_at", "2015-10-13 15:42:47.922098"]]  (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 (1.6ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:47.940850"], ["updated_at", "2015-10-13 15:42:47.940850"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:47.943708"], ["updated_at", "2015-10-13 15:42:47.943708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:47.954526"], ["updated_at", "2015-10-13 15:42:47.954526"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:47.956115"], ["updated_at", "2015-10-13 15:42:47.956115"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1016  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-13 15:42:47.969478"], ["updated_at", "2015-10-13 15:42:47.969478"]]  (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", "2015-10-13 15:42:47.974682"], ["updated_at", "2015-10-13 15:42:47.974682"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:47.980532"], ["updated_at", "2015-10-13 15:42:47.980532"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:47.982194"], ["updated_at", "2015-10-13 15:42:47.982194"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1018  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-13 15:42:47.993412"], ["updated_at", "2015-10-13 15:42:47.993412"]]  (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", "2015-10-13 15:42:47.996840"], ["updated_at", "2015-10-13 15:42:47.996840"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:48.003805"], ["updated_at", "2015-10-13 15:42:48.003805"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:48.006083"], ["updated_at", "2015-10-13 15:42:48.006083"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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 (2.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:48.017617"], ["updated_at", "2015-10-13 15:42:48.017617"]]  (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", "2015-10-13 15:42:48.024481"], ["updated_at", "2015-10-13 15:42:48.024481"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:48.028216"], ["updated_at", "2015-10-13 15:42:48.028216"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:48.029605"], ["updated_at", "2015-10-13 15:42:48.029605"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1022  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:42:48.043511"], ["updated_at", "2015-10-13 15:42:48.043511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1023], ["created_at", "2015-10-13 15:42:48.047911"], ["updated_at", "2015-10-13 15:42:48.047911"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:48.051035"], ["updated_at", "2015-10-13 15:42:48.051035"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:48.053896"], ["updated_at", "2015-10-13 15:42:48.053896"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:48.057489"], ["updated_at", "2015-10-13 15:42:48.057489"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:48.059209"], ["updated_at", "2015-10-13 15:42:48.059209"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1023 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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  (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$qx0NDZJ0Efhjfg/V5JkR5ef32rI9ZKX2VjiXeGtOI1yK2KkX250DW"], ["remember_token", "735HWD8gkble8okoNoyXIw"], ["created_at", "2015-10-13 15:42:48.078781"], ["updated_at", "2015-10-13 15:42:48.078781"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "2015-10-13 15:42:48.083748"], ["updated_at", "2015-10-13 15:42:48.083748"]]  (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", "2015-10-13 15:42:48.086189"], ["updated_at", "2015-10-13 15:42:48.086189"]]  (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", "2015-10-13 15:42:48.088968"], ["updated_at", "2015-10-13 15:42:48.088968"]]  (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 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", "2015-10-13 15:42:48.097024"], ["updated_at", "2015-10-13 15:42:48.097024"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:48.099668"], ["updated_at", "2015-10-13 15:42:48.099668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:42:48.113578"], ["updated_at", "2015-10-13 15:42:48.113578"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:48.116099"], ["updated_at", "2015-10-13 15:42:48.116099"]]  (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 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:48.125552"], ["updated_at", "2015-10-13 15:42:48.125552"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:42:48.127626"], ["updated_at", "2015-10-13 15:42:48.127626"]]  (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", "2015-10-13 15:42:48.130168"], ["updated_at", "2015-10-13 15:42:48.130168"]]  (0.0ms) 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 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", "2015-10-13 15:42:48.138321"], ["updated_at", "2015-10-13 15:42:48.138321"]]  (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", "2015-10-13 15:42:48.140489"], ["updated_at", "2015-10-13 15:42:48.140489"]]  (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", "2015-10-13 15:42:48.142876"], ["updated_at", "2015-10-13 15:42:48.142876"]]  (0.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:48.150415"], ["updated_at", "2015-10-13 15:42:48.150415"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:42:48.152650"], ["updated_at", "2015-10-13 15:42:48.152650"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.2ms) 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", "2015-10-13 15:42:58.566441"], ["updated_at", "2015-10-13 15:42:58.566441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.4ms) 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", "2015-10-13 15:42:58.583569"], ["updated_at", "2015-10-13 15:42:58.583569"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:58.596294"], ["updated_at", "2015-10-13 15:42:58.596294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:58.627079"], ["updated_at", "2015-10-13 15:42:58.627079"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:58.628991"], ["updated_at", "2015-10-13 15:42:58.628991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "y8afWjNy278zr72zh-eIxw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:42:58.648847"], ["updated_at", "2015-10-13 15:42:58.648847"]]  (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", "y8afWjNy278zr72zh-eIxw"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.3ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:58.689291"], ["updated_at", "2015-10-13 15:42:58.689291"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:58.692291"], ["updated_at", "2015-10-13 15:42:58.692291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:42:58.696248"], ["updated_at", "2015-10-13 15:42:58.696248"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:58.698173"], ["updated_at", "2015-10-13 15:42:58.698173"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-13 15:42:58.707856"], ["updated_at", "2015-10-13 15:42:58.707856"]]  (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", "2015-10-13 15:42:58.711824"], ["updated_at", "2015-10-13 15:42:58.711824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:58.715482"], ["updated_at", "2015-10-13 15:42:58.715482"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:58.716880"], ["updated_at", "2015-10-13 15:42:58.716880"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:42:58.729759"], ["updated_at", "2015-10-13 15:42:58.729759"]]  (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", "2015-10-13 15:42:58.733173"], ["updated_at", "2015-10-13 15:42:58.733173"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:58.737497"], ["updated_at", "2015-10-13 15:42:58.737497"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:58.739087"], ["updated_at", "2015-10-13 15:42:58.739087"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:58.749596"], ["updated_at", "2015-10-13 15:42:58.749596"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:58.752176"], ["updated_at", "2015-10-13 15:42:58.752176"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:58.755410"], ["updated_at", "2015-10-13 15:42:58.755410"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:58.757076"], ["updated_at", "2015-10-13 15:42:58.757076"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:42:58.766715"], ["updated_at", "2015-10-13 15:42:58.766715"]]  (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", "2015-10-13 15:42:58.770313"], ["updated_at", "2015-10-13 15:42:58.770313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:58.774784"], ["updated_at", "2015-10-13 15:42:58.774784"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:58.776202"], ["updated_at", "2015-10-13 15:42:58.776202"]]  (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"."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"."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"]]  (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", "2015-10-13 15:42:58.785404"], ["updated_at", "2015-10-13 15:42:58.785404"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:58.788224"], ["updated_at", "2015-10-13 15:42:58.788224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:58.791767"], ["updated_at", "2015-10-13 15:42:58.791767"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:58.793651"], ["updated_at", "2015-10-13 15:42:58.793651"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:42:58.803665"], ["updated_at", "2015-10-13 15:42:58.803665"]]  (0.2ms) 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", "2015-10-13 15:42:58.810428"], ["updated_at", "2015-10-13 15:42:58.810428"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:58.815226"], ["updated_at", "2015-10-13 15:42:58.815226"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:58.816589"], ["updated_at", "2015-10-13 15:42:58.816589"]]  (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"."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"."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"."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"]]  (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", "2015-10-13 15:42:58.827158"], ["updated_at", "2015-10-13 15:42:58.827158"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:58.829820"], ["updated_at", "2015-10-13 15:42:58.829820"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:42:58.833051"], ["updated_at", "2015-10-13 15:42:58.833051"]] SQL (0.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:58.834437"], ["updated_at", "2015-10-13 15:42:58.834437"]]  (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 1 Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.9ms) 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", "2015-10-13 15:42:58.849193"], ["updated_at", "2015-10-13 15:42:58.849193"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:58.851881"], ["updated_at", "2015-10-13 15:42:58.851881"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:58.855481"], ["updated_at", "2015-10-13 15:42:58.855481"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:58.857082"], ["updated_at", "2015-10-13 15:42:58.857082"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:58.868141"], ["updated_at", "2015-10-13 15:42:58.868141"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:58.870938"], ["updated_at", "2015-10-13 15:42:58.870938"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:58.874553"], ["updated_at", "2015-10-13 15:42:58.874553"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:58.876169"], ["updated_at", "2015-10-13 15:42:58.876169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "Kb_Tvjc0fKZPs0eXAcsleA"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:42:58.879276"], ["updated_at", "2015-10-13 15:42:58.879276"]]  (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", "Kb_Tvjc0fKZPs0eXAcsleA"]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (0.0ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (3.2ms) 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", "2015-10-13 15:42:58.890939"], ["updated_at", "2015-10-13 15:42:58.890939"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:58.893531"], ["updated_at", "2015-10-13 15:42:58.893531"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:58.898523"], ["updated_at", "2015-10-13 15:42:58.898523"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:58.900088"], ["updated_at", "2015-10-13 15:42:58.900088"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"]]  (1.2ms) 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", "2015-10-13 15:42:58.911682"], ["updated_at", "2015-10-13 15:42:58.911682"]]  (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", "2015-10-13 15:42:58.915749"], ["updated_at", "2015-10-13 15:42:58.915749"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:58.920411"], ["updated_at", "2015-10-13 15:42:58.920411"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:58.922033"], ["updated_at", "2015-10-13 15:42:58.922033"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.8ms) rollback transaction  (1.0ms) 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", "2015-10-13 15:42:58.940862"], ["updated_at", "2015-10-13 15:42:58.940862"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:58.943739"], ["updated_at", "2015-10-13 15:42:58.943739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:58.955571"], ["updated_at", "2015-10-13 15:42:58.955571"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:58.957008"], ["updated_at", "2015-10-13 15:42:58.957008"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1016  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:58.970187"], ["updated_at", "2015-10-13 15:42:58.970187"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:58.972668"], ["updated_at", "2015-10-13 15:42:58.972668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:58.978040"], ["updated_at", "2015-10-13 15:42:58.978040"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:58.979715"], ["updated_at", "2015-10-13 15:42:58.979715"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:58.992311"], ["updated_at", "2015-10-13 15:42:58.992311"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:58.995316"], ["updated_at", "2015-10-13 15:42:58.995316"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:58.999176"], ["updated_at", "2015-10-13 15:42:58.999176"]] SQL (0.6ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:59.000576"], ["updated_at", "2015-10-13 15:42:59.000576"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-13 15:42:59.012293"], ["updated_at", "2015-10-13 15:42:59.012293"]]  (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", "2015-10-13 15:42:59.015980"], ["updated_at", "2015-10-13 15:42:59.015980"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:59.020450"], ["updated_at", "2015-10-13 15:42:59.020450"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:59.021963"], ["updated_at", "2015-10-13 15:42:59.021963"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1022  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) 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", "2015-10-13 15:42:59.039810"], ["updated_at", "2015-10-13 15:42:59.039810"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1023], ["created_at", "2015-10-13 15:42:59.044133"], ["updated_at", "2015-10-13 15:42:59.044133"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:59.048052"], ["updated_at", "2015-10-13 15:42:59.048052"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:59.050725"], ["updated_at", "2015-10-13 15:42:59.050725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:42:59.055023"], ["updated_at", "2015-10-13 15:42:59.055023"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:42:59.056523"], ["updated_at", "2015-10-13 15:42:59.056523"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1023 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.0ms) rollback transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$U1Pj1WJLGQ09jUr9VnnMau8CTIGxQhQxnCUf7fallRH3/cJwwxXPm"], ["remember_token", "SI5WlusKDyZQjzRUb-xdIQ"], ["created_at", "2015-10-13 15:42:59.069797"], ["updated_at", "2015-10-13 15:42:59.069797"]]  (1.0ms) commit 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", "2015-10-13 15:42:59.074896"], ["updated_at", "2015-10-13 15:42:59.074896"]]  (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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:42:59.077117"], ["updated_at", "2015-10-13 15:42:59.077117"]]  (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", "2015-10-13 15:42:59.079488"], ["updated_at", "2015-10-13 15:42:59.079488"]]  (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 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", "2015-10-13 15:42:59.087543"], ["updated_at", "2015-10-13 15:42:59.087543"]]  (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", "2015-10-13 15:42:59.091516"], ["updated_at", "2015-10-13 15:42:59.091516"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:42:59.109091"], ["updated_at", "2015-10-13 15:42:59.109091"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:42:59.111790"], ["updated_at", "2015-10-13 15:42:59.111790"]]  (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 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:59.119931"], ["updated_at", "2015-10-13 15:42:59.119931"]]  (0.0ms) 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:42:59.121988"], ["updated_at", "2015-10-13 15:42:59.121988"]]  (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", "2015-10-13 15:42:59.124345"], ["updated_at", "2015-10-13 15:42:59.124345"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:42:59.132104"], ["updated_at", "2015-10-13 15:42:59.132104"]]  (0.0ms) 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:42:59.134347"], ["updated_at", "2015-10-13 15:42:59.134347"]]  (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", "2015-10-13 15:42:59.136768"], ["updated_at", "2015-10-13 15:42:59.136768"]]  (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 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", "2015-10-13 15:42:59.145592"], ["updated_at", "2015-10-13 15:42:59.145592"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:42:59.148431"], ["updated_at", "2015-10-13 15:42:59.148431"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 1  (0.1ms) rollback transaction  (0.2ms) 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 (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:32.819805"], ["updated_at", "2015-10-13 15:43:32.819805"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) 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", "2015-10-13 15:43:32.840142"], ["updated_at", "2015-10-13 15:43:32.840142"]]  (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", "2015-10-13 15:43:32.852431"], ["updated_at", "2015-10-13 15:43:32.852431"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:32.882761"], ["updated_at", "2015-10-13 15:43:32.882761"]] SQL (1.6ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:32.886555"], ["updated_at", "2015-10-13 15:43:32.886555"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "-Pmsfd62asxulmYoiXkk0w"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:43:32.908957"], ["updated_at", "2015-10-13 15:43:32.908957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "-Pmsfd62asxulmYoiXkk0w"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.3ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:32.948553"], ["updated_at", "2015-10-13 15:43:32.948553"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:32.951264"], ["updated_at", "2015-10-13 15:43:32.951264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:43:32.954935"], ["updated_at", "2015-10-13 15:43:32.954935"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:32.956696"], ["updated_at", "2015-10-13 15:43:32.956696"]]  (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"."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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:32.966716"], ["updated_at", "2015-10-13 15:43:32.966716"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:32.969557"], ["updated_at", "2015-10-13 15:43:32.969557"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:32.975284"], ["updated_at", "2015-10-13 15:43:32.975284"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:32.976620"], ["updated_at", "2015-10-13 15:43:32.976620"]]  (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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-13 15:43:32.985643"], ["updated_at", "2015-10-13 15:43:32.985643"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:32.988450"], ["updated_at", "2015-10-13 15:43:32.988450"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:32.992085"], ["updated_at", "2015-10-13 15:43:32.992085"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:32.994118"], ["updated_at", "2015-10-13 15:43:32.994118"]]  (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"."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"."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"."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.2ms) 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", "2015-10-13 15:43:33.005157"], ["updated_at", "2015-10-13 15:43:33.005157"]]  (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", "2015-10-13 15:43:33.009206"], ["updated_at", "2015-10-13 15:43:33.009206"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:33.014599"], ["updated_at", "2015-10-13 15:43:33.014599"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:33.016297"], ["updated_at", "2015-10-13 15:43:33.016297"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:43:33.028462"], ["updated_at", "2015-10-13 15:43:33.028462"]]  (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", "2015-10-13 15:43:33.032513"], ["updated_at", "2015-10-13 15:43:33.032513"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:33.037798"], ["updated_at", "2015-10-13 15:43:33.037798"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:33.039320"], ["updated_at", "2015-10-13 15:43:33.039320"]]  (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"."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"."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.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", "2015-10-13 15:43:33.050184"], ["updated_at", "2015-10-13 15:43:33.050184"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:33.053004"], ["updated_at", "2015-10-13 15:43:33.053004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:33.056703"], ["updated_at", "2015-10-13 15:43:33.056703"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:33.058205"], ["updated_at", "2015-10-13 15:43:33.058205"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:33.068213"], ["updated_at", "2015-10-13 15:43:33.068213"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:33.070759"], ["updated_at", "2015-10-13 15:43:33.070759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:33.076200"], ["updated_at", "2015-10-13 15:43:33.076200"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:33.078632"], ["updated_at", "2015-10-13 15:43:33.078632"]]  (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"."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"."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"."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"]]  (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", "2015-10-13 15:43:33.090766"], ["updated_at", "2015-10-13 15:43:33.090766"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:33.093801"], ["updated_at", "2015-10-13 15:43:33.093801"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:43:33.097539"], ["updated_at", "2015-10-13 15:43:33.097539"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:33.099099"], ["updated_at", "2015-10-13 15:43:33.099099"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:33.109151"], ["updated_at", "2015-10-13 15:43:33.109151"]]  (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", "2015-10-13 15:43:33.112549"], ["updated_at", "2015-10-13 15:43:33.112549"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:33.116288"], ["updated_at", "2015-10-13 15:43:33.116288"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:33.117707"], ["updated_at", "2015-10-13 15:43:33.117707"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:33.130294"], ["updated_at", "2015-10-13 15:43:33.130294"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:33.133704"], ["updated_at", "2015-10-13 15:43:33.133704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:33.137635"], ["updated_at", "2015-10-13 15:43:33.137635"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:33.139140"], ["updated_at", "2015-10-13 15:43:33.139140"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "iAj5p5KQn6emF5Vti2uJ8g"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:43:33.141919"], ["updated_at", "2015-10-13 15:43:33.141919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "iAj5p5KQn6emF5Vti2uJ8g"]]  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (0.0ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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", "2015-10-13 15:43:33.152788"], ["updated_at", "2015-10-13 15:43:33.152788"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:33.155781"], ["updated_at", "2015-10-13 15:43:33.155781"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:33.158941"], ["updated_at", "2015-10-13 15:43:33.158941"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:33.161428"], ["updated_at", "2015-10-13 15:43:33.161428"]]  (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"."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"."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"."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"]]  (1.1ms) 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", "2015-10-13 15:43:33.177302"], ["updated_at", "2015-10-13 15:43:33.177302"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:33.180749"], ["updated_at", "2015-10-13 15:43:33.180749"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:33.185020"], ["updated_at", "2015-10-13 15:43:33.185020"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:33.186475"], ["updated_at", "2015-10-13 15:43:33.186475"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:33.199444"], ["updated_at", "2015-10-13 15:43:33.199444"]]  (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", "2015-10-13 15:43:33.202343"], ["updated_at", "2015-10-13 15:43:33.202343"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:33.212357"], ["updated_at", "2015-10-13 15:43:33.212357"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:33.213935"], ["updated_at", "2015-10-13 15:43:33.213935"]]  (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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) 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", "2015-10-13 15:43:33.227302"], ["updated_at", "2015-10-13 15:43:33.227302"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:33.230816"], ["updated_at", "2015-10-13 15:43:33.230816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:33.235225"], ["updated_at", "2015-10-13 15:43:33.235225"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:33.236963"], ["updated_at", "2015-10-13 15:43:33.236963"]]  (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"."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"."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"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:33.246922"], ["updated_at", "2015-10-13 15:43:33.246922"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:33.249863"], ["updated_at", "2015-10-13 15:43:33.249863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:33.254054"], ["updated_at", "2015-10-13 15:43:33.254054"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:33.255807"], ["updated_at", "2015-10-13 15:43:33.255807"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1020  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.4ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:43:33.268383"], ["updated_at", "2015-10-13 15:43:33.268383"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:33.271273"], ["updated_at", "2015-10-13 15:43:33.271273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:33.274878"], ["updated_at", "2015-10-13 15:43:33.274878"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:33.276661"], ["updated_at", "2015-10-13 15:43:33.276661"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1022  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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", "2015-10-13 15:43:33.290590"], ["updated_at", "2015-10-13 15:43:33.290590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1023], ["created_at", "2015-10-13 15:43:33.296131"], ["updated_at", "2015-10-13 15:43:33.296131"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:33.301140"], ["updated_at", "2015-10-13 15:43:33.301140"]]  (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", "2015-10-13 15:43:33.303648"], ["updated_at", "2015-10-13 15:43:33.303648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:33.306706"], ["updated_at", "2015-10-13 15:43:33.306706"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:33.308053"], ["updated_at", "2015-10-13 15:43:33.308053"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1023 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$9zJGnn.kSxJ2p4Do25LjyOpzOCR0DXRxuC8JITd7mjsCWviXVUeo."], ["remember_token", "-z1LjCKxAoikhsesHduwug"], ["created_at", "2015-10-13 15:43:33.322448"], ["updated_at", "2015-10-13 15:43:33.322448"]]  (1.3ms) commit transaction  (0.2ms) 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", "2015-10-13 15:43:33.329704"], ["updated_at", "2015-10-13 15:43:33.329704"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:43:33.332165"], ["updated_at", "2015-10-13 15:43:33.332165"]]  (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", "2015-10-13 15:43:33.334682"], ["updated_at", "2015-10-13 15:43:33.334682"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:33.341047"], ["updated_at", "2015-10-13 15:43:33.341047"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:33.343746"], ["updated_at", "2015-10-13 15:43:33.343746"]]  (0.1ms) 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 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", "2015-10-13 15:43:33.360697"], ["updated_at", "2015-10-13 15:43:33.360697"]]  (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", "2015-10-13 15:43:33.364488"], ["updated_at", "2015-10-13 15:43:33.364488"]]  (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 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", "2015-10-13 15:43:33.371308"], ["updated_at", "2015-10-13 15:43:33.371308"]]  (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", "2015-10-13 15:43:33.373547"], ["updated_at", "2015-10-13 15:43:33.373547"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:33.376255"], ["updated_at", "2015-10-13 15:43:33.376255"]]  (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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:33.387922"], ["updated_at", "2015-10-13 15:43:33.387922"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:43:33.391322"], ["updated_at", "2015-10-13 15:43:33.391322"]]  (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", "2015-10-13 15:43:33.395572"], ["updated_at", "2015-10-13 15:43:33.395572"]]  (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 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", "2015-10-13 15:43:33.402777"], ["updated_at", "2015-10-13 15:43:33.402777"]]  (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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:43:33.405095"], ["updated_at", "2015-10-13 15:43:33.405095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.8ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:43.955101"], ["updated_at", "2015-10-13 15:43:43.955101"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:43:43.976284"], ["updated_at", "2015-10-13 15:43:43.976284"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.9ms) 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", "2015-10-13 15:43:43.989500"], ["updated_at", "2015-10-13 15:43:43.989500"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:44.021020"], ["updated_at", "2015-10-13 15:43:44.021020"]] SQL (1.7ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:44.024295"], ["updated_at", "2015-10-13 15:43:44.024295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "UaGcwr7aDsSXklZLKv3oLQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:43:44.042750"], ["updated_at", "2015-10-13 15:43:44.042750"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "UaGcwr7aDsSXklZLKv3oLQ"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:44.086480"], ["updated_at", "2015-10-13 15:43:44.086480"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:44.089603"], ["updated_at", "2015-10-13 15:43:44.089603"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:43:44.093293"], ["updated_at", "2015-10-13 15:43:44.093293"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:44.094653"], ["updated_at", "2015-10-13 15:43:44.094653"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:44.104478"], ["updated_at", "2015-10-13 15:43:44.104478"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:44.107313"], ["updated_at", "2015-10-13 15:43:44.107313"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:44.111088"], ["updated_at", "2015-10-13 15:43:44.111088"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:44.112475"], ["updated_at", "2015-10-13 15:43:44.112475"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:43:44.121985"], ["updated_at", "2015-10-13 15:43:44.121985"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:44.124586"], ["updated_at", "2015-10-13 15:43:44.124586"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:44.129774"], ["updated_at", "2015-10-13 15:43:44.129774"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:44.132160"], ["updated_at", "2015-10-13 15:43:44.132160"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:44.144243"], ["updated_at", "2015-10-13 15:43:44.144243"]]  (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", "2015-10-13 15:43:44.146773"], ["updated_at", "2015-10-13 15:43:44.146773"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:44.150238"], ["updated_at", "2015-10-13 15:43:44.150238"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:44.151799"], ["updated_at", "2015-10-13 15:43:44.151799"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-13 15:43:44.161036"], ["updated_at", "2015-10-13 15:43:44.161036"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:44.163817"], ["updated_at", "2015-10-13 15:43:44.163817"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:44.167611"], ["updated_at", "2015-10-13 15:43:44.167611"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:44.169394"], ["updated_at", "2015-10-13 15:43:44.169394"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1006 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:44.178486"], ["updated_at", "2015-10-13 15:43:44.178486"]]  (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", "2015-10-13 15:43:44.181043"], ["updated_at", "2015-10-13 15:43:44.181043"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:44.184147"], ["updated_at", "2015-10-13 15:43:44.184147"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:44.186097"], ["updated_at", "2015-10-13 15:43:44.186097"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:43:44.195695"], ["updated_at", "2015-10-13 15:43:44.195695"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:44.199106"], ["updated_at", "2015-10-13 15:43:44.199106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:44.203342"], ["updated_at", "2015-10-13 15:43:44.203342"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:44.205160"], ["updated_at", "2015-10-13 15:43:44.205160"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"]]  (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", "2015-10-13 15:43:44.215358"], ["updated_at", "2015-10-13 15:43:44.215358"]]  (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", "2015-10-13 15:43:44.218031"], ["updated_at", "2015-10-13 15:43:44.218031"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:43:44.221289"], ["updated_at", "2015-10-13 15:43:44.221289"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:44.223653"], ["updated_at", "2015-10-13 15:43:44.223653"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.2ms) rollback transaction  (0.2ms) 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", "2015-10-13 15:43:44.235119"], ["updated_at", "2015-10-13 15:43:44.235119"]]  (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", "2015-10-13 15:43:44.237968"], ["updated_at", "2015-10-13 15:43:44.237968"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:44.242792"], ["updated_at", "2015-10-13 15:43:44.242792"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:44.244698"], ["updated_at", "2015-10-13 15:43:44.244698"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (1.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", "2015-10-13 15:43:44.259789"], ["updated_at", "2015-10-13 15:43:44.259789"]]  (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", "2015-10-13 15:43:44.263170"], ["updated_at", "2015-10-13 15:43:44.263170"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:44.267561"], ["updated_at", "2015-10-13 15:43:44.267561"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:44.268913"], ["updated_at", "2015-10-13 15:43:44.268913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "-3Porb12OyQ7U8m37TyS3A"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:43:44.271876"], ["updated_at", "2015-10-13 15:43:44.271876"]]  (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", "-3Porb12OyQ7U8m37TyS3A"]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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", "2015-10-13 15:43:44.281565"], ["updated_at", "2015-10-13 15:43:44.281565"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:44.284265"], ["updated_at", "2015-10-13 15:43:44.284265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:44.287321"], ["updated_at", "2015-10-13 15:43:44.287321"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:44.289813"], ["updated_at", "2015-10-13 15:43:44.289813"]]  (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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:44.301147"], ["updated_at", "2015-10-13 15:43:44.301147"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:44.304080"], ["updated_at", "2015-10-13 15:43:44.304080"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:44.309022"], ["updated_at", "2015-10-13 15:43:44.309022"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:44.310539"], ["updated_at", "2015-10-13 15:43:44.310539"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:43:44.327920"], ["updated_at", "2015-10-13 15:43:44.327920"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:44.331113"], ["updated_at", "2015-10-13 15:43:44.331113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:44.340921"], ["updated_at", "2015-10-13 15:43:44.340921"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:44.342692"], ["updated_at", "2015-10-13 15:43:44.342692"]]  (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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:44.353158"], ["updated_at", "2015-10-13 15:43:44.353158"]]  (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", "2015-10-13 15:43:44.356803"], ["updated_at", "2015-10-13 15:43:44.356803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:44.361054"], ["updated_at", "2015-10-13 15:43:44.361054"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:44.362553"], ["updated_at", "2015-10-13 15:43:44.362553"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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", "2015-10-13 15:43:44.374778"], ["updated_at", "2015-10-13 15:43:44.374778"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:44.377724"], ["updated_at", "2015-10-13 15:43:44.377724"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:44.381318"], ["updated_at", "2015-10-13 15:43:44.381318"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:44.382728"], ["updated_at", "2015-10-13 15:43:44.382728"]]  (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"."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"."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"."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"]]  (0.9ms) 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", "2015-10-13 15:43:44.392871"], ["updated_at", "2015-10-13 15:43:44.392871"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:44.395707"], ["updated_at", "2015-10-13 15:43:44.395707"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:44.399009"], ["updated_at", "2015-10-13 15:43:44.399009"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:44.401961"], ["updated_at", "2015-10-13 15:43:44.401961"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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", "2015-10-13 15:43:44.422691"], ["updated_at", "2015-10-13 15:43:44.422691"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1023], ["created_at", "2015-10-13 15:43:44.426739"], ["updated_at", "2015-10-13 15:43:44.426739"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:44.431566"], ["updated_at", "2015-10-13 15:43:44.431566"]]  (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", "2015-10-13 15:43:44.434403"], ["updated_at", "2015-10-13 15:43:44.434403"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:44.438086"], ["updated_at", "2015-10-13 15:43:44.438086"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:44.439371"], ["updated_at", "2015-10-13 15:43:44.439371"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1023 Adeia::Permission Load (0.5ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) rollback transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$xT2YSrYew1.CONXFhlVONOSUzxYLZG2mHIooPZanoOd/dX9H0mF5u"], ["remember_token", "CRP3fMAzSQIAq8Bk8gDc6g"], ["created_at", "2015-10-13 15:43:44.458621"], ["updated_at", "2015-10-13 15:43:44.458621"]]  (1.0ms) commit transaction  (0.2ms) begin transaction Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:44.464835"], ["updated_at", "2015-10-13 15:43:44.464835"]]  (0.0ms) 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", "2015-10-13 15:43:44.466945"], ["updated_at", "2015-10-13 15:43:44.466945"]]  (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", "2015-10-13 15:43:44.469307"], ["updated_at", "2015-10-13 15:43:44.469307"]]  (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", "2015-10-13 15:43:44.476655"], ["updated_at", "2015-10-13 15:43:44.476655"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:44.479386"], ["updated_at", "2015-10-13 15:43:44.479386"]]  (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 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:43:44.495849"], ["updated_at", "2015-10-13 15:43:44.495849"]]  (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", "2015-10-13 15:43:44.498865"], ["updated_at", "2015-10-13 15:43:44.498865"]]  (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 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", "2015-10-13 15:43:44.507220"], ["updated_at", "2015-10-13 15:43:44.507220"]]  (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", "2015-10-13 15:43:44.509943"], ["updated_at", "2015-10-13 15:43:44.509943"]]  (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", "2015-10-13 15:43:44.512542"], ["updated_at", "2015-10-13 15:43:44.512542"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:44.519791"], ["updated_at", "2015-10-13 15:43:44.519791"]]  (0.0ms) 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", "2015-10-13 15:43:44.522008"], ["updated_at", "2015-10-13 15:43:44.522008"]]  (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", "2015-10-13 15:43:44.524744"], ["updated_at", "2015-10-13 15:43:44.524744"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:44.531633"], ["updated_at", "2015-10-13 15:43:44.531633"]]  (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", "2015-10-13 15:43:44.533947"], ["updated_at", "2015-10-13 15:43:44.533947"]]  (0.1ms) RELEASE SAVEPOINT active_record_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 1  (0.1ms) rollback transaction  (0.2ms) 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 (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:52.508511"], ["updated_at", "2015-10-13 15:43:52.508511"]]  (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", "2015-10-13 15:43:52.528998"], ["updated_at", "2015-10-13 15:43:52.528998"]]  (0.0ms) 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", "2015-10-13 15:43:52.545625"], ["updated_at", "2015-10-13 15:43:52.545625"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:52.578909"], ["updated_at", "2015-10-13 15:43:52.578909"]] SQL (1.8ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:52.583002"], ["updated_at", "2015-10-13 15:43:52.583002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "JaGTl99JtYmikKeyPPm6Rg"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:43:52.601906"], ["updated_at", "2015-10-13 15:43:52.601906"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "JaGTl99JtYmikKeyPPm6Rg"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (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 1 Adeia::Group Load (0.7ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:52.645819"], ["updated_at", "2015-10-13 15:43:52.645819"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:52.649914"], ["updated_at", "2015-10-13 15:43:52.649914"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:43:52.655868"], ["updated_at", "2015-10-13 15:43:52.655868"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:52.658353"], ["updated_at", "2015-10-13 15:43:52.658353"]]  (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"."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"."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.2ms) 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", "2015-10-13 15:43:52.671831"], ["updated_at", "2015-10-13 15:43:52.671831"]]  (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", "2015-10-13 15:43:52.676217"], ["updated_at", "2015-10-13 15:43:52.676217"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:52.680790"], ["updated_at", "2015-10-13 15:43:52.680790"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:52.682361"], ["updated_at", "2015-10-13 15:43:52.682361"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:43:52.692799"], ["updated_at", "2015-10-13 15:43:52.692799"]]  (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", "2015-10-13 15:43:52.696037"], ["updated_at", "2015-10-13 15:43:52.696037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:52.700746"], ["updated_at", "2015-10-13 15:43:52.700746"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:52.702562"], ["updated_at", "2015-10-13 15:43:52.702562"]]  (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"."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"."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"."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", "2015-10-13 15:43:52.712982"], ["updated_at", "2015-10-13 15:43:52.712982"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:52.715589"], ["updated_at", "2015-10-13 15:43:52.715589"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:52.719850"], ["updated_at", "2015-10-13 15:43:52.719850"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:52.721336"], ["updated_at", "2015-10-13 15:43:52.721336"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.1ms) 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", "2015-10-13 15:43:52.731943"], ["updated_at", "2015-10-13 15:43:52.731943"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:52.735773"], ["updated_at", "2015-10-13 15:43:52.735773"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:52.740248"], ["updated_at", "2015-10-13 15:43:52.740248"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:52.742035"], ["updated_at", "2015-10-13 15:43:52.742035"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1006 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:52.752569"], ["updated_at", "2015-10-13 15:43:52.752569"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:52.755456"], ["updated_at", "2015-10-13 15:43:52.755456"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:52.758635"], ["updated_at", "2015-10-13 15:43:52.758635"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:52.761480"], ["updated_at", "2015-10-13 15:43:52.761480"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:52.772133"], ["updated_at", "2015-10-13 15:43:52.772133"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:52.774788"], ["updated_at", "2015-10-13 15:43:52.774788"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:52.778359"], ["updated_at", "2015-10-13 15:43:52.778359"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:52.780435"], ["updated_at", "2015-10-13 15:43:52.780435"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.1ms) 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", "2015-10-13 15:43:52.790634"], ["updated_at", "2015-10-13 15:43:52.790634"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:52.795066"], ["updated_at", "2015-10-13 15:43:52.795066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:43:52.801766"], ["updated_at", "2015-10-13 15:43:52.801766"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:52.803698"], ["updated_at", "2015-10-13 15:43:52.803698"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.2ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:52.814884"], ["updated_at", "2015-10-13 15:43:52.814884"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:52.817627"], ["updated_at", "2015-10-13 15:43:52.817627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:52.821290"], ["updated_at", "2015-10-13 15:43:52.821290"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:52.822975"], ["updated_at", "2015-10-13 15:43:52.822975"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (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", "2015-10-13 15:43:52.833610"], ["updated_at", "2015-10-13 15:43:52.833610"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:52.836976"], ["updated_at", "2015-10-13 15:43:52.836976"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:52.841085"], ["updated_at", "2015-10-13 15:43:52.841085"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:52.842542"], ["updated_at", "2015-10-13 15:43:52.842542"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "YbglqvCeVN1Z9DS2F1qNoQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:43:52.845318"], ["updated_at", "2015-10-13 15:43:52.845318"]]  (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", "YbglqvCeVN1Z9DS2F1qNoQ"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (1.3ms) 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", "2015-10-13 15:43:52.858764"], ["updated_at", "2015-10-13 15:43:52.858764"]]  (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", "2015-10-13 15:43:52.862532"], ["updated_at", "2015-10-13 15:43:52.862532"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:52.867264"], ["updated_at", "2015-10-13 15:43:52.867264"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:52.869035"], ["updated_at", "2015-10-13 15:43:52.869035"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:43:52.879255"], ["updated_at", "2015-10-13 15:43:52.879255"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:52.882018"], ["updated_at", "2015-10-13 15:43:52.882018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:52.885245"], ["updated_at", "2015-10-13 15:43:52.885245"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:52.887159"], ["updated_at", "2015-10-13 15:43:52.887159"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:43:52.902999"], ["updated_at", "2015-10-13 15:43:52.902999"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:52.905973"], ["updated_at", "2015-10-13 15:43:52.905973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:52.916170"], ["updated_at", "2015-10-13 15:43:52.916170"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:52.917810"], ["updated_at", "2015-10-13 15:43:52.917810"]]  (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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:43:52.928742"], ["updated_at", "2015-10-13 15:43:52.928742"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:52.931668"], ["updated_at", "2015-10-13 15:43:52.931668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:52.935307"], ["updated_at", "2015-10-13 15:43:52.935307"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:52.936953"], ["updated_at", "2015-10-13 15:43:52.936953"]]  (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"."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"."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"."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.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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:52.947113"], ["updated_at", "2015-10-13 15:43:52.947113"]]  (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", "2015-10-13 15:43:52.951651"], ["updated_at", "2015-10-13 15:43:52.951651"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:52.956263"], ["updated_at", "2015-10-13 15:43:52.956263"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:52.957707"], ["updated_at", "2015-10-13 15:43:52.957707"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1020  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:52.968537"], ["updated_at", "2015-10-13 15:43:52.968537"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:43:52.971014"], ["updated_at", "2015-10-13 15:43:52.971014"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:52.974296"], ["updated_at", "2015-10-13 15:43:52.974296"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:52.976809"], ["updated_at", "2015-10-13 15:43:52.976809"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1022  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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", "2015-10-13 15:43:52.991534"], ["updated_at", "2015-10-13 15:43:52.991534"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1023], ["created_at", "2015-10-13 15:43:52.995506"], ["updated_at", "2015-10-13 15:43:52.995506"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:43:53.000486"], ["updated_at", "2015-10-13 15:43:53.000486"]]  (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", "2015-10-13 15:43:53.003989"], ["updated_at", "2015-10-13 15:43:53.003989"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:43:53.006961"], ["updated_at", "2015-10-13 15:43:53.006961"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:43:53.009057"], ["updated_at", "2015-10-13 15:43:53.009057"]]  (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"."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"."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.2ms) rollback transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$EbUul9uJ.1TnacEu9zXyvu2bMpOfxYUAjVv3GVF4Dri9CRk4PsMH."], ["remember_token", "sqy7HF9ngmHsA7HB9nkAww"], ["created_at", "2015-10-13 15:43:53.023842"], ["updated_at", "2015-10-13 15:43:53.023842"]]  (1.1ms) commit 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", "2015-10-13 15:43:53.029176"], ["updated_at", "2015-10-13 15:43:53.029176"]]  (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", "2015-10-13 15:43:53.032047"], ["updated_at", "2015-10-13 15:43:53.032047"]]  (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", "2015-10-13 15:43:53.034613"], ["updated_at", "2015-10-13 15:43:53.034613"]]  (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 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", "2015-10-13 15:43:53.041753"], ["updated_at", "2015-10-13 15:43:53.041753"]]  (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", "2015-10-13 15:43:53.044610"], ["updated_at", "2015-10-13 15:43:53.044610"]]  (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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:43:53.061017"], ["updated_at", "2015-10-13 15:43:53.061017"]]  (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", "2015-10-13 15:43:53.064259"], ["updated_at", "2015-10-13 15:43:53.064259"]]  (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 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", "2015-10-13 15:43:53.072013"], ["updated_at", "2015-10-13 15:43:53.072013"]]  (0.0ms) 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", "2015-10-13 15:43:53.074203"], ["updated_at", "2015-10-13 15:43:53.074203"]]  (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", "2015-10-13 15:43:53.076538"], ["updated_at", "2015-10-13 15:43:53.076538"]]  (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 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", "2015-10-13 15:43:53.086041"], ["updated_at", "2015-10-13 15:43:53.086041"]]  (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", "2015-10-13 15:43:53.088350"], ["updated_at", "2015-10-13 15:43:53.088350"]]  (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", "2015-10-13 15:43:53.092731"], ["updated_at", "2015-10-13 15:43:53.092731"]]  (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 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", "2015-10-13 15:43:53.101882"], ["updated_at", "2015-10-13 15:43:53.101882"]]  (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", "2015-10-13 15:43:53.104399"], ["updated_at", "2015-10-13 15:43:53.104399"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.9ms) 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 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", "2015-10-13 15:46:24.538127"], ["updated_at", "2015-10-13 15:46:24.538127"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.8ms) 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", "2015-10-13 15:46:24.559404"], ["updated_at", "2015-10-13 15:46:24.559404"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.8ms) 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", "2015-10-13 15:46:24.573964"], ["updated_at", "2015-10-13 15:46:24.573964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:46:24.604836"], ["updated_at", "2015-10-13 15:46:24.604836"]] SQL (1.5ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:46:24.607726"], ["updated_at", "2015-10-13 15:46:24.607726"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "431TnKUbEUN3Ot9n0KVOGw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:46:24.628618"], ["updated_at", "2015-10-13 15:46:24.628618"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "431TnKUbEUN3Ot9n0KVOGw"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:46:24.674546"], ["updated_at", "2015-10-13 15:46:24.674546"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:46:24.677307"], ["updated_at", "2015-10-13 15:46:24.677307"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:46:24.681173"], ["updated_at", "2015-10-13 15:46:24.681173"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:46:24.682533"], ["updated_at", "2015-10-13 15:46:24.682533"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.5ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:46:24.692273"], ["updated_at", "2015-10-13 15:46:24.692273"]]  (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", "2015-10-13 15:46:24.695775"], ["updated_at", "2015-10-13 15:46:24.695775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:46:24.699173"], ["updated_at", "2015-10-13 15:46:24.699173"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:46:24.700592"], ["updated_at", "2015-10-13 15:46:24.700592"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-13 15:46:24.711169"], ["updated_at", "2015-10-13 15:46:24.711169"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:46:24.713813"], ["updated_at", "2015-10-13 15:46:24.713813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:46:24.717372"], ["updated_at", "2015-10-13 15:46:24.717372"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:46:24.718722"], ["updated_at", "2015-10-13 15:46:24.718722"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:46:24.729760"], ["updated_at", "2015-10-13 15:46:24.729760"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:46:24.732803"], ["updated_at", "2015-10-13 15:46:24.732803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:46:24.736243"], ["updated_at", "2015-10-13 15:46:24.736243"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:46:24.737571"], ["updated_at", "2015-10-13 15:46:24.737571"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:46:24.746227"], ["updated_at", "2015-10-13 15:46:24.746227"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:46:24.749025"], ["updated_at", "2015-10-13 15:46:24.749025"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:46:24.752351"], ["updated_at", "2015-10-13 15:46:24.752351"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:46:24.754163"], ["updated_at", "2015-10-13 15:46:24.754163"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1006 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:46:24.763853"], ["updated_at", "2015-10-13 15:46:24.763853"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:46:24.766509"], ["updated_at", "2015-10-13 15:46:24.766509"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:46:24.769811"], ["updated_at", "2015-10-13 15:46:24.769811"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:46:24.772609"], ["updated_at", "2015-10-13 15:46:24.772609"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:46:24.782465"], ["updated_at", "2015-10-13 15:46:24.782465"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:46:24.785242"], ["updated_at", "2015-10-13 15:46:24.785242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:46:24.789728"], ["updated_at", "2015-10-13 15:46:24.789728"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:46:24.791151"], ["updated_at", "2015-10-13 15:46:24.791151"]]  (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"."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"."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"."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.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", "2015-10-13 15:46:24.801332"], ["updated_at", "2015-10-13 15:46:24.801332"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:46:24.804078"], ["updated_at", "2015-10-13 15:46:24.804078"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:46:24.807267"], ["updated_at", "2015-10-13 15:46:24.807267"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:46:24.809077"], ["updated_at", "2015-10-13 15:46:24.809077"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.0ms) rollback transaction  (0.2ms) 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", "2015-10-13 15:46:24.820098"], ["updated_at", "2015-10-13 15:46:24.820098"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:46:24.822824"], ["updated_at", "2015-10-13 15:46:24.822824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:46:24.826348"], ["updated_at", "2015-10-13 15:46:24.826348"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:46:24.827929"], ["updated_at", "2015-10-13 15:46:24.827929"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (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", "2015-10-13 15:46:24.838618"], ["updated_at", "2015-10-13 15:46:24.838618"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:46:24.841266"], ["updated_at", "2015-10-13 15:46:24.841266"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:46:24.846218"], ["updated_at", "2015-10-13 15:46:24.846218"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:46:24.847804"], ["updated_at", "2015-10-13 15:46:24.847804"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "l2x1OUZ8ny307jFTKWnyNg"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:46:24.851088"], ["updated_at", "2015-10-13 15:46:24.851088"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "l2x1OUZ8ny307jFTKWnyNg"]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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", "2015-10-13 15:46:24.860605"], ["updated_at", "2015-10-13 15:46:24.860605"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:46:24.863714"], ["updated_at", "2015-10-13 15:46:24.863714"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:46:24.867432"], ["updated_at", "2015-10-13 15:46:24.867432"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:46:24.869005"], ["updated_at", "2015-10-13 15:46:24.869005"]]  (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"."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"."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"."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.9ms) 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", "2015-10-13 15:46:24.882440"], ["updated_at", "2015-10-13 15:46:24.882440"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:46:24.884960"], ["updated_at", "2015-10-13 15:46:24.884960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:46:24.888048"], ["updated_at", "2015-10-13 15:46:24.888048"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:46:24.890298"], ["updated_at", "2015-10-13 15:46:24.890298"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.2ms) 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", "2015-10-13 15:46:24.904283"], ["updated_at", "2015-10-13 15:46:24.904283"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:46:24.906918"], ["updated_at", "2015-10-13 15:46:24.906918"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:46:24.916592"], ["updated_at", "2015-10-13 15:46:24.916592"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:46:24.917983"], ["updated_at", "2015-10-13 15:46:24.917983"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:46:24.929025"], ["updated_at", "2015-10-13 15:46:24.929025"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:46:24.931671"], ["updated_at", "2015-10-13 15:46:24.931671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:46:24.935410"], ["updated_at", "2015-10-13 15:46:24.935410"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:46:24.938086"], ["updated_at", "2015-10-13 15:46:24.938086"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1018  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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", "2015-10-13 15:46:24.951312"], ["updated_at", "2015-10-13 15:46:24.951312"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:46:24.954064"], ["updated_at", "2015-10-13 15:46:24.954064"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:46:24.957645"], ["updated_at", "2015-10-13 15:46:24.957645"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:46:24.959162"], ["updated_at", "2015-10-13 15:46:24.959162"]]  (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"."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"."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"."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.2ms) 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", "2015-10-13 15:46:24.972368"], ["updated_at", "2015-10-13 15:46:24.972368"]]  (0.2ms) 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", "2015-10-13 15:46:24.977023"], ["updated_at", "2015-10-13 15:46:24.977023"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:46:24.980956"], ["updated_at", "2015-10-13 15:46:24.980956"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:46:24.982932"], ["updated_at", "2015-10-13 15:46:24.982932"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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", "2015-10-13 15:46:24.998211"], ["updated_at", "2015-10-13 15:46:24.998211"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1023], ["created_at", "2015-10-13 15:46:25.002317"], ["updated_at", "2015-10-13 15:46:25.002317"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:46:25.006801"], ["updated_at", "2015-10-13 15:46:25.006801"]]  (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", "2015-10-13 15:46:25.009244"], ["updated_at", "2015-10-13 15:46:25.009244"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:46:25.012264"], ["updated_at", "2015-10-13 15:46:25.012264"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:46:25.013947"], ["updated_at", "2015-10-13 15:46:25.013947"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1023 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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 SQL (1.0ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$74OURVK0p2A2VxXFh3PWSu0G8cL8fCYl9QLHPywGgj70zMS.cI/dy"], ["remember_token", "qx1J2u2nQkiem8hG59tHxA"], ["created_at", "2015-10-13 15:46:25.028071"], ["updated_at", "2015-10-13 15:46:25.028071"]]  (0.9ms) commit 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:46:25.033910"], ["updated_at", "2015-10-13 15:46:25.033910"]]  (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", "2015-10-13 15:46:25.036118"], ["updated_at", "2015-10-13 15:46:25.036118"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:46:25.040531"], ["updated_at", "2015-10-13 15:46:25.040531"]]  (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", "2015-10-13 15:46:25.048682"], ["updated_at", "2015-10-13 15:46:25.048682"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:46:25.051488"], ["updated_at", "2015-10-13 15:46:25.051488"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:46:25.066957"], ["updated_at", "2015-10-13 15:46:25.066957"]]  (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", "2015-10-13 15:46:25.069827"], ["updated_at", "2015-10-13 15:46:25.069827"]]  (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 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", "2015-10-13 15:46:25.076776"], ["updated_at", "2015-10-13 15:46:25.076776"]]  (0.0ms) 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", "2015-10-13 15:46:25.079072"], ["updated_at", "2015-10-13 15:46:25.079072"]]  (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", "2015-10-13 15:46:25.082793"], ["updated_at", "2015-10-13 15:46:25.082793"]]  (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", "2015-10-13 15:46:25.090283"], ["updated_at", "2015-10-13 15:46:25.090283"]]  (0.0ms) 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", "2015-10-13 15:46:25.092533"], ["updated_at", "2015-10-13 15:46:25.092533"]]  (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", "2015-10-13 15:46:25.094904"], ["updated_at", "2015-10-13 15:46:25.094904"]]  (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 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", "2015-10-13 15:46:25.102703"], ["updated_at", "2015-10-13 15:46:25.102703"]]  (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", "2015-10-13 15:46:25.105140"], ["updated_at", "2015-10-13 15:46:25.105140"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.5ms) 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", "2015-10-13 15:47:09.816541"], ["updated_at", "2015-10-13 15:47:09.816541"]]  (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", "2015-10-13 15:47:09.837074"], ["updated_at", "2015-10-13 15:47:09.837074"]]  (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", "2015-10-13 15:47:09.849108"], ["updated_at", "2015-10-13 15:47:09.849108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:09.879544"], ["updated_at", "2015-10-13 15:47:09.879544"]] SQL (1.5ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:09.882444"], ["updated_at", "2015-10-13 15:47:09.882444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "4gAXt3dMNIC3f7wW7yDDbw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:47:09.900894"], ["updated_at", "2015-10-13 15:47:09.900894"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "4gAXt3dMNIC3f7wW7yDDbw"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.3ms) 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"."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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:09.945311"], ["updated_at", "2015-10-13 15:47:09.945311"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:09.947987"], ["updated_at", "2015-10-13 15:47:09.947987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:47:09.953413"], ["updated_at", "2015-10-13 15:47:09.953413"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:09.956152"], ["updated_at", "2015-10-13 15:47:09.956152"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.2ms) 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", "2015-10-13 15:47:09.969575"], ["updated_at", "2015-10-13 15:47:09.969575"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:09.973215"], ["updated_at", "2015-10-13 15:47:09.973215"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:09.976693"], ["updated_at", "2015-10-13 15:47:09.976693"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:09.978021"], ["updated_at", "2015-10-13 15:47:09.978021"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-13 15:47:09.987810"], ["updated_at", "2015-10-13 15:47:09.987810"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:09.990370"], ["updated_at", "2015-10-13 15:47:09.990370"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:09.993433"], ["updated_at", "2015-10-13 15:47:09.993433"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:09.996297"], ["updated_at", "2015-10-13 15:47:09.996297"]]  (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.3ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:10.010501"], ["updated_at", "2015-10-13 15:47:10.010501"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:10.013104"], ["updated_at", "2015-10-13 15:47:10.013104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:10.016286"], ["updated_at", "2015-10-13 15:47:10.016286"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:10.018524"], ["updated_at", "2015-10-13 15:47:10.018524"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-13 15:47:10.027736"], ["updated_at", "2015-10-13 15:47:10.027736"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:10.030502"], ["updated_at", "2015-10-13 15:47:10.030502"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:10.033721"], ["updated_at", "2015-10-13 15:47:10.033721"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:10.036090"], ["updated_at", "2015-10-13 15:47:10.036090"]]  (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"."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"."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.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", "2015-10-13 15:47:10.048759"], ["updated_at", "2015-10-13 15:47:10.048759"]]  (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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:10.052775"], ["updated_at", "2015-10-13 15:47:10.052775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:10.058035"], ["updated_at", "2015-10-13 15:47:10.058035"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:10.059981"], ["updated_at", "2015-10-13 15:47:10.059981"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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", "2015-10-13 15:47:10.069676"], ["updated_at", "2015-10-13 15:47:10.069676"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:10.072870"], ["updated_at", "2015-10-13 15:47:10.072870"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:10.077025"], ["updated_at", "2015-10-13 15:47:10.077025"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:10.078771"], ["updated_at", "2015-10-13 15:47:10.078771"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.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", "2015-10-13 15:47:10.088946"], ["updated_at", "2015-10-13 15:47:10.088946"]]  (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", "2015-10-13 15:47:10.091786"], ["updated_at", "2015-10-13 15:47:10.091786"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:47:10.096230"], ["updated_at", "2015-10-13 15:47:10.096230"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:10.098709"], ["updated_at", "2015-10-13 15:47:10.098709"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.9ms) 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", "2015-10-13 15:47:10.108709"], ["updated_at", "2015-10-13 15:47:10.108709"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:10.111737"], ["updated_at", "2015-10-13 15:47:10.111737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:10.115177"], ["updated_at", "2015-10-13 15:47:10.115177"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:10.116586"], ["updated_at", "2015-10-13 15:47:10.116586"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (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", "2015-10-13 15:47:10.127971"], ["updated_at", "2015-10-13 15:47:10.127971"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:10.130568"], ["updated_at", "2015-10-13 15:47:10.130568"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:10.134744"], ["updated_at", "2015-10-13 15:47:10.134744"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:10.136585"], ["updated_at", "2015-10-13 15:47:10.136585"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "bPGBoBV1asycSi61vYA9ag"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:47:10.139473"], ["updated_at", "2015-10-13 15:47:10.139473"]]  (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", "bPGBoBV1asycSi61vYA9ag"]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (0.0ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:10.149009"], ["updated_at", "2015-10-13 15:47:10.149009"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:10.151565"], ["updated_at", "2015-10-13 15:47:10.151565"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:10.155256"], ["updated_at", "2015-10-13 15:47:10.155256"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:10.157265"], ["updated_at", "2015-10-13 15:47:10.157265"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"]]  (1.1ms) 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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:10.169335"], ["updated_at", "2015-10-13 15:47:10.169335"]]  (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", "2015-10-13 15:47:10.174181"], ["updated_at", "2015-10-13 15:47:10.174181"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:10.178679"], ["updated_at", "2015-10-13 15:47:10.178679"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:10.180438"], ["updated_at", "2015-10-13 15:47:10.180438"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-13 15:47:10.194776"], ["updated_at", "2015-10-13 15:47:10.194776"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:10.198292"], ["updated_at", "2015-10-13 15:47:10.198292"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:10.211392"], ["updated_at", "2015-10-13 15:47:10.211392"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:10.213034"], ["updated_at", "2015-10-13 15:47:10.213034"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1016  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:47:10.225242"], ["updated_at", "2015-10-13 15:47:10.225242"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:10.228138"], ["updated_at", "2015-10-13 15:47:10.228138"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:10.233399"], ["updated_at", "2015-10-13 15:47:10.233399"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:10.235150"], ["updated_at", "2015-10-13 15:47:10.235150"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:47:10.245897"], ["updated_at", "2015-10-13 15:47:10.245897"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:10.248508"], ["updated_at", "2015-10-13 15:47:10.248508"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:10.251776"], ["updated_at", "2015-10-13 15:47:10.251776"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:10.254594"], ["updated_at", "2015-10-13 15:47:10.254594"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1020  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:10.269937"], ["updated_at", "2015-10-13 15:47:10.269937"]]  (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", "2015-10-13 15:47:10.274209"], ["updated_at", "2015-10-13 15:47:10.274209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:10.277629"], ["updated_at", "2015-10-13 15:47:10.277629"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:10.278893"], ["updated_at", "2015-10-13 15:47:10.278893"]]  (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"."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"."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.4ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) 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", "2015-10-13 15:47:10.296217"], ["updated_at", "2015-10-13 15:47:10.296217"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1023], ["created_at", "2015-10-13 15:47:10.300368"], ["updated_at", "2015-10-13 15:47:10.300368"]]  (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", "2015-10-13 15:47:10.304312"], ["updated_at", "2015-10-13 15:47:10.304312"]]  (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", "2015-10-13 15:47:10.306716"], ["updated_at", "2015-10-13 15:47:10.306716"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:10.310824"], ["updated_at", "2015-10-13 15:47:10.310824"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:10.312196"], ["updated_at", "2015-10-13 15:47:10.312196"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1023 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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 SQL (1.0ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$vIXDYsBKnepKn3Sq2W/kqubS0AGnMCVuFPHYM0TWcGj/aszXDR2oq"], ["remember_token", "gV6ALu7CCNc4zqZyzOd8mg"], ["created_at", "2015-10-13 15:47:10.325872"], ["updated_at", "2015-10-13 15:47:10.325872"]]  (1.1ms) commit transaction  (0.1ms) begin transaction Processing by ArticlesController#index as HTML User Load (0.4ms) 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 Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.5ms)  (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", "2015-10-13 15:47:10.354003"], ["updated_at", "2015-10-13 15:47:10.354003"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:47:10.356777"], ["updated_at", "2015-10-13 15:47:10.356777"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:10.361530"], ["updated_at", "2015-10-13 15:47:10.361530"]]  (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 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", "2015-10-13 15:47:10.368980"], ["updated_at", "2015-10-13 15:47:10.368980"]]  (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", "2015-10-13 15:47:10.372497"], ["updated_at", "2015-10-13 15:47:10.372497"]]  (0.1ms) 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 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:47:10.380742"], ["updated_at", "2015-10-13 15:47:10.380742"]]  (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", "2015-10-13 15:47:10.383613"], ["updated_at", "2015-10-13 15:47:10.383613"]]  (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 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:10.391295"], ["updated_at", "2015-10-13 15:47:10.391295"]]  (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.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:47:10.395685"], ["updated_at", "2015-10-13 15:47:10.395685"]]  (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", "2015-10-13 15:47:10.399353"], ["updated_at", "2015-10-13 15:47:10.399353"]]  (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 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", "2015-10-13 15:47:10.406726"], ["updated_at", "2015-10-13 15:47:10.406726"]]  (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", "2015-10-13 15:47:10.408888"], ["updated_at", "2015-10-13 15:47:10.408888"]]  (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", "2015-10-13 15:47:10.411272"], ["updated_at", "2015-10-13 15:47:10.411272"]]  (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 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", "2015-10-13 15:47:10.418720"], ["updated_at", "2015-10-13 15:47:10.418720"]]  (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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:47:10.420950"], ["updated_at", "2015-10-13 15:47:10.420950"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) 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.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:27.332013"], ["updated_at", "2015-10-13 15:47:27.332013"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.2ms) 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", "2015-10-13 15:47:27.349989"], ["updated_at", "2015-10-13 15:47:27.349989"]]  (0.0ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:27.363998"], ["updated_at", "2015-10-13 15:47:27.363998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:27.393914"], ["updated_at", "2015-10-13 15:47:27.393914"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:27.395871"], ["updated_at", "2015-10-13 15:47:27.395871"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "UEgk6ez6yCcxbieChlaN0w"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:47:27.417394"], ["updated_at", "2015-10-13 15:47:27.417394"]]  (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", "UEgk6ez6yCcxbieChlaN0w"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (2.2ms) 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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.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", "2015-10-13 15:47:27.457356"], ["updated_at", "2015-10-13 15:47:27.457356"]]  (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 (1.0ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:27.462172"], ["updated_at", "2015-10-13 15:47:27.462172"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:47:27.473742"], ["updated_at", "2015-10-13 15:47:27.473742"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:27.476595"], ["updated_at", "2015-10-13 15:47:27.476595"]]  (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"."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"."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"]]  (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", "2015-10-13 15:47:27.490855"], ["updated_at", "2015-10-13 15:47:27.490855"]]  (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", "2015-10-13 15:47:27.494455"], ["updated_at", "2015-10-13 15:47:27.494455"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:27.500070"], ["updated_at", "2015-10-13 15:47:27.500070"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:27.502157"], ["updated_at", "2015-10-13 15:47:27.502157"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:27.514555"], ["updated_at", "2015-10-13 15:47:27.514555"]]  (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", "2015-10-13 15:47:27.519291"], ["updated_at", "2015-10-13 15:47:27.519291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:27.525885"], ["updated_at", "2015-10-13 15:47:27.525885"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:27.527397"], ["updated_at", "2015-10-13 15:47:27.527397"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1004  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-13 15:47:27.543652"], ["updated_at", "2015-10-13 15:47:27.543652"]]  (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", "2015-10-13 15:47:27.547526"], ["updated_at", "2015-10-13 15:47:27.547526"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:27.552168"], ["updated_at", "2015-10-13 15:47:27.552168"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:27.554615"], ["updated_at", "2015-10-13 15:47:27.554615"]]  (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 1 Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:47:27.568783"], ["updated_at", "2015-10-13 15:47:27.568783"]]  (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", "2015-10-13 15:47:27.574451"], ["updated_at", "2015-10-13 15:47:27.574451"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:27.578896"], ["updated_at", "2015-10-13 15:47:27.578896"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:27.580465"], ["updated_at", "2015-10-13 15:47:27.580465"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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"]]  (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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:27.592910"], ["updated_at", "2015-10-13 15:47:27.592910"]]  (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", "2015-10-13 15:47:27.597826"], ["updated_at", "2015-10-13 15:47:27.597826"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:27.603909"], ["updated_at", "2015-10-13 15:47:27.603909"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:27.606302"], ["updated_at", "2015-10-13 15:47:27.606302"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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", "2015-10-13 15:47:27.620060"], ["updated_at", "2015-10-13 15:47:27.620060"]]  (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.8ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:27.624125"], ["updated_at", "2015-10-13 15:47:27.624125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:27.630428"], ["updated_at", "2015-10-13 15:47:27.630428"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:27.633518"], ["updated_at", "2015-10-13 15:47:27.633518"]]  (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"."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"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:27.649061"], ["updated_at", "2015-10-13 15:47:27.649061"]]  (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", "2015-10-13 15:47:27.653391"], ["updated_at", "2015-10-13 15:47:27.653391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:47:27.660376"], ["updated_at", "2015-10-13 15:47:27.660376"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:27.662804"], ["updated_at", "2015-10-13 15:47:27.662804"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:47:27.676764"], ["updated_at", "2015-10-13 15:47:27.676764"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:27.679743"], ["updated_at", "2015-10-13 15:47:27.679743"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:27.685141"], ["updated_at", "2015-10-13 15:47:27.685141"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:27.687674"], ["updated_at", "2015-10-13 15:47:27.687674"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:47:27.704854"], ["updated_at", "2015-10-13 15:47:27.704854"]]  (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", "2015-10-13 15:47:27.708013"], ["updated_at", "2015-10-13 15:47:27.708013"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:27.712218"], ["updated_at", "2015-10-13 15:47:27.712218"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:27.713795"], ["updated_at", "2015-10-13 15:47:27.713795"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "il4AXagLVqLFINDXCH26HA"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:47:27.718221"], ["updated_at", "2015-10-13 15:47:27.718221"]]  (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", "il4AXagLVqLFINDXCH26HA"]]  (0.4ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:27.732403"], ["updated_at", "2015-10-13 15:47:27.732403"]]  (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", "2015-10-13 15:47:27.737981"], ["updated_at", "2015-10-13 15:47:27.737981"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:27.742598"], ["updated_at", "2015-10-13 15:47:27.742598"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:27.744371"], ["updated_at", "2015-10-13 15:47:27.744371"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1012  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.7ms) 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", "2015-10-13 15:47:27.758042"], ["updated_at", "2015-10-13 15:47:27.758042"]]  (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", "2015-10-13 15:47:27.762713"], ["updated_at", "2015-10-13 15:47:27.762713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:27.769683"], ["updated_at", "2015-10-13 15:47:27.769683"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:27.772272"], ["updated_at", "2015-10-13 15:47:27.772272"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:47:27.791049"], ["updated_at", "2015-10-13 15:47:27.791049"]]  (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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:27.794986"], ["updated_at", "2015-10-13 15:47:27.794986"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:27.808287"], ["updated_at", "2015-10-13 15:47:27.808287"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:27.809937"], ["updated_at", "2015-10-13 15:47:27.809937"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.3ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1016  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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 (3.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:47:27.834114"], ["updated_at", "2015-10-13 15:47:27.834114"]]  (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", "2015-10-13 15:47:27.840354"], ["updated_at", "2015-10-13 15:47:27.840354"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:27.847486"], ["updated_at", "2015-10-13 15:47:27.847486"]] SQL (0.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:27.850836"], ["updated_at", "2015-10-13 15:47:27.850836"]]  (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.3ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1018  (0.4ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) 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", "2015-10-13 15:47:27.875019"], ["updated_at", "2015-10-13 15:47:27.875019"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:27.880744"], ["updated_at", "2015-10-13 15:47:27.880744"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:27.888238"], ["updated_at", "2015-10-13 15:47:27.888238"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:27.890985"], ["updated_at", "2015-10-13 15:47:27.890985"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1020  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:27.909202"], ["updated_at", "2015-10-13 15:47:27.909202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.3ms) 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", "2015-10-13 15:47:27.915816"], ["updated_at", "2015-10-13 15:47:27.915816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:27.922627"], ["updated_at", "2015-10-13 15:47:27.922627"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:27.926816"], ["updated_at", "2015-10-13 15:47:27.926816"]]  (0.6ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1022  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:47:27.952858"], ["updated_at", "2015-10-13 15:47:27.952858"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1023], ["created_at", "2015-10-13 15:47:27.959868"], ["updated_at", "2015-10-13 15:47:27.959868"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:27.966102"], ["updated_at", "2015-10-13 15:47:27.966102"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:27.971794"], ["updated_at", "2015-10-13 15:47:27.971794"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:27.977763"], ["updated_at", "2015-10-13 15:47:27.977763"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:27.980208"], ["updated_at", "2015-10-13 15:47:27.980208"]]  (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"."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"."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"]]  (0.9ms) rollback transaction  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$a0b.eYaK1Q7OTJjHYPekYe38IXEOLOSurEPiEHbOTTimG.WsTwVnK"], ["remember_token", "fpoxcah_mi3PoC2s2ppHnw"], ["created_at", "2015-10-13 15:47:28.002709"], ["updated_at", "2015-10-13 15:47:28.002709"]]  (0.9ms) commit 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", "2015-10-13 15:47:28.009854"], ["updated_at", "2015-10-13 15:47:28.009854"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:47:28.014151"], ["updated_at", "2015-10-13 15:47:28.014151"]]  (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.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:28.020426"], ["updated_at", "2015-10-13 15:47:28.020426"]]  (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 1 [["name", "admin/articles"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:28.032036"], ["updated_at", "2015-10-13 15:47:28.032036"]]  (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", "2015-10-13 15:47:28.037324"], ["updated_at", "2015-10-13 15:47:28.037324"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (7.4ms) 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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:47:28.069646"], ["updated_at", "2015-10-13 15:47:28.069646"]]  (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.8ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:28.074881"], ["updated_at", "2015-10-13 15:47:28.074881"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.6ms) 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", "2015-10-13 15:47:28.088751"], ["updated_at", "2015-10-13 15:47:28.088751"]]  (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.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:47:28.092277"], ["updated_at", "2015-10-13 15:47:28.092277"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:28.097963"], ["updated_at", "2015-10-13 15:47:28.097963"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:28.120883"], ["updated_at", "2015-10-13 15:47:28.120883"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:47:28.127690"], ["updated_at", "2015-10-13 15:47:28.127690"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:28.132319"], ["updated_at", "2015-10-13 15:47:28.132319"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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 (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:28.143518"], ["updated_at", "2015-10-13 15:47:28.143518"]]  (0.2ms) 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.8ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:47:28.147294"], ["updated_at", "2015-10-13 15:47:28.147294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) 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.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", "2015-10-13 15:47:47.083177"], ["updated_at", "2015-10-13 15:47:47.083177"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.2ms) 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", "2015-10-13 15:47:47.101924"], ["updated_at", "2015-10-13 15:47:47.101924"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:47.119597"], ["updated_at", "2015-10-13 15:47:47.119597"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:47.148829"], ["updated_at", "2015-10-13 15:47:47.148829"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:47.150730"], ["updated_at", "2015-10-13 15:47:47.150730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "UTCXEbrsihbyE5HraOfkrA"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:47:47.172535"], ["updated_at", "2015-10-13 15:47:47.172535"]]  (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", "UTCXEbrsihbyE5HraOfkrA"]]  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (0.4ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:47:47.214317"], ["updated_at", "2015-10-13 15:47:47.214317"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:47.217006"], ["updated_at", "2015-10-13 15:47:47.217006"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:47:47.221753"], ["updated_at", "2015-10-13 15:47:47.221753"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:47.223917"], ["updated_at", "2015-10-13 15:47:47.223917"]]  (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"."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"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:47.236039"], ["updated_at", "2015-10-13 15:47:47.236039"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:47.238882"], ["updated_at", "2015-10-13 15:47:47.238882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:47.243119"], ["updated_at", "2015-10-13 15:47:47.243119"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:47.244612"], ["updated_at", "2015-10-13 15:47:47.244612"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:47:47.253742"], ["updated_at", "2015-10-13 15:47:47.253742"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:47.256449"], ["updated_at", "2015-10-13 15:47:47.256449"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:47.260535"], ["updated_at", "2015-10-13 15:47:47.260535"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:47.262409"], ["updated_at", "2015-10-13 15:47:47.262409"]]  (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"."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"."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"."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.2ms) 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", "2015-10-13 15:47:47.274022"], ["updated_at", "2015-10-13 15:47:47.274022"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:47.276631"], ["updated_at", "2015-10-13 15:47:47.276631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:47.281226"], ["updated_at", "2015-10-13 15:47:47.281226"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:47.282735"], ["updated_at", "2015-10-13 15:47:47.282735"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:47.291311"], ["updated_at", "2015-10-13 15:47:47.291311"]]  (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", "2015-10-13 15:47:47.294696"], ["updated_at", "2015-10-13 15:47:47.294696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:47.298658"], ["updated_at", "2015-10-13 15:47:47.298658"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:47.300059"], ["updated_at", "2015-10-13 15:47:47.300059"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1006 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:47:47.310078"], ["updated_at", "2015-10-13 15:47:47.310078"]]  (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", "2015-10-13 15:47:47.313769"], ["updated_at", "2015-10-13 15:47:47.313769"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:47.318217"], ["updated_at", "2015-10-13 15:47:47.318217"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:47.319678"], ["updated_at", "2015-10-13 15:47:47.319678"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) 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", "2015-10-13 15:47:47.330999"], ["updated_at", "2015-10-13 15:47:47.330999"]]  (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", "2015-10-13 15:47:47.336037"], ["updated_at", "2015-10-13 15:47:47.336037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:47.340690"], ["updated_at", "2015-10-13 15:47:47.340690"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:47.342749"], ["updated_at", "2015-10-13 15:47:47.342749"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:47.354514"], ["updated_at", "2015-10-13 15:47:47.354514"]]  (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", "2015-10-13 15:47:47.357183"], ["updated_at", "2015-10-13 15:47:47.357183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:47:47.360969"], ["updated_at", "2015-10-13 15:47:47.360969"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:47.362564"], ["updated_at", "2015-10-13 15:47:47.362564"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.9ms) 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", "2015-10-13 15:47:47.372788"], ["updated_at", "2015-10-13 15:47:47.372788"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:47.375725"], ["updated_at", "2015-10-13 15:47:47.375725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:47.379129"], ["updated_at", "2015-10-13 15:47:47.379129"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:47.380937"], ["updated_at", "2015-10-13 15:47:47.380937"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (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", "2015-10-13 15:47:47.391883"], ["updated_at", "2015-10-13 15:47:47.391883"]]  (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", "2015-10-13 15:47:47.395468"], ["updated_at", "2015-10-13 15:47:47.395468"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:47.399529"], ["updated_at", "2015-10-13 15:47:47.399529"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:47.401183"], ["updated_at", "2015-10-13 15:47:47.401183"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "L565uuNWNDmEQCl1qIn3yA"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:47:47.404000"], ["updated_at", "2015-10-13 15:47:47.404000"]]  (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", "L565uuNWNDmEQCl1qIn3yA"]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (1.0ms) 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", "2015-10-13 15:47:47.415722"], ["updated_at", "2015-10-13 15:47:47.415722"]]  (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", "2015-10-13 15:47:47.419840"], ["updated_at", "2015-10-13 15:47:47.419840"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:47.424184"], ["updated_at", "2015-10-13 15:47:47.424184"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:47.425732"], ["updated_at", "2015-10-13 15:47:47.425732"]]  (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 1 Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:47:47.436518"], ["updated_at", "2015-10-13 15:47:47.436518"]]  (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", "2015-10-13 15:47:47.439835"], ["updated_at", "2015-10-13 15:47:47.439835"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:47.444871"], ["updated_at", "2015-10-13 15:47:47.444871"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:47.446660"], ["updated_at", "2015-10-13 15:47:47.446660"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:47.461506"], ["updated_at", "2015-10-13 15:47:47.461506"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:47.464657"], ["updated_at", "2015-10-13 15:47:47.464657"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:47.476829"], ["updated_at", "2015-10-13 15:47:47.476829"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:47.479882"], ["updated_at", "2015-10-13 15:47:47.479882"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1016  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:47.494527"], ["updated_at", "2015-10-13 15:47:47.494527"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:47.497561"], ["updated_at", "2015-10-13 15:47:47.497561"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:47.501780"], ["updated_at", "2015-10-13 15:47:47.501780"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:47.503368"], ["updated_at", "2015-10-13 15:47:47.503368"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1018  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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", "2015-10-13 15:47:47.513774"], ["updated_at", "2015-10-13 15:47:47.513774"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:47.516500"], ["updated_at", "2015-10-13 15:47:47.516500"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:47.520534"], ["updated_at", "2015-10-13 15:47:47.520534"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:47.523327"], ["updated_at", "2015-10-13 15:47:47.523327"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1020  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:47:47.537462"], ["updated_at", "2015-10-13 15:47:47.537462"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:47.540525"], ["updated_at", "2015-10-13 15:47:47.540525"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:47.545161"], ["updated_at", "2015-10-13 15:47:47.545161"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:47.546619"], ["updated_at", "2015-10-13 15:47:47.546619"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1022  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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", "2015-10-13 15:47:47.564186"], ["updated_at", "2015-10-13 15:47:47.564186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1023], ["created_at", "2015-10-13 15:47:47.568462"], ["updated_at", "2015-10-13 15:47:47.568462"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:47.571766"], ["updated_at", "2015-10-13 15:47:47.571766"]]  (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", "2015-10-13 15:47:47.575124"], ["updated_at", "2015-10-13 15:47:47.575124"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:47.579088"], ["updated_at", "2015-10-13 15:47:47.579088"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:47.580924"], ["updated_at", "2015-10-13 15:47:47.580924"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1023 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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$RTgksejhA7fLaBPiGZjcNeEJt.Mlw78.6C.wG7RoNE2hThqMDW2oS"], ["remember_token", "sl73h1Ib7qrIBonN5g40yA"], ["created_at", "2015-10-13 15:47:47.598951"], ["updated_at", "2015-10-13 15:47:47.598951"]]  (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" IS NULL LIMIT 1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.2ms)  (0.5ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:47.615208"], ["updated_at", "2015-10-13 15:47:47.615208"]]  (0.0ms) 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", "2015-10-13 15:47:47.617309"], ["updated_at", "2015-10-13 15:47:47.617309"]]  (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", "2015-10-13 15:47:47.620108"], ["updated_at", "2015-10-13 15:47:47.620108"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:47.626590"], ["updated_at", "2015-10-13 15:47:47.626590"]]  (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", "2015-10-13 15:47:47.629511"], ["updated_at", "2015-10-13 15:47:47.629511"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.2ms) 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", "2015-10-13 15:47:47.642156"], ["updated_at", "2015-10-13 15:47:47.642156"]]  (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", "2015-10-13 15:47:47.646695"], ["updated_at", "2015-10-13 15:47:47.646695"]]  (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", "2015-10-13 15:47:47.655107"], ["updated_at", "2015-10-13 15:47:47.655107"]]  (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", "2015-10-13 15:47:47.657850"], ["updated_at", "2015-10-13 15:47:47.657850"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:47.660712"], ["updated_at", "2015-10-13 15:47:47.660712"]]  (0.3ms) 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 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", "2015-10-13 15:47:47.670964"], ["updated_at", "2015-10-13 15:47:47.670964"]]  (0.0ms) 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:47:47.673239"], ["updated_at", "2015-10-13 15:47:47.673239"]]  (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", "2015-10-13 15:47:47.675665"], ["updated_at", "2015-10-13 15:47:47.675665"]]  (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 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:47.683474"], ["updated_at", "2015-10-13 15:47:47.683474"]]  (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", "2015-10-13 15:47:47.685658"], ["updated_at", "2015-10-13 15:47:47.685658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:56.940496"], ["updated_at", "2015-10-13 15:47:56.940496"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:47:56.958791"], ["updated_at", "2015-10-13 15:47:56.958791"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:56.974385"], ["updated_at", "2015-10-13 15:47:56.974385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:57.004352"], ["updated_at", "2015-10-13 15:47:57.004352"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:57.006077"], ["updated_at", "2015-10-13 15:47:57.006077"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "mFDt3whGDnPid6rCxc76OQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:47:57.022876"], ["updated_at", "2015-10-13 15:47:57.022876"]]  (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", "mFDt3whGDnPid6rCxc76OQ"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) 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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:57.060459"], ["updated_at", "2015-10-13 15:47:57.060459"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:57.063405"], ["updated_at", "2015-10-13 15:47:57.063405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:47:57.067946"], ["updated_at", "2015-10-13 15:47:57.067946"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:57.070332"], ["updated_at", "2015-10-13 15:47:57.070332"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:57.082852"], ["updated_at", "2015-10-13 15:47:57.082852"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:57.085897"], ["updated_at", "2015-10-13 15:47:57.085897"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:57.089507"], ["updated_at", "2015-10-13 15:47:57.089507"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:57.090905"], ["updated_at", "2015-10-13 15:47:57.090905"]]  (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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.7ms) 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", "2015-10-13 15:47:57.100503"], ["updated_at", "2015-10-13 15:47:57.100503"]]  (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", "2015-10-13 15:47:57.103619"], ["updated_at", "2015-10-13 15:47:57.103619"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:57.107450"], ["updated_at", "2015-10-13 15:47:57.107450"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:57.108985"], ["updated_at", "2015-10-13 15:47:57.108985"]]  (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"."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"."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"."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.2ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) 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", "2015-10-13 15:47:57.121403"], ["updated_at", "2015-10-13 15:47:57.121403"]]  (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", "2015-10-13 15:47:57.126256"], ["updated_at", "2015-10-13 15:47:57.126256"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:57.132001"], ["updated_at", "2015-10-13 15:47:57.132001"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:57.134326"], ["updated_at", "2015-10-13 15:47:57.134326"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:57.145472"], ["updated_at", "2015-10-13 15:47:57.145472"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:57.148160"], ["updated_at", "2015-10-13 15:47:57.148160"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:57.152147"], ["updated_at", "2015-10-13 15:47:57.152147"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:57.153925"], ["updated_at", "2015-10-13 15:47:57.153925"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1006 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:57.164865"], ["updated_at", "2015-10-13 15:47:57.164865"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:57.167474"], ["updated_at", "2015-10-13 15:47:57.167474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:57.172366"], ["updated_at", "2015-10-13 15:47:57.172366"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:57.174691"], ["updated_at", "2015-10-13 15:47:57.174691"]]  (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"."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"."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"."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"]]  (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", "2015-10-13 15:47:57.187212"], ["updated_at", "2015-10-13 15:47:57.187212"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:57.190246"], ["updated_at", "2015-10-13 15:47:57.190246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:57.193318"], ["updated_at", "2015-10-13 15:47:57.193318"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:57.195699"], ["updated_at", "2015-10-13 15:47:57.195699"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:47:57.205826"], ["updated_at", "2015-10-13 15:47:57.205826"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:57.208896"], ["updated_at", "2015-10-13 15:47:57.208896"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:47:57.212730"], ["updated_at", "2015-10-13 15:47:57.212730"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:57.214276"], ["updated_at", "2015-10-13 15:47:57.214276"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.2ms) 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", "2015-10-13 15:47:57.225409"], ["updated_at", "2015-10-13 15:47:57.225409"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:57.228492"], ["updated_at", "2015-10-13 15:47:57.228492"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:57.233506"], ["updated_at", "2015-10-13 15:47:57.233506"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:57.235086"], ["updated_at", "2015-10-13 15:47:57.235086"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:47:57.245674"], ["updated_at", "2015-10-13 15:47:57.245674"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:57.249249"], ["updated_at", "2015-10-13 15:47:57.249249"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:57.254323"], ["updated_at", "2015-10-13 15:47:57.254323"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:57.256745"], ["updated_at", "2015-10-13 15:47:57.256745"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "BOOA7DJyDpsDrld7RAHRrw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:47:57.262134"], ["updated_at", "2015-10-13 15:47:57.262134"]]  (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", "BOOA7DJyDpsDrld7RAHRrw"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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", "2015-10-13 15:47:57.272821"], ["updated_at", "2015-10-13 15:47:57.272821"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:57.275863"], ["updated_at", "2015-10-13 15:47:57.275863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:57.279596"], ["updated_at", "2015-10-13 15:47:57.279596"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:57.281491"], ["updated_at", "2015-10-13 15:47:57.281491"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:47:57.291014"], ["updated_at", "2015-10-13 15:47:57.291014"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:57.294011"], ["updated_at", "2015-10-13 15:47:57.294011"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:57.299311"], ["updated_at", "2015-10-13 15:47:57.299311"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:57.300842"], ["updated_at", "2015-10-13 15:47:57.300842"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:47:57.315611"], ["updated_at", "2015-10-13 15:47:57.315611"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:57.318498"], ["updated_at", "2015-10-13 15:47:57.318498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:57.328885"], ["updated_at", "2015-10-13 15:47:57.328885"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:57.330514"], ["updated_at", "2015-10-13 15:47:57.330514"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1016  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:47:57.345939"], ["updated_at", "2015-10-13 15:47:57.345939"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:57.349290"], ["updated_at", "2015-10-13 15:47:57.349290"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:57.353452"], ["updated_at", "2015-10-13 15:47:57.353452"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:57.355818"], ["updated_at", "2015-10-13 15:47:57.355818"]]  (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"."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"."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"."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.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", "2015-10-13 15:47:57.367038"], ["updated_at", "2015-10-13 15:47:57.367038"]]  (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", "2015-10-13 15:47:57.370645"], ["updated_at", "2015-10-13 15:47:57.370645"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:57.375049"], ["updated_at", "2015-10-13 15:47:57.375049"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:57.376973"], ["updated_at", "2015-10-13 15:47:57.376973"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1020  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-13 15:47:57.388975"], ["updated_at", "2015-10-13 15:47:57.388975"]]  (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", "2015-10-13 15:47:57.391913"], ["updated_at", "2015-10-13 15:47:57.391913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:57.396398"], ["updated_at", "2015-10-13 15:47:57.396398"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:57.398277"], ["updated_at", "2015-10-13 15:47:57.398277"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.7ms) 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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:47:57.412705"], ["updated_at", "2015-10-13 15:47:57.412705"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1023], ["created_at", "2015-10-13 15:47:57.417381"], ["updated_at", "2015-10-13 15:47:57.417381"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:57.420935"], ["updated_at", "2015-10-13 15:47:57.420935"]]  (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", "2015-10-13 15:47:57.423656"], ["updated_at", "2015-10-13 15:47:57.423656"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:47:57.427369"], ["updated_at", "2015-10-13 15:47:57.427369"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:47:57.428727"], ["updated_at", "2015-10-13 15:47:57.428727"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1023 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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$Dgy2DyzYRaLqDbJyAPCWduJcnrRtKqctAC1gW6.em5Co6IboeFau2"], ["remember_token", "EgfoVK8f_4QOSRE5LHgVmA"], ["created_at", "2015-10-13 15:47:57.448348"], ["updated_at", "2015-10-13 15:47:57.448348"]]  (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 1 [["remember_token", "EgfoVK8f_4QOSRE5LHgVmA"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.7ms)  (0.4ms) 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", "2015-10-13 15:47:57.475702"], ["updated_at", "2015-10-13 15:47:57.475702"]]  (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", "2015-10-13 15:47:57.478364"], ["updated_at", "2015-10-13 15:47:57.478364"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:57.481608"], ["updated_at", "2015-10-13 15:47:57.481608"]]  (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", "2015-10-13 15:47:57.488773"], ["updated_at", "2015-10-13 15:47:57.488773"]]  (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", "2015-10-13 15:47:57.491820"], ["updated_at", "2015-10-13 15:47:57.491820"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:47:57.500952"], ["updated_at", "2015-10-13 15:47:57.500952"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:47:57.503582"], ["updated_at", "2015-10-13 15:47:57.503582"]]  (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 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:47:57.510573"], ["updated_at", "2015-10-13 15:47:57.510573"]]  (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", "2015-10-13 15:47:57.513021"], ["updated_at", "2015-10-13 15:47:57.513021"]]  (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", "2015-10-13 15:47:57.519040"], ["updated_at", "2015-10-13 15:47:57.519040"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.2ms) 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", "2015-10-13 15:47:57.526476"], ["updated_at", "2015-10-13 15:47:57.526476"]]  (0.0ms) 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", "2015-10-13 15:47:57.528695"], ["updated_at", "2015-10-13 15:47:57.528695"]]  (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", "2015-10-13 15:47:57.531497"], ["updated_at", "2015-10-13 15:47:57.531497"]]  (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 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", "2015-10-13 15:47:57.538731"], ["updated_at", "2015-10-13 15:47:57.538731"]]  (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", "2015-10-13 15:47:57.541113"], ["updated_at", "2015-10-13 15:47:57.541113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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 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 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", "2015-10-13 15:51:42.250345"], ["updated_at", "2015-10-13 15:51:42.250345"]]  (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", "2015-10-13 15:51:42.270654"], ["updated_at", "2015-10-13 15:51:42.270654"]]  (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", "2015-10-13 15:51:42.283813"], ["updated_at", "2015-10-13 15:51:42.283813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:42.316059"], ["updated_at", "2015-10-13 15:51:42.316059"]] SQL (1.7ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:42.319780"], ["updated_at", "2015-10-13 15:51:42.319780"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "pK1NJ3SuHhPKgrNXq_S7gw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:51:42.340568"], ["updated_at", "2015-10-13 15:51:42.340568"]]  (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", "pK1NJ3SuHhPKgrNXq_S7gw"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.2ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.3ms) 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"."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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:42.384412"], ["updated_at", "2015-10-13 15:51:42.384412"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:42.387274"], ["updated_at", "2015-10-13 15:51:42.387274"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:51:42.390798"], ["updated_at", "2015-10-13 15:51:42.390798"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:42.392107"], ["updated_at", "2015-10-13 15:51:42.392107"]]  (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"."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"."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"]]  (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", "2015-10-13 15:51:42.405738"], ["updated_at", "2015-10-13 15:51:42.405738"]]  (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", "2015-10-13 15:51:42.408857"], ["updated_at", "2015-10-13 15:51:42.408857"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:42.413395"], ["updated_at", "2015-10-13 15:51:42.413395"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:42.414860"], ["updated_at", "2015-10-13 15:51:42.414860"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:51:42.426543"], ["updated_at", "2015-10-13 15:51:42.426543"]]  (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", "2015-10-13 15:51:42.431037"], ["updated_at", "2015-10-13 15:51:42.431037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:42.435851"], ["updated_at", "2015-10-13 15:51:42.435851"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:42.437836"], ["updated_at", "2015-10-13 15:51:42.437836"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:51:42.449684"], ["updated_at", "2015-10-13 15:51:42.449684"]]  (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", "2015-10-13 15:51:42.452929"], ["updated_at", "2015-10-13 15:51:42.452929"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:42.456812"], ["updated_at", "2015-10-13 15:51:42.456812"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:42.458126"], ["updated_at", "2015-10-13 15:51:42.458126"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:42.467768"], ["updated_at", "2015-10-13 15:51:42.467768"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:42.470438"], ["updated_at", "2015-10-13 15:51:42.470438"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:42.473588"], ["updated_at", "2015-10-13 15:51:42.473588"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:42.476223"], ["updated_at", "2015-10-13 15:51:42.476223"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1006 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:51:42.486455"], ["updated_at", "2015-10-13 15:51:42.486455"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:42.489052"], ["updated_at", "2015-10-13 15:51:42.489052"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:42.492381"], ["updated_at", "2015-10-13 15:51:42.492381"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:42.495394"], ["updated_at", "2015-10-13 15:51:42.495394"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:51:42.506393"], ["updated_at", "2015-10-13 15:51:42.506393"]]  (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", "2015-10-13 15:51:42.509963"], ["updated_at", "2015-10-13 15:51:42.509963"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:42.514895"], ["updated_at", "2015-10-13 15:51:42.514895"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:42.516394"], ["updated_at", "2015-10-13 15:51:42.516394"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:42.527337"], ["updated_at", "2015-10-13 15:51:42.527337"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:42.530017"], ["updated_at", "2015-10-13 15:51:42.530017"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:51:42.534145"], ["updated_at", "2015-10-13 15:51:42.534145"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:42.535800"], ["updated_at", "2015-10-13 15:51:42.535800"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:42.546362"], ["updated_at", "2015-10-13 15:51:42.546362"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:42.549560"], ["updated_at", "2015-10-13 15:51:42.549560"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:42.553436"], ["updated_at", "2015-10-13 15:51:42.553436"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:42.554801"], ["updated_at", "2015-10-13 15:51:42.554801"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (1.2ms) 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", "2015-10-13 15:51:42.566767"], ["updated_at", "2015-10-13 15:51:42.566767"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:42.569496"], ["updated_at", "2015-10-13 15:51:42.569496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:42.574067"], ["updated_at", "2015-10-13 15:51:42.574067"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:42.575468"], ["updated_at", "2015-10-13 15:51:42.575468"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "oafPxhN1RHMCs9hgryAzmw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:51:42.578531"], ["updated_at", "2015-10-13 15:51:42.578531"]]  (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", "oafPxhN1RHMCs9hgryAzmw"]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:51:42.588765"], ["updated_at", "2015-10-13 15:51:42.588765"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:42.591793"], ["updated_at", "2015-10-13 15:51:42.591793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:42.595093"], ["updated_at", "2015-10-13 15:51:42.595093"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:42.596918"], ["updated_at", "2015-10-13 15:51:42.596918"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.9ms) 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", "2015-10-13 15:51:42.607308"], ["updated_at", "2015-10-13 15:51:42.607308"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:42.609871"], ["updated_at", "2015-10-13 15:51:42.609871"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:42.614321"], ["updated_at", "2015-10-13 15:51:42.614321"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:42.616019"], ["updated_at", "2015-10-13 15:51:42.616019"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:51:42.630627"], ["updated_at", "2015-10-13 15:51:42.630627"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:42.633604"], ["updated_at", "2015-10-13 15:51:42.633604"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:42.642859"], ["updated_at", "2015-10-13 15:51:42.642859"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:42.644220"], ["updated_at", "2015-10-13 15:51:42.644220"]]  (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.3ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1016  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-13 15:51:42.657785"], ["updated_at", "2015-10-13 15:51:42.657785"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:42.660499"], ["updated_at", "2015-10-13 15:51:42.660499"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:42.665460"], ["updated_at", "2015-10-13 15:51:42.665460"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:42.668134"], ["updated_at", "2015-10-13 15:51:42.668134"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1018  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) 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", "2015-10-13 15:51:42.681184"], ["updated_at", "2015-10-13 15:51:42.681184"]]  (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", "2015-10-13 15:51:42.684385"], ["updated_at", "2015-10-13 15:51:42.684385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:42.688759"], ["updated_at", "2015-10-13 15:51:42.688759"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:42.690283"], ["updated_at", "2015-10-13 15:51:42.690283"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:42.700645"], ["updated_at", "2015-10-13 15:51:42.700645"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:42.703265"], ["updated_at", "2015-10-13 15:51:42.703265"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:42.707387"], ["updated_at", "2015-10-13 15:51:42.707387"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:42.710089"], ["updated_at", "2015-10-13 15:51:42.710089"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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", "2015-10-13 15:51:42.725375"], ["updated_at", "2015-10-13 15:51:42.725375"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1023], ["created_at", "2015-10-13 15:51:42.729733"], ["updated_at", "2015-10-13 15:51:42.729733"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:42.734342"], ["updated_at", "2015-10-13 15:51:42.734342"]]  (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", "2015-10-13 15:51:42.736782"], ["updated_at", "2015-10-13 15:51:42.736782"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:42.739667"], ["updated_at", "2015-10-13 15:51:42.739667"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:42.740933"], ["updated_at", "2015-10-13 15:51:42.740933"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1023 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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  (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$K2oTx4Vu2XP8XNctqJIqL.e/CQgnwp.EXIHcUGr05uSyHOuxuR5U2"], ["remember_token", "gQ9MMLiuPVZxjGVjnjKvrg"], ["created_at", "2015-10-13 15:51:42.758816"], ["updated_at", "2015-10-13 15:51:42.758816"]]  (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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:42.763207"], ["updated_at", "2015-10-13 15:51:42.763207"]]  (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.1ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:51:42.766610"], ["updated_at", "2015-10-13 15:51:42.766610"]]  (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", "2015-10-13 15:51:42.769976"], ["updated_at", "2015-10-13 15:51:42.769976"]]  (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 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:42.776740"], ["updated_at", "2015-10-13 15:51:42.776740"]]  (0.0ms) 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", "2015-10-13 15:51:42.778811"], ["updated_at", "2015-10-13 15:51:42.778811"]]  (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", "2015-10-13 15:51:42.781430"], ["updated_at", "2015-10-13 15:51:42.781430"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:42.787896"], ["updated_at", "2015-10-13 15:51:42.787896"]]  (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", "2015-10-13 15:51:42.791048"], ["updated_at", "2015-10-13 15:51:42.791048"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:51:42.809454"], ["updated_at", "2015-10-13 15:51:42.809454"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:42.812495"], ["updated_at", "2015-10-13 15:51:42.812495"]]  (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", "2015-10-13 15:51:42.820941"], ["updated_at", "2015-10-13 15:51:42.820941"]]  (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", "2015-10-13 15:51:42.823342"], ["updated_at", "2015-10-13 15:51:42.823342"]]  (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", "2015-10-13 15:51:42.825985"], ["updated_at", "2015-10-13 15:51:42.825985"]]  (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 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", "2015-10-13 15:51:42.837137"], ["updated_at", "2015-10-13 15:51:42.837137"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:51:42.840925"], ["updated_at", "2015-10-13 15:51:42.840925"]]  (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", "2015-10-13 15:51:42.845045"], ["updated_at", "2015-10-13 15:51:42.845045"]]  (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 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", "2015-10-13 15:51:42.851988"], ["updated_at", "2015-10-13 15:51:42.851988"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:51:42.854717"], ["updated_at", "2015-10-13 15:51:42.854717"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) 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.3ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:53.814702"], ["updated_at", "2015-10-13 15:51:53.814702"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:51:53.834886"], ["updated_at", "2015-10-13 15:51:53.834886"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:53.847131"], ["updated_at", "2015-10-13 15:51:53.847131"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:53.874412"], ["updated_at", "2015-10-13 15:51:53.874412"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:53.877596"], ["updated_at", "2015-10-13 15:51:53.877596"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "sShRsQHRlqWyz8k4xc-hvg"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:51:53.899841"], ["updated_at", "2015-10-13 15:51:53.899841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "sShRsQHRlqWyz8k4xc-hvg"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.2ms) 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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:53.935893"], ["updated_at", "2015-10-13 15:51:53.935893"]]  (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.8ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:53.939156"], ["updated_at", "2015-10-13 15:51:53.939156"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:51:53.946551"], ["updated_at", "2015-10-13 15:51:53.946551"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:53.949490"], ["updated_at", "2015-10-13 15:51:53.949490"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.6ms) 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"."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"."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", "2015-10-13 15:51:53.962730"], ["updated_at", "2015-10-13 15:51:53.962730"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:53.966351"], ["updated_at", "2015-10-13 15:51:53.966351"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:53.970598"], ["updated_at", "2015-10-13 15:51:53.970598"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:53.972166"], ["updated_at", "2015-10-13 15:51:53.972166"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) 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", "2015-10-13 15:51:53.982458"], ["updated_at", "2015-10-13 15:51:53.982458"]]  (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", "2015-10-13 15:51:53.985999"], ["updated_at", "2015-10-13 15:51:53.985999"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:53.990056"], ["updated_at", "2015-10-13 15:51:53.990056"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:53.991685"], ["updated_at", "2015-10-13 15:51:53.991685"]]  (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"."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"."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"."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", "2015-10-13 15:51:54.002213"], ["updated_at", "2015-10-13 15:51:54.002213"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:54.005234"], ["updated_at", "2015-10-13 15:51:54.005234"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:54.009138"], ["updated_at", "2015-10-13 15:51:54.009138"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:54.010723"], ["updated_at", "2015-10-13 15:51:54.010723"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.2ms) 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", "2015-10-13 15:51:54.022965"], ["updated_at", "2015-10-13 15:51:54.022965"]]  (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", "2015-10-13 15:51:54.026738"], ["updated_at", "2015-10-13 15:51:54.026738"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:54.031690"], ["updated_at", "2015-10-13 15:51:54.031690"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:54.033480"], ["updated_at", "2015-10-13 15:51:54.033480"]]  (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"."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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:54.044433"], ["updated_at", "2015-10-13 15:51:54.044433"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:54.047043"], ["updated_at", "2015-10-13 15:51:54.047043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:54.050198"], ["updated_at", "2015-10-13 15:51:54.050198"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:54.052992"], ["updated_at", "2015-10-13 15:51:54.052992"]]  (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"."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"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (1.2ms) 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", "2015-10-13 15:51:54.064911"], ["updated_at", "2015-10-13 15:51:54.064911"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:54.067539"], ["updated_at", "2015-10-13 15:51:54.067539"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:54.073002"], ["updated_at", "2015-10-13 15:51:54.073002"]] SQL (0.5ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:54.074849"], ["updated_at", "2015-10-13 15:51:54.074849"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:51:54.087727"], ["updated_at", "2015-10-13 15:51:54.087727"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:54.090625"], ["updated_at", "2015-10-13 15:51:54.090625"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:51:54.095039"], ["updated_at", "2015-10-13 15:51:54.095039"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:54.096477"], ["updated_at", "2015-10-13 15:51:54.096477"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"]]  (1.2ms) 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", "2015-10-13 15:51:54.107955"], ["updated_at", "2015-10-13 15:51:54.107955"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:54.111264"], ["updated_at", "2015-10-13 15:51:54.111264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:54.114964"], ["updated_at", "2015-10-13 15:51:54.114964"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:54.116886"], ["updated_at", "2015-10-13 15:51:54.116886"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:54.128197"], ["updated_at", "2015-10-13 15:51:54.128197"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:54.130737"], ["updated_at", "2015-10-13 15:51:54.130737"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:54.135169"], ["updated_at", "2015-10-13 15:51:54.135169"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:54.136622"], ["updated_at", "2015-10-13 15:51:54.136622"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "JHnDaIIqjbEVMsxTdGSYcg"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:51:54.139607"], ["updated_at", "2015-10-13 15:51:54.139607"]]  (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", "JHnDaIIqjbEVMsxTdGSYcg"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:54.150137"], ["updated_at", "2015-10-13 15:51:54.150137"]]  (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", "2015-10-13 15:51:54.154569"], ["updated_at", "2015-10-13 15:51:54.154569"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:54.161259"], ["updated_at", "2015-10-13 15:51:54.161259"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:54.163352"], ["updated_at", "2015-10-13 15:51:54.163352"]]  (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.4ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.5ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:54.180761"], ["updated_at", "2015-10-13 15:51:54.180761"]]  (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", "2015-10-13 15:51:54.185488"], ["updated_at", "2015-10-13 15:51:54.185488"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:54.191218"], ["updated_at", "2015-10-13 15:51:54.191218"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:54.193032"], ["updated_at", "2015-10-13 15:51:54.193032"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:54.211381"], ["updated_at", "2015-10-13 15:51:54.211381"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:54.216089"], ["updated_at", "2015-10-13 15:51:54.216089"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:54.233013"], ["updated_at", "2015-10-13 15:51:54.233013"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:54.235240"], ["updated_at", "2015-10-13 15:51:54.235240"]]  (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 1 Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1016  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:54.258017"], ["updated_at", "2015-10-13 15:51:54.258017"]]  (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", "2015-10-13 15:51:54.263256"], ["updated_at", "2015-10-13 15:51:54.263256"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:54.269081"], ["updated_at", "2015-10-13 15:51:54.269081"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:54.271643"], ["updated_at", "2015-10-13 15:51:54.271643"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.5ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1018  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:54.285644"], ["updated_at", "2015-10-13 15:51:54.285644"]]  (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", "2015-10-13 15:51:54.291097"], ["updated_at", "2015-10-13 15:51:54.291097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:54.297325"], ["updated_at", "2015-10-13 15:51:54.297325"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:54.299432"], ["updated_at", "2015-10-13 15:51:54.299432"]]  (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"."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"."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"."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"]]  (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", "2015-10-13 15:51:54.313220"], ["updated_at", "2015-10-13 15:51:54.313220"]]  (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 (1.9ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:54.316761"], ["updated_at", "2015-10-13 15:51:54.316761"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:54.325637"], ["updated_at", "2015-10-13 15:51:54.325637"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:54.328110"], ["updated_at", "2015-10-13 15:51:54.328110"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:51:54.350327"], ["updated_at", "2015-10-13 15:51:54.350327"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1023], ["created_at", "2015-10-13 15:51:54.356462"], ["updated_at", "2015-10-13 15:51:54.356462"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:54.360596"], ["updated_at", "2015-10-13 15:51:54.360596"]]  (0.2ms) 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", "2015-10-13 15:51:54.364758"], ["updated_at", "2015-10-13 15:51:54.364758"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:51:54.371814"], ["updated_at", "2015-10-13 15:51:54.371814"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:54.374790"], ["updated_at", "2015-10-13 15:51:54.374790"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1023 Adeia::Permission Load (0.7ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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  (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$o/YtbkirzDSawLVQoreM4.BffDK0LHvRyfGD/AEMpYKK4vWUKXC1u"], ["remember_token", "aDpn8Zy-j_kFkKPG8nJqIA"], ["created_at", "2015-10-13 15:51:54.400329"], ["updated_at", "2015-10-13 15:51:54.400329"]]  (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", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:54.406813"], ["updated_at", "2015-10-13 15:51:54.406813"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:54.411048"], ["updated_at", "2015-10-13 15:51:54.411048"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "t"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:51:54.415959"], ["updated_at", "2015-10-13 15:51:54.415959"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:51:54.418265"], ["updated_at", "2015-10-13 15:51:54.418265"]]  (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 1 [["remember_token", "aDpn8Zy-j_kFkKPG8nJqIA"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.6ms)  (1.1ms) 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", "2015-10-13 15:51:54.444401"], ["updated_at", "2015-10-13 15:51:54.444401"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:51:54.448060"], ["updated_at", "2015-10-13 15:51:54.448060"]]  (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", "2015-10-13 15:51:54.452023"], ["updated_at", "2015-10-13 15:51:54.452023"]]  (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 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", "2015-10-13 15:51:54.459906"], ["updated_at", "2015-10-13 15:51:54.459906"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:54.462590"], ["updated_at", "2015-10-13 15:51:54.462590"]]  (0.1ms) 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 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", "2015-10-13 15:51:54.473449"], ["updated_at", "2015-10-13 15:51:54.473449"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:54.478780"], ["updated_at", "2015-10-13 15:51:54.478780"]]  (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 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:54.487857"], ["updated_at", "2015-10-13 15:51:54.487857"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:51:54.490228"], ["updated_at", "2015-10-13 15:51:54.490228"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:51:54.493503"], ["updated_at", "2015-10-13 15:51:54.493503"]]  (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 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:54.504218"], ["updated_at", "2015-10-13 15:51:54.504218"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:51:54.507707"], ["updated_at", "2015-10-13 15:51:54.507707"]]  (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", "2015-10-13 15:51:54.510945"], ["updated_at", "2015-10-13 15:51:54.510945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.4ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:51:54.518748"], ["updated_at", "2015-10-13 15:51:54.518748"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:51:54.522695"], ["updated_at", "2015-10-13 15:51:54.522695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) 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.3ms) 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", "2015-10-13 15:52:22.079963"], ["updated_at", "2015-10-13 15:52:22.079963"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.2ms) 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", "2015-10-13 15:52:22.101497"], ["updated_at", "2015-10-13 15:52:22.101497"]]  (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", "2015-10-13 15:52:22.113247"], ["updated_at", "2015-10-13 15:52:22.113247"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:22.142885"], ["updated_at", "2015-10-13 15:52:22.142885"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:22.144594"], ["updated_at", "2015-10-13 15:52:22.144594"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "7cpmBdX47IdWG55knONdNg"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:52:22.161980"], ["updated_at", "2015-10-13 15:52:22.161980"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "7cpmBdX47IdWG55knONdNg"]]  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.2ms) 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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:52:22.193731"], ["updated_at", "2015-10-13 15:52:22.193731"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:22.196348"], ["updated_at", "2015-10-13 15:52:22.196348"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:52:22.199937"], ["updated_at", "2015-10-13 15:52:22.199937"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:22.201363"], ["updated_at", "2015-10-13 15:52:22.201363"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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", "2015-10-13 15:52:22.212635"], ["updated_at", "2015-10-13 15:52:22.212635"]]  (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", "2015-10-13 15:52:22.215630"], ["updated_at", "2015-10-13 15:52:22.215630"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:22.219896"], ["updated_at", "2015-10-13 15:52:22.219896"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:22.221679"], ["updated_at", "2015-10-13 15:52:22.221679"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.0ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:52:22.232902"], ["updated_at", "2015-10-13 15:52:22.232902"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:22.235438"], ["updated_at", "2015-10-13 15:52:22.235438"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:22.239819"], ["updated_at", "2015-10-13 15:52:22.239819"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:22.241281"], ["updated_at", "2015-10-13 15:52:22.241281"]]  (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"."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"."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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:52:22.251502"], ["updated_at", "2015-10-13 15:52:22.251502"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:22.254218"], ["updated_at", "2015-10-13 15:52:22.254218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:22.257738"], ["updated_at", "2015-10-13 15:52:22.257738"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:22.259876"], ["updated_at", "2015-10-13 15:52:22.259876"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:52:22.269657"], ["updated_at", "2015-10-13 15:52:22.269657"]]  (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", "2015-10-13 15:52:22.273146"], ["updated_at", "2015-10-13 15:52:22.273146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:22.277437"], ["updated_at", "2015-10-13 15:52:22.277437"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:22.279065"], ["updated_at", "2015-10-13 15:52:22.279065"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1006 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 15:52:22.288184"], ["updated_at", "2015-10-13 15:52:22.288184"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:22.291007"], ["updated_at", "2015-10-13 15:52:22.291007"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:22.294231"], ["updated_at", "2015-10-13 15:52:22.294231"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:22.297370"], ["updated_at", "2015-10-13 15:52:22.297370"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1007  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:52:22.308412"], ["updated_at", "2015-10-13 15:52:22.308412"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:22.310977"], ["updated_at", "2015-10-13 15:52:22.310977"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:22.315979"], ["updated_at", "2015-10-13 15:52:22.315979"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:22.317316"], ["updated_at", "2015-10-13 15:52:22.317316"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:52:22.327801"], ["updated_at", "2015-10-13 15:52:22.327801"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:22.330654"], ["updated_at", "2015-10-13 15:52:22.330654"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:52:22.334559"], ["updated_at", "2015-10-13 15:52:22.334559"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:22.336029"], ["updated_at", "2015-10-13 15:52:22.336029"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.9ms) 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", "2015-10-13 15:52:22.345997"], ["updated_at", "2015-10-13 15:52:22.345997"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:22.348736"], ["updated_at", "2015-10-13 15:52:22.348736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:22.352349"], ["updated_at", "2015-10-13 15:52:22.352349"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:22.354166"], ["updated_at", "2015-10-13 15:52:22.354166"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (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", "2015-10-13 15:52:22.367103"], ["updated_at", "2015-10-13 15:52:22.367103"]]  (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", "2015-10-13 15:52:22.370892"], ["updated_at", "2015-10-13 15:52:22.370892"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:22.375868"], ["updated_at", "2015-10-13 15:52:22.375868"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:22.377318"], ["updated_at", "2015-10-13 15:52:22.377318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "arJahrxN4j1PENRCJJeVKA"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:52:22.380030"], ["updated_at", "2015-10-13 15:52:22.380030"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "arJahrxN4j1PENRCJJeVKA"]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (0.0ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (1.2ms) 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", "2015-10-13 15:52:22.389478"], ["updated_at", "2015-10-13 15:52:22.389478"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:22.392237"], ["updated_at", "2015-10-13 15:52:22.392237"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:22.395919"], ["updated_at", "2015-10-13 15:52:22.395919"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:22.397467"], ["updated_at", "2015-10-13 15:52:22.397467"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:52:22.407028"], ["updated_at", "2015-10-13 15:52:22.407028"]]  (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", "2015-10-13 15:52:22.410398"], ["updated_at", "2015-10-13 15:52:22.410398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:22.413968"], ["updated_at", "2015-10-13 15:52:22.413968"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:22.415435"], ["updated_at", "2015-10-13 15:52:22.415435"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:52:22.429898"], ["updated_at", "2015-10-13 15:52:22.429898"]]  (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", "2015-10-13 15:52:22.432771"], ["updated_at", "2015-10-13 15:52:22.432771"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:22.442313"], ["updated_at", "2015-10-13 15:52:22.442313"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:22.443805"], ["updated_at", "2015-10-13 15:52:22.443805"]]  (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"."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"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) 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", "2015-10-13 15:52:22.455271"], ["updated_at", "2015-10-13 15:52:22.455271"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:22.457986"], ["updated_at", "2015-10-13 15:52:22.457986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:22.461692"], ["updated_at", "2015-10-13 15:52:22.461692"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:22.463705"], ["updated_at", "2015-10-13 15:52:22.463705"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) 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", "2015-10-13 15:52:22.476744"], ["updated_at", "2015-10-13 15:52:22.476744"]]  (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", "2015-10-13 15:52:22.480612"], ["updated_at", "2015-10-13 15:52:22.480612"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:22.485077"], ["updated_at", "2015-10-13 15:52:22.485077"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:22.486823"], ["updated_at", "2015-10-13 15:52:22.486823"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:52:22.497906"], ["updated_at", "2015-10-13 15:52:22.497906"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:22.500469"], ["updated_at", "2015-10-13 15:52:22.500469"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:22.504160"], ["updated_at", "2015-10-13 15:52:22.504160"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:22.507097"], ["updated_at", "2015-10-13 15:52:22.507097"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1022  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:52:22.521019"], ["updated_at", "2015-10-13 15:52:22.521019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1023], ["created_at", "2015-10-13 15:52:22.525868"], ["updated_at", "2015-10-13 15:52:22.525868"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:52:22.529173"], ["updated_at", "2015-10-13 15:52:22.529173"]]  (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", "2015-10-13 15:52:22.531485"], ["updated_at", "2015-10-13 15:52:22.531485"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:22.534803"], ["updated_at", "2015-10-13 15:52:22.534803"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:22.536051"], ["updated_at", "2015-10-13 15:52:22.536051"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.3ms) 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"."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"."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.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$2sD1GEzqL9Id95DnB91Dj.OL9BdNTPedJjQLLBC19j.HLEENXGcoO"], ["remember_token", "2U8p5efuniRjoIb4128abg"], ["created_at", "2015-10-13 15:52:22.557585"], ["updated_at", "2015-10-13 15:52:22.557585"]]  (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", "2015-10-13 15:52:22.561897"], ["updated_at", "2015-10-13 15:52:22.561897"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:22.564454"], ["updated_at", "2015-10-13 15:52:22.564454"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "t"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:52:22.568667"], ["updated_at", "2015-10-13 15:52:22.568667"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:22.570119"], ["updated_at", "2015-10-13 15:52:22.570119"]]  (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 1 [["remember_token", "2U8p5efuniRjoIb4128abg"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 19ms (Views: 12.9ms | ActiveRecord: 0.8ms)  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:52:22.598303"], ["updated_at", "2015-10-13 15:52:22.598303"]]  (0.0ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:52:22.600419"], ["updated_at", "2015-10-13 15:52:22.600419"]]  (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", "2015-10-13 15:52:22.603152"], ["updated_at", "2015-10-13 15:52:22.603152"]]  (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 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", "2015-10-13 15:52:22.610020"], ["updated_at", "2015-10-13 15:52:22.610020"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:22.612643"], ["updated_at", "2015-10-13 15:52:22.612643"]]  (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", "2015-10-13 15:52:22.630929"], ["updated_at", "2015-10-13 15:52:22.630929"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:22.634387"], ["updated_at", "2015-10-13 15:52:22.634387"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "2015-10-13 15:52:22.642062"], ["updated_at", "2015-10-13 15:52:22.642062"]]  (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", "2015-10-13 15:52:22.644990"], ["updated_at", "2015-10-13 15:52:22.644990"]]  (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", "2015-10-13 15:52:22.647699"], ["updated_at", "2015-10-13 15:52:22.647699"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:52:22.654919"], ["updated_at", "2015-10-13 15:52:22.654919"]]  (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", "2015-10-13 15:52:22.657195"], ["updated_at", "2015-10-13 15:52:22.657195"]]  (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", "2015-10-13 15:52:22.659771"], ["updated_at", "2015-10-13 15:52:22.659771"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:52:22.666867"], ["updated_at", "2015-10-13 15:52:22.666867"]]  (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", "2015-10-13 15:52:22.669438"], ["updated_at", "2015-10-13 15:52:22.669438"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.3ms) 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.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:52:49.130917"], ["updated_at", "2015-10-13 15:52:49.130917"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.2ms) 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", "2015-10-13 15:52:49.152694"], ["updated_at", "2015-10-13 15:52:49.152694"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:49.164919"], ["updated_at", "2015-10-13 15:52:49.164919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:49.192857"], ["updated_at", "2015-10-13 15:52:49.192857"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:49.194766"], ["updated_at", "2015-10-13 15:52:49.194766"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "E_qQrP0HB4pdwWRRTyReXw"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:52:49.212329"], ["updated_at", "2015-10-13 15:52:49.212329"]]  (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", "E_qQrP0HB4pdwWRRTyReXw"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) 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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:52:49.244682"], ["updated_at", "2015-10-13 15:52:49.244682"]]  (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", "2015-10-13 15:52:49.249192"], ["updated_at", "2015-10-13 15:52:49.249192"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:52:49.254710"], ["updated_at", "2015-10-13 15:52:49.254710"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:49.256381"], ["updated_at", "2015-10-13 15:52:49.256381"]]  (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"."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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:52:49.267421"], ["updated_at", "2015-10-13 15:52:49.267421"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:49.270130"], ["updated_at", "2015-10-13 15:52:49.270130"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:49.275535"], ["updated_at", "2015-10-13 15:52:49.275535"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:49.277022"], ["updated_at", "2015-10-13 15:52:49.277022"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:52:49.287442"], ["updated_at", "2015-10-13 15:52:49.287442"]]  (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", "2015-10-13 15:52:49.290400"], ["updated_at", "2015-10-13 15:52:49.290400"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:49.294409"], ["updated_at", "2015-10-13 15:52:49.294409"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:49.295957"], ["updated_at", "2015-10-13 15:52:49.295957"]]  (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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.9ms) 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", "2015-10-13 15:52:49.305998"], ["updated_at", "2015-10-13 15:52:49.305998"]]  (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", "2015-10-13 15:52:49.309611"], ["updated_at", "2015-10-13 15:52:49.309611"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:49.313716"], ["updated_at", "2015-10-13 15:52:49.313716"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:49.315244"], ["updated_at", "2015-10-13 15:52:49.315244"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:52:49.324950"], ["updated_at", "2015-10-13 15:52:49.324950"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:49.327718"], ["updated_at", "2015-10-13 15:52:49.327718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:49.331457"], ["updated_at", "2015-10-13 15:52:49.331457"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:49.333203"], ["updated_at", "2015-10-13 15:52:49.333203"]]  (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"."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"."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.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", "2015-10-13 15:52:49.343326"], ["updated_at", "2015-10-13 15:52:49.343326"]]  (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", "2015-10-13 15:52:49.346653"], ["updated_at", "2015-10-13 15:52:49.346653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:49.349861"], ["updated_at", "2015-10-13 15:52:49.349861"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:49.351345"], ["updated_at", "2015-10-13 15:52:49.351345"]]  (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 1 Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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"."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.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", "2015-10-13 15:52:49.364002"], ["updated_at", "2015-10-13 15:52:49.364002"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:49.366844"], ["updated_at", "2015-10-13 15:52:49.366844"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:49.371181"], ["updated_at", "2015-10-13 15:52:49.371181"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:49.373187"], ["updated_at", "2015-10-13 15:52:49.373187"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1008  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.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", "2015-10-13 15:52:49.384122"], ["updated_at", "2015-10-13 15:52:49.384122"]]  (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", "2015-10-13 15:52:49.388227"], ["updated_at", "2015-10-13 15:52:49.388227"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:52:49.392388"], ["updated_at", "2015-10-13 15:52:49.392388"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:49.394170"], ["updated_at", "2015-10-13 15:52:49.394170"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:52:49.404306"], ["updated_at", "2015-10-13 15:52:49.404306"]]  (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", "2015-10-13 15:52:49.407872"], ["updated_at", "2015-10-13 15:52:49.407872"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:49.412328"], ["updated_at", "2015-10-13 15:52:49.412328"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:49.414127"], ["updated_at", "2015-10-13 15:52:49.414127"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (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", "2015-10-13 15:52:49.426340"], ["updated_at", "2015-10-13 15:52:49.426340"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:49.429618"], ["updated_at", "2015-10-13 15:52:49.429618"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:49.436143"], ["updated_at", "2015-10-13 15:52:49.436143"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:49.437921"], ["updated_at", "2015-10-13 15:52:49.437921"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "57kG3RaSsHKe77TEYoLoGQ"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 15:52:49.441884"], ["updated_at", "2015-10-13 15:52:49.441884"]]  (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", "57kG3RaSsHKe77TEYoLoGQ"]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:52:49.453171"], ["updated_at", "2015-10-13 15:52:49.453171"]]  (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", "2015-10-13 15:52:49.457528"], ["updated_at", "2015-10-13 15:52:49.457528"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:49.461852"], ["updated_at", "2015-10-13 15:52:49.461852"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:49.463411"], ["updated_at", "2015-10-13 15:52:49.463411"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.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", "2015-10-13 15:52:49.474177"], ["updated_at", "2015-10-13 15:52:49.474177"]]  (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", "2015-10-13 15:52:49.477216"], ["updated_at", "2015-10-13 15:52:49.477216"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:49.481097"], ["updated_at", "2015-10-13 15:52:49.481097"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:49.482790"], ["updated_at", "2015-10-13 15:52:49.482790"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:52:49.497369"], ["updated_at", "2015-10-13 15:52:49.497369"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:49.500416"], ["updated_at", "2015-10-13 15:52:49.500416"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:49.510528"], ["updated_at", "2015-10-13 15:52:49.510528"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:49.512233"], ["updated_at", "2015-10-13 15:52:49.512233"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1016  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:52:49.524395"], ["updated_at", "2015-10-13 15:52:49.524395"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:49.527659"], ["updated_at", "2015-10-13 15:52:49.527659"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:49.531719"], ["updated_at", "2015-10-13 15:52:49.531719"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:49.533221"], ["updated_at", "2015-10-13 15:52:49.533221"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1018  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:52:49.544367"], ["updated_at", "2015-10-13 15:52:49.544367"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:49.547268"], ["updated_at", "2015-10-13 15:52:49.547268"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:49.550883"], ["updated_at", "2015-10-13 15:52:49.550883"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:49.552250"], ["updated_at", "2015-10-13 15:52:49.552250"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1020  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 15:52:49.564538"], ["updated_at", "2015-10-13 15:52:49.564538"]]  (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", "2015-10-13 15:52:49.567917"], ["updated_at", "2015-10-13 15:52:49.567917"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:49.571750"], ["updated_at", "2015-10-13 15:52:49.571750"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:49.573412"], ["updated_at", "2015-10-13 15:52:49.573412"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1022  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (0.8ms) rollback transaction  (0.2ms) 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", "2015-10-13 15:52:49.591532"], ["updated_at", "2015-10-13 15:52:49.591532"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1023], ["created_at", "2015-10-13 15:52:49.595876"], ["updated_at", "2015-10-13 15:52:49.595876"]]  (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", "2015-10-13 15:52:49.599178"], ["updated_at", "2015-10-13 15:52:49.599178"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:49.602419"], ["updated_at", "2015-10-13 15:52:49.602419"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 15:52:49.606028"], ["updated_at", "2015-10-13 15:52:49.606028"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:49.607642"], ["updated_at", "2015-10-13 15:52:49.607642"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1023 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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$50sDYoMAqDhQBa8UPBuVAuvHNFryZYKz7W5oZjUhiYbkIiFV0CbKa"], ["remember_token", "wkN-iuKUJaW2jUe3Tmsorg"], ["created_at", "2015-10-13 15:52:49.629246"], ["updated_at", "2015-10-13 15:52:49.629246"]]  (0.0ms) 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", "2015-10-13 15:52:49.632934"], ["updated_at", "2015-10-13 15:52:49.632934"]]  (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", "2015-10-13 15:52:49.635822"], ["updated_at", "2015-10-13 15:52:49.635822"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "t"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:52:49.639744"], ["updated_at", "2015-10-13 15:52:49.639744"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:49.641391"], ["updated_at", "2015-10-13 15:52:49.641391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "wkN-iuKUJaW2jUe3Tmsorg"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 20ms (Views: 11.7ms | ActiveRecord: 1.0ms)  (0.9ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:52:49.672261"], ["updated_at", "2015-10-13 15:52:49.672261"]]  (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", "2015-10-13 15:52:49.674692"], ["updated_at", "2015-10-13 15:52:49.674692"]]  (0.2ms) 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", "2015-10-13 15:52:49.678483"], ["updated_at", "2015-10-13 15:52:49.678483"]]  (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 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", "2015-10-13 15:52:49.685114"], ["updated_at", "2015-10-13 15:52:49.685114"]]  (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", "2015-10-13 15:52:49.688405"], ["updated_at", "2015-10-13 15:52:49.688405"]]  (0.1ms) 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 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", "2015-10-13 15:52:49.701972"], ["updated_at", "2015-10-13 15:52:49.701972"]]  (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", "2015-10-13 15:52:49.705498"], ["updated_at", "2015-10-13 15:52:49.705498"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 15:52:49.713772"], ["updated_at", "2015-10-13 15:52:49.713772"]]  (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", "2015-10-13 15:52:49.716070"], ["updated_at", "2015-10-13 15:52:49.716070"]]  (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", "2015-10-13 15:52:49.718945"], ["updated_at", "2015-10-13 15:52:49.718945"]]  (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 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", "2015-10-13 15:52:49.729166"], ["updated_at", "2015-10-13 15:52:49.729166"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:52:49.732353"], ["updated_at", "2015-10-13 15:52:49.732353"]]  (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", "2015-10-13 15:52:49.735163"], ["updated_at", "2015-10-13 15:52:49.735163"]]  (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 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", "2015-10-13 15:52:49.742282"], ["updated_at", "2015-10-13 15:52:49.742282"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 15:52:49.745366"], ["updated_at", "2015-10-13 15:52:49.745366"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$v/VETls2ydd4rns3Apq.4eG6LI66yWwJ7Aq8tb7wdBPa0lAYuadZu"], ["remember_token", "ux4wF9zqGI_sDdP0C6_P5w"], ["created_at", "2015-10-13 15:52:56.070348"], ["updated_at", "2015-10-13 15:52:56.070348"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 15:52:56.102580"], ["updated_at", "2015-10-13 15:52:56.102580"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:52:56.117901"], ["updated_at", "2015-10-13 15:52:56.117901"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "t"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:52:56.143171"], ["updated_at", "2015-10-13 15:52:56.143171"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:52:56.145197"], ["updated_at", "2015-10-13 15:52:56.145197"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "ux4wF9zqGI_sDdP0C6_P5w"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = '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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 48ms (Views: 12.0ms | ActiveRecord: 1.8ms)  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$UhBywCoydR1718e//pwwkuToXvUBkRZeU53WD803btYq7dipj.HJ2"], ["remember_token", "RNT4AMQuEMm1h0osH-Kz1Q"], ["created_at", "2015-10-13 15:53:39.294841"], ["updated_at", "2015-10-13 15:53:39.294841"]]  (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", "2015-10-13 15:53:39.325069"], ["updated_at", "2015-10-13 15:53:39.325069"]]  (0.0ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:53:39.343645"], ["updated_at", "2015-10-13 15:53:39.343645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "t"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:53:39.371707"], ["updated_at", "2015-10-13 15:53:39.371707"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:53:39.373714"], ["updated_at", "2015-10-13 15:53:39.373714"]]  (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 1 [["remember_token", "RNT4AMQuEMm1h0osH-Kz1Q"]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.4ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 47ms (Views: 13.8ms | ActiveRecord: 1.5ms)  (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$JH1Yh0NhtdnR8JEpbDcihuPwuyqxt9fT549evk4HGjk95vP2vFTy6"], ["remember_token", "Yhq7ReGaBf4xYmZo3kjIiw"], ["created_at", "2015-10-13 15:53:39.433147"], ["updated_at", "2015-10-13 15:53:39.433147"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 15:53:39.436833"], ["updated_at", "2015-10-13 15:53:39.436833"]]  (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", "2015-10-13 15:53:39.440227"], ["updated_at", "2015-10-13 15:53:39.440227"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "t"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:53:39.443561"], ["updated_at", "2015-10-13 15:53:39.443561"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:53:39.444868"], ["updated_at", "2015-10-13 15:53:39.444868"]]  (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", "Yhq7ReGaBf4xYmZo3kjIiw"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$l6F7PF5TMP30Xr3iYHefOOhhZp2ILVyoMvJHFbAOKenfEolbyED3O"], ["remember_token", "VF3KswyeybT_-32m7fL1Lg"], ["created_at", "2015-10-13 15:55:23.699828"], ["updated_at", "2015-10-13 15:55:23.699828"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 15:55:23.737045"], ["updated_at", "2015-10-13 15:55:23.737045"]]  (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", "2015-10-13 15:55:23.755299"], ["updated_at", "2015-10-13 15:55:23.755299"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "t"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:55:23.787320"], ["updated_at", "2015-10-13 15:55:23.787320"]] SQL (1.5ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:55:23.790646"], ["updated_at", "2015-10-13 15:55:23.790646"]]  (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 1 [["remember_token", "VF3KswyeybT_-32m7fL1Lg"]] Adeia::Token Load (0.6ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 51ms (Views: 12.3ms | ActiveRecord: 10.2ms)  (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$CrmMU0WsSCTkViR0uqS/NuF0sagXNPIGQdIoFuZZrPUnqZdVZ3U1u"], ["remember_token", "qNPSG-4mbeDq57R8Y0sEGA"], ["created_at", "2015-10-13 15:55:23.854628"], ["updated_at", "2015-10-13 15:55:23.854628"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 15:55:23.857942"], ["updated_at", "2015-10-13 15:55:23.857942"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 15:55:23.861111"], ["updated_at", "2015-10-13 15:55:23.861111"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "t"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:55:23.866919"], ["updated_at", "2015-10-13 15:55:23.866919"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:55:23.868813"], ["updated_at", "2015-10-13 15:55:23.868813"]]  (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", "qNPSG-4mbeDq57R8Y0sEGA"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$T7W3VQtD0fT58ZxYwttbK.ws7mwfbP56psrsGQXiX1lRVRzDQcxx6"], ["remember_token", "b5Q1PsKQfBszxB3lMbG3Rg"], ["created_at", "2015-10-13 15:56:29.949134"], ["updated_at", "2015-10-13 15:56:29.949134"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-10-13 15:56:29.989276"], ["updated_at", "2015-10-13 15:56:29.989276"]]  (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", "2015-10-13 15:56:30.008067"], ["updated_at", "2015-10-13 15:56:30.008067"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "t"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:56:30.040319"], ["updated_at", "2015-10-13 15:56:30.040319"]] SQL (1.6ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:56:30.043338"], ["updated_at", "2015-10-13 15:56:30.043338"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "b5Q1PsKQfBszxB3lMbG3Rg"]] Adeia::Token Load (0.6ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 52ms (Views: 12.1ms | ActiveRecord: 2.5ms)  (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$8YHczc6eeGUPzgDim8z.ZuBRctuhBzobeM47rvxz3bTrEDFZYADYW"], ["remember_token", "_Vq_LrZkq9IRRmMrBnCbrg"], ["created_at", "2015-10-13 15:56:30.108127"], ["updated_at", "2015-10-13 15:56:30.108127"]]  (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", "2015-10-13 15:56:30.111413"], ["updated_at", "2015-10-13 15:56:30.111413"]]  (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", "2015-10-13 15:56:30.114374"], ["updated_at", "2015-10-13 15:56:30.114374"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "t"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 15:56:30.118203"], ["updated_at", "2015-10-13 15:56:30.118203"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 15:56:30.119648"], ["updated_at", "2015-10-13 15:56:30.119648"]]  (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", "_Vq_LrZkq9IRRmMrBnCbrg"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.8ms | ActiveRecord: 0.5ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$w1OT6hfx/dEJ918MvdF52.mbvPAa4Gj6tkCNnGeDTQjidKJVpN7/m"], ["remember_token", "92vyoqWszQGNHchQZNMnkg"], ["created_at", "2015-10-13 16:00:49.286972"], ["updated_at", "2015-10-13 16:00:49.286972"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:00:49.327839"], ["updated_at", "2015-10-13 16:00:49.327839"]]  (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", "2015-10-13 16:00:49.345940"], ["updated_at", "2015-10-13 16:00:49.345940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "t"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 16:00:49.378481"], ["updated_at", "2015-10-13 16:00:49.378481"]] SQL (2.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:00:49.382334"], ["updated_at", "2015-10-13 16:00:49.382334"]]  (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 1 [["remember_token", "92vyoqWszQGNHchQZNMnkg"]] Adeia::Token Load (0.6ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 53ms (Views: 12.7ms | ActiveRecord: 2.3ms)  (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$IY3/WoD0U8ccKUnfOXRbdeAuF1.E00Sv/uzl6V2tzVNXMstqbqOcq"], ["remember_token", "S4yMzGCQ3sM6TSW5xk95hg"], ["created_at", "2015-10-13 16:00:49.451223"], ["updated_at", "2015-10-13 16:00:49.451223"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:00:49.454672"], ["updated_at", "2015-10-13 16:00:49.454672"]]  (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", "2015-10-13 16:00:49.457149"], ["updated_at", "2015-10-13 16:00:49.457149"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "t"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 16:00:49.461716"], ["updated_at", "2015-10-13 16:00:49.461716"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:00:49.463101"], ["updated_at", "2015-10-13 16:00:49.463101"]]  (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", "S4yMzGCQ3sM6TSW5xk95hg"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 7ms (Views: 1.0ms | ActiveRecord: 0.6ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$j2QwXhv7zj3nV2LUWxzBKOFYCPnMQbflLoENA7Qi39e8mhXk.4ut."], ["remember_token", "ABNEN-YH3BhdMug4eHlwDA"], ["created_at", "2015-10-13 16:08:09.926839"], ["updated_at", "2015-10-13 16:08:09.926839"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-10-13 16:08:09.965337"], ["updated_at", "2015-10-13 16:08:09.965337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-13 16:08:09.983323"], ["updated_at", "2015-10-13 16:08:09.983323"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "t"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 16:08:10.016175"], ["updated_at", "2015-10-13 16:08:10.016175"]] SQL (1.7ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:08:10.021031"], ["updated_at", "2015-10-13 16:08:10.021031"]]  (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 1 [["remember_token", "ABNEN-YH3BhdMug4eHlwDA"]] Adeia::Token Load (0.7ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 58ms (Views: 13.8ms | ActiveRecord: 2.8ms)  (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$QJ268hlKCfRCw9y6MAZDZumUyJRvWa/a44xcAZRUpb1Gg0msHiYaG"], ["remember_token", "qhxGDdtSfE_7GpJ19978RA"], ["created_at", "2015-10-13 16:08:10.094269"], ["updated_at", "2015-10-13 16:08:10.094269"]]  (0.0ms) 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", "2015-10-13 16:08:10.097934"], ["updated_at", "2015-10-13 16:08:10.097934"]]  (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", "2015-10-13 16:08:10.100715"], ["updated_at", "2015-10-13 16:08:10.100715"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "t"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 16:08:10.104265"], ["updated_at", "2015-10-13 16:08:10.104265"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:08:10.105535"], ["updated_at", "2015-10-13 16:08:10.105535"]]  (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", "qhxGDdtSfE_7GpJ19978RA"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (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$Tl1twm3eLKbfI9uH684/Cuu6LWDMrLLmqQ3X.mORGzE5OuRr4Rfwm"], ["remember_token", "4zN2qhJPGf6dFTun7TZn8g"], ["created_at", "2015-10-13 16:08:10.122514"], ["updated_at", "2015-10-13 16:08:10.122514"]]  (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", "2015-10-13 16:08:10.127416"], ["updated_at", "2015-10-13 16:08:10.127416"]]  (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", "2015-10-13 16:08:10.130693"], ["updated_at", "2015-10-13 16:08:10.130693"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "t"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 16:08:10.133688"], ["updated_at", "2015-10-13 16:08:10.133688"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:08:10.134901"], ["updated_at", "2015-10-13 16:08:10.134901"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$aJwlaIeZGDvFeYZQPgyS7.ezNKXr.bsIBxlgmXAeI9w9d6ZNtUNm6"], ["remember_token", "qBk4TqdZiKh3-IoYzNtyrQ"], ["created_at", "2015-10-13 16:08:10.146257"], ["updated_at", "2015-10-13 16:08:10.146257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.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", 11], ["created_at", "2015-10-13 16:08:10.149536"], ["updated_at", "2015-10-13 16:08:10.149536"]]  (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.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", 11], ["created_at", "2015-10-13 16:08:10.154877"], ["updated_at", "2015-10-13 16:08:10.154877"]]  (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", 11], ["created_at", "2015-10-13 16:08:10.157621"], ["updated_at", "2015-10-13 16:08:10.157621"]]  (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", 11], ["created_at", "2015-10-13 16:08:10.159888"], ["updated_at", "2015-10-13 16:08:10.159888"]]  (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", 11], ["created_at", "2015-10-13 16:08:10.162045"], ["updated_at", "2015-10-13 16:08:10.162045"]]  (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", "4zN2qhJPGf6dFTun7TZn8g"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$5X1nQG.EBq/rnXk/8g9yOeb/CJmK2.DkuoxO.1f.8iZMY6Q9tTPZq"], ["remember_token", "ncyA2vm9uNX1j2zzHJxONw"], ["created_at", "2015-10-13 16:10:31.137390"], ["updated_at", "2015-10-13 16:10:31.137390"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:10:31.180568"], ["updated_at", "2015-10-13 16:10:31.180568"]]  (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", "2015-10-13 16:10:31.199448"], ["updated_at", "2015-10-13 16:10:31.199448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:10:31.233932"], ["updated_at", "2015-10-13 16:10:31.233932"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:10:31.238943"], ["updated_at", "2015-10-13 16:10:31.238943"]]  (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 1 [["remember_token", "ncyA2vm9uNX1j2zzHJxONw"]] Adeia::Token Load (0.7ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 53ms (Views: 12.1ms | ActiveRecord: 2.3ms)  (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$Zbo11vz8Y3xL9yfxUQK1POMlWSjYr5oyiwfVqwOasDvFfa1GfIzhi"], ["remember_token", "jpA6woUhXlhp3qqLn4GWag"], ["created_at", "2015-10-13 16:10:31.304823"], ["updated_at", "2015-10-13 16:10:31.304823"]]  (0.0ms) 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", "2015-10-13 16:10:31.308390"], ["updated_at", "2015-10-13 16:10:31.308390"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:10:31.311726"], ["updated_at", "2015-10-13 16:10:31.311726"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:10:31.315012"], ["updated_at", "2015-10-13 16:10:31.315012"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:10:31.316246"], ["updated_at", "2015-10-13 16:10:31.316246"]]  (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", "jpA6woUhXlhp3qqLn4GWag"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.5ms)  (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$sK2kKFmyAYL0PuSVWrEuLur//JjWKNtua.ODb5F7DhOtjqJSJ3xI2"], ["remember_token", "c2f5safJ-5KVwHSKcSXSxw"], ["created_at", "2015-10-13 16:10:31.329329"], ["updated_at", "2015-10-13 16:10:31.329329"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:10:31.332446"], ["updated_at", "2015-10-13 16:10:31.332446"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:10:31.336541"], ["updated_at", "2015-10-13 16:10:31.336541"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:10:31.340128"], ["updated_at", "2015-10-13 16:10:31.340128"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:10:31.341975"], ["updated_at", "2015-10-13 16:10:31.341975"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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$tlemIdPqPH7.XlcHy0gy8.m38lGGRoK1uVAW.r2q9LFylNE/XynHK"], ["remember_token", "Y6P0r8cYdhPKr6IPRlqwQw"], ["created_at", "2015-10-13 16:10:31.356359"], ["updated_at", "2015-10-13 16:10:31.356359"]]  (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", 11], ["created_at", "2015-10-13 16:10:31.359210"], ["updated_at", "2015-10-13 16:10:31.359210"]]  (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", 11], ["created_at", "2015-10-13 16:10:31.363296"], ["updated_at", "2015-10-13 16:10:31.363296"]]  (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", 11], ["created_at", "2015-10-13 16:10:31.365604"], ["updated_at", "2015-10-13 16:10:31.365604"]]  (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", 11], ["created_at", "2015-10-13 16:10:31.367438"], ["updated_at", "2015-10-13 16:10:31.367438"]]  (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", 11], ["created_at", "2015-10-13 16:10:31.369258"], ["updated_at", "2015-10-13 16:10:31.369258"]]  (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", "c2f5safJ-5KVwHSKcSXSxw"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.5ms)  (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$Pv449dRHY4UhAjYuaClc/OM3OXBPMC04UUMsLltshRWCoEy04QfYS"], ["remember_token", "ZciEJ7srllHg-F4nWGrBBA"], ["created_at", "2015-10-13 16:10:31.383433"], ["updated_at", "2015-10-13 16:10:31.383433"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:10:31.386512"], ["updated_at", "2015-10-13 16:10:31.386512"]]  (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", "2015-10-13 16:10:31.389019"], ["updated_at", "2015-10-13 16:10:31.389019"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:10:31.393017"], ["updated_at", "2015-10-13 16:10:31.393017"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:10:31.394424"], ["updated_at", "2015-10-13 16:10:31.394424"]]  (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", 10], ["created_at", "2015-10-13 16:10:31.396725"], ["updated_at", "2015-10-13 16:10:31.396725"]]  (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", 10], ["created_at", "2015-10-13 16:10:31.398382"], ["updated_at", "2015-10-13 16:10:31.398382"]]  (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", 10], ["created_at", "2015-10-13 16:10:31.399924"], ["updated_at", "2015-10-13 16:10:31.399924"]]  (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", 10], ["created_at", "2015-10-13 16:10:31.401461"], ["updated_at", "2015-10-13 16:10:31.401461"]]  (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", 10], ["created_at", "2015-10-13 16:10:31.402941"], ["updated_at", "2015-10-13 16:10:31.402941"]]  (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", "ZciEJ7srllHg-F4nWGrBBA"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.4ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (2.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$Ysnv/taMWDfKklMgdLcybuIMaJqx1QgnWR4evo.oqMmgFXCj98AGm"], ["remember_token", "NL_5i9nduTkOaLQYcMToKA"], ["created_at", "2015-10-13 16:27:21.114285"], ["updated_at", "2015-10-13 16:27:21.114285"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-10-13 16:27:21.155919"], ["updated_at", "2015-10-13 16:27:21.155919"]]  (0.0ms) 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", "2015-10-13 16:27:21.174046"], ["updated_at", "2015-10-13 16:27:21.174046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:27:21.207738"], ["updated_at", "2015-10-13 16:27:21.207738"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:27:21.211147"], ["updated_at", "2015-10-13 16:27:21.211147"]]  (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 1 [["remember_token", "NL_5i9nduTkOaLQYcMToKA"]] Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.2ms)  (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$0XwyX5Z16VJ2Ka6h6oKohOpuO.uZJgjwLqp9U0EsQ0PqhToD82Y5W"], ["remember_token", "nHy2J6enc5ZlzjV51DoiNQ"], ["created_at", "2015-10-13 16:27:21.229113"], ["updated_at", "2015-10-13 16:27:21.229113"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:27:21.232346"], ["updated_at", "2015-10-13 16:27:21.232346"]]  (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", "2015-10-13 16:27:21.234973"], ["updated_at", "2015-10-13 16:27:21.234973"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:27:21.238949"], ["updated_at", "2015-10-13 16:27:21.238949"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:27:21.240384"], ["updated_at", "2015-10-13 16:27:21.240384"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (6.7ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "nHy2J6enc5ZlzjV51DoiNQ"]] Completed 500 Internal Server Error in 9ms (ActiveRecord: 6.7ms)  (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$rDtQtKy7fqK6t04IQwex1.ctiKn47hCXrHT05nfF9jWuCX2TIjZ.K"], ["remember_token", "qe8i-mabeH7nBOtnp56r0w"], ["created_at", "2015-10-13 16:27:21.260372"], ["updated_at", "2015-10-13 16:27:21.260372"]]  (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", "2015-10-13 16:27:21.264267"], ["updated_at", "2015-10-13 16:27:21.264267"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:27:21.267288"], ["updated_at", "2015-10-13 16:27:21.267288"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:27:21.271216"], ["updated_at", "2015-10-13 16:27:21.271216"]] SQL (0.5ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:27:21.274773"], ["updated_at", "2015-10-13 16:27:21.274773"]]  (0.2ms) 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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$fJEaWk59x3dW1s4X1HsxsuJ8Sj8q5FNz8ZYEEvsSErRh9azSu.mcy"], ["remember_token", "Kv-z08zGvgsOYeBaQcOQ4Q"], ["created_at", "2015-10-13 16:27:21.291583"], ["updated_at", "2015-10-13 16:27:21.291583"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", 11], ["created_at", "2015-10-13 16:27:21.293800"], ["updated_at", "2015-10-13 16:27:21.293800"]]  (0.0ms) 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", 11], ["created_at", "2015-10-13 16:27:21.296970"], ["updated_at", "2015-10-13 16:27:21.296970"]]  (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", 11], ["created_at", "2015-10-13 16:27:21.298669"], ["updated_at", "2015-10-13 16:27:21.298669"]]  (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", 11], ["created_at", "2015-10-13 16:27:21.300921"], ["updated_at", "2015-10-13 16:27:21.300921"]]  (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", 11], ["created_at", "2015-10-13 16:27:21.302756"], ["updated_at", "2015-10-13 16:27:21.302756"]]  (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", "qe8i-mabeH7nBOtnp56r0w"]] Completed 500 Internal Server Error in 2ms (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$OVYezGNdLZpgBVCGFcLsC.CecX/t6x23VOIeKIYYCFB1UlFgzw/CK"], ["remember_token", "T7I85GdJVvsUXyW5RStSNg"], ["created_at", "2015-10-13 16:27:21.312125"], ["updated_at", "2015-10-13 16:27:21.312125"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:27:21.315217"], ["updated_at", "2015-10-13 16:27:21.315217"]]  (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", "2015-10-13 16:27:21.318663"], ["updated_at", "2015-10-13 16:27:21.318663"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:27:21.321776"], ["updated_at", "2015-10-13 16:27:21.321776"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:27:21.323004"], ["updated_at", "2015-10-13 16:27:21.323004"]]  (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", 10], ["created_at", "2015-10-13 16:27:21.325221"], ["updated_at", "2015-10-13 16:27:21.325221"]]  (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", 10], ["created_at", "2015-10-13 16:27:21.326856"], ["updated_at", "2015-10-13 16:27:21.326856"]]  (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", 10], ["created_at", "2015-10-13 16:27:21.328427"], ["updated_at", "2015-10-13 16:27:21.328427"]]  (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", 10], ["created_at", "2015-10-13 16:27:21.329879"], ["updated_at", "2015-10-13 16:27:21.329879"]]  (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", 10], ["created_at", "2015-10-13 16:27:21.331864"], ["updated_at", "2015-10-13 16:27:21.331864"]]  (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", "T7I85GdJVvsUXyW5RStSNg"]] Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$95/L7yYaXUa7ahwl5RVCtucN9Fomq2ANepmwQwrH0zY0hpflOs9te"], ["remember_token", "c3HLt-tDO_jsHkftYAPCJQ"], ["created_at", "2015-10-13 16:27:45.703468"], ["updated_at", "2015-10-13 16:27:45.703468"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) 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", "2015-10-13 16:27:45.741202"], ["updated_at", "2015-10-13 16:27:45.741202"]]  (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", "2015-10-13 16:27:45.759112"], ["updated_at", "2015-10-13 16:27:45.759112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:27:45.792199"], ["updated_at", "2015-10-13 16:27:45.792199"]] SQL (1.7ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:27:45.795818"], ["updated_at", "2015-10-13 16:27:45.795818"]]  (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 1 [["remember_token", "c3HLt-tDO_jsHkftYAPCJQ"]] Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.2ms)  (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$g1XXedcC3zhTf/ps.uVEUOtBYaVggbAWKyeoZMFkgnWnu1/cgZZAG"], ["remember_token", "wwMn6yuPHCJzA9S2mBcivw"], ["created_at", "2015-10-13 16:27:45.816618"], ["updated_at", "2015-10-13 16:27:45.816618"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:27:45.819933"], ["updated_at", "2015-10-13 16:27:45.819933"]]  (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", "2015-10-13 16:27:45.823936"], ["updated_at", "2015-10-13 16:27:45.823936"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:27:45.828117"], ["updated_at", "2015-10-13 16:27:45.828117"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:27:45.830097"], ["updated_at", "2015-10-13 16:27:45.830097"]]  (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", "wwMn6yuPHCJzA9S2mBcivw"]] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)  (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$8odvLfFK8OBEZOrsy9xxlOXHsQjvUysxJfJEv4emsZUCfbLIiS/ay"], ["remember_token", "mSe247m60BVCiaty2eNAUg"], ["created_at", "2015-10-13 16:27:45.849756"], ["updated_at", "2015-10-13 16:27:45.849756"]]  (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", "2015-10-13 16:27:45.854114"], ["updated_at", "2015-10-13 16:27:45.854114"]]  (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", "2015-10-13 16:27:45.856723"], ["updated_at", "2015-10-13 16:27:45.856723"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:27:45.859892"], ["updated_at", "2015-10-13 16:27:45.859892"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:27:45.861306"], ["updated_at", "2015-10-13 16:27:45.861306"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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$KPTbz/wthLBLgjZm7E3.DedpwCYq1wo1nTsqWmTCUuvIjT5cMtbPK"], ["remember_token", "AscNZ69Jm2TZ4rkxA_a8Hg"], ["created_at", "2015-10-13 16:27:45.876056"], ["updated_at", "2015-10-13 16:27:45.876056"]]  (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", 11], ["created_at", "2015-10-13 16:27:45.878846"], ["updated_at", "2015-10-13 16:27:45.878846"]]  (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", 11], ["created_at", "2015-10-13 16:27:45.882422"], ["updated_at", "2015-10-13 16:27:45.882422"]]  (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", 11], ["created_at", "2015-10-13 16:27:45.884423"], ["updated_at", "2015-10-13 16:27:45.884423"]]  (0.3ms) 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.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", 11], ["created_at", "2015-10-13 16:27:45.888194"], ["updated_at", "2015-10-13 16:27:45.888194"]]  (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", 11], ["created_at", "2015-10-13 16:27:45.891510"], ["updated_at", "2015-10-13 16:27:45.891510"]]  (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", "mSe247m60BVCiaty2eNAUg"]] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)  (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$h/ci2cdCb53QMQjtxmvmY.AA9tpEN0CgM6EGDWZlw/jSC7Mi1SoYS"], ["remember_token", "YZfvSHCPkbXQBHApFUJotA"], ["created_at", "2015-10-13 16:27:45.900868"], ["updated_at", "2015-10-13 16:27:45.900868"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:27:45.905994"], ["updated_at", "2015-10-13 16:27:45.905994"]]  (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", "2015-10-13 16:27:45.909889"], ["updated_at", "2015-10-13 16:27:45.909889"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:27:45.913658"], ["updated_at", "2015-10-13 16:27:45.913658"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:27:45.915224"], ["updated_at", "2015-10-13 16:27:45.915224"]]  (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", 10], ["created_at", "2015-10-13 16:27:45.918228"], ["updated_at", "2015-10-13 16:27:45.918228"]]  (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", 10], ["created_at", "2015-10-13 16:27:45.920347"], ["updated_at", "2015-10-13 16:27:45.920347"]]  (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", 10], ["created_at", "2015-10-13 16:27:45.922118"], ["updated_at", "2015-10-13 16:27:45.922118"]]  (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", 10], ["created_at", "2015-10-13 16:27:45.924124"], ["updated_at", "2015-10-13 16:27:45.924124"]]  (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", 10], ["created_at", "2015-10-13 16:27:45.926039"], ["updated_at", "2015-10-13 16:27:45.926039"]]  (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", "YZfvSHCPkbXQBHApFUJotA"]] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$EhVn7KlQK9zRQaTyr40T8uw7lmopuEUlzCPbzXgf3aFiiJ1fQ3xWa"], ["remember_token", "Vha8QnxpMh-ZNUpW4bT82Q"], ["created_at", "2015-10-13 16:27:57.412947"], ["updated_at", "2015-10-13 16:27:57.412947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:27:57.451075"], ["updated_at", "2015-10-13 16:27:57.451075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-13 16:27:57.471156"], ["updated_at", "2015-10-13 16:27:57.471156"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:27:57.506741"], ["updated_at", "2015-10-13 16:27:57.506741"]] SQL (1.6ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:27:57.510284"], ["updated_at", "2015-10-13 16:27:57.510284"]]  (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 1 [["remember_token", "Vha8QnxpMh-ZNUpW4bT82Q"]] Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.8ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 53ms (Views: 12.7ms | ActiveRecord: 2.4ms)  (1.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$986/mWO8KyDb7fLhOnyZ1ud2Cnxebe/pKjaGYhmyh64usOHOA6iFu"], ["remember_token", "uX3a4VS7rqLdtqjlvXLMHg"], ["created_at", "2015-10-13 16:27:57.578768"], ["updated_at", "2015-10-13 16:27:57.578768"]]  (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", "2015-10-13 16:27:57.584301"], ["updated_at", "2015-10-13 16:27:57.584301"]]  (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", "2015-10-13 16:27:57.587619"], ["updated_at", "2015-10-13 16:27:57.587619"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:27:57.591094"], ["updated_at", "2015-10-13 16:27:57.591094"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:27:57.592521"], ["updated_at", "2015-10-13 16:27:57.592521"]]  (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", "uX3a4VS7rqLdtqjlvXLMHg"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (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$N.mO951ukrKf.paJHuYs8eIt/cWgDNVH0TO9dXw/CLMDHUcWhuRSS"], ["remember_token", "mJhJ0lpD3HiUYVVgU7OubA"], ["created_at", "2015-10-13 16:27:57.607786"], ["updated_at", "2015-10-13 16:27:57.607786"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:27:57.611190"], ["updated_at", "2015-10-13 16:27:57.611190"]]  (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", "2015-10-13 16:27:57.614556"], ["updated_at", "2015-10-13 16:27:57.614556"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:27:57.617999"], ["updated_at", "2015-10-13 16:27:57.617999"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:27:57.619379"], ["updated_at", "2015-10-13 16:27:57.619379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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$yTywoJZ4NJQaj/UXZfvWHe.aTAVsKBwxmoNZjMMOfoZOt7i9MRxxS"], ["remember_token", "PMhMY8cUa0NLMscuuHAAPA"], ["created_at", "2015-10-13 16:27:57.633845"], ["updated_at", "2015-10-13 16:27:57.633845"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", 11], ["created_at", "2015-10-13 16:27:57.637160"], ["updated_at", "2015-10-13 16:27:57.637160"]]  (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", 11], ["created_at", "2015-10-13 16:27:57.641221"], ["updated_at", "2015-10-13 16:27:57.641221"]]  (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", 11], ["created_at", "2015-10-13 16:27:57.643133"], ["updated_at", "2015-10-13 16:27:57.643133"]]  (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", 11], ["created_at", "2015-10-13 16:27:57.644834"], ["updated_at", "2015-10-13 16:27:57.644834"]]  (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", 11], ["created_at", "2015-10-13 16:27:57.646569"], ["updated_at", "2015-10-13 16:27:57.646569"]]  (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", "mJhJ0lpD3HiUYVVgU7OubA"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.4ms)  (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$u.O53vaSYY13aqA0UoPPXeEwI2fH260uHwuq2Y9m8iO9I5fhAKb1W"], ["remember_token", "q2V_BXFdH4B1o19kQdQanQ"], ["created_at", "2015-10-13 16:27:57.662354"], ["updated_at", "2015-10-13 16:27:57.662354"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:27:57.665468"], ["updated_at", "2015-10-13 16:27:57.665468"]]  (0.0ms) 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.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:27:57.669044"], ["updated_at", "2015-10-13 16:27:57.669044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:27:57.673595"], ["updated_at", "2015-10-13 16:27:57.673595"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:27:57.675640"], ["updated_at", "2015-10-13 16:27:57.675640"]]  (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", 10], ["created_at", "2015-10-13 16:27:57.678889"], ["updated_at", "2015-10-13 16:27:57.678889"]]  (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", 10], ["created_at", "2015-10-13 16:27:57.681037"], ["updated_at", "2015-10-13 16:27:57.681037"]]  (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", 10], ["created_at", "2015-10-13 16:27:57.683219"], ["updated_at", "2015-10-13 16:27:57.683219"]]  (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", 10], ["created_at", "2015-10-13 16:27:57.684922"], ["updated_at", "2015-10-13 16:27:57.684922"]]  (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", 10], ["created_at", "2015-10-13 16:27:57.686424"], ["updated_at", "2015-10-13 16:27:57.686424"]]  (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", "q2V_BXFdH4B1o19kQdQanQ"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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: 1.0ms | ActiveRecord: 0.4ms) Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."user_id" = ? AND 1=0 [["user_id", 10]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$hA6a/Yc.MORfRdrw0KAt..eJho3rw7htmMA1NG1FjY15p40GwIx7S"], ["remember_token", "mcu5KsWPlbhkR90U_2ei_g"], ["created_at", "2015-10-13 16:32:15.612585"], ["updated_at", "2015-10-13 16:32:15.612585"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-10-13 16:32:15.655288"], ["updated_at", "2015-10-13 16:32:15.655288"]]  (0.0ms) 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", "2015-10-13 16:32:15.673757"], ["updated_at", "2015-10-13 16:32:15.673757"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:32:15.707486"], ["updated_at", "2015-10-13 16:32:15.707486"]] SQL (1.6ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:32:15.710860"], ["updated_at", "2015-10-13 16:32:15.710860"]]  (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 1 [["remember_token", "mcu5KsWPlbhkR90U_2ei_g"]] Adeia::Token Load (0.7ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 52ms (Views: 13.1ms | ActiveRecord: 2.3ms)  (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$aJyN7cWpZqsfuaMlqGMIKOECVN3HN6/4VrQ6wXWLxtsse9aBfXB.G"], ["remember_token", "KHF6f7B4neyAVnM0SoFbiA"], ["created_at", "2015-10-13 16:32:15.775756"], ["updated_at", "2015-10-13 16:32:15.775756"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:32:15.778670"], ["updated_at", "2015-10-13 16:32:15.778670"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:32:15.781867"], ["updated_at", "2015-10-13 16:32:15.781867"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:32:15.785709"], ["updated_at", "2015-10-13 16:32:15.785709"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:32:15.787046"], ["updated_at", "2015-10-13 16:32:15.787046"]]  (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", "KHF6f7B4neyAVnM0SoFbiA"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (Views: 0.8ms | 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$.cZhStfXO/K57u/xcuDWue.MggqmZpomAyYyld1jqhgC4tiYHDs.W"], ["remember_token", "eOZoW6A2APLh75x8X26FKg"], ["created_at", "2015-10-13 16:32:15.799558"], ["updated_at", "2015-10-13 16:32:15.799558"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:32:15.802635"], ["updated_at", "2015-10-13 16:32:15.802635"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:32:15.805872"], ["updated_at", "2015-10-13 16:32:15.805872"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:32:15.809805"], ["updated_at", "2015-10-13 16:32:15.809805"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:32:15.811399"], ["updated_at", "2015-10-13 16:32:15.811399"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$gVs/vc0ncwRx03BG/3HCRuFg4ioxCtfjDOb5m5JoBJaz0wqfj.OsC"], ["remember_token", "VsP2OhLJWmnjODYG_juRDQ"], ["created_at", "2015-10-13 16:32:15.822251"], ["updated_at", "2015-10-13 16:32:15.822251"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.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", 11], ["created_at", "2015-10-13 16:32:15.824561"], ["updated_at", "2015-10-13 16:32:15.824561"]]  (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", 11], ["created_at", "2015-10-13 16:32:15.828575"], ["updated_at", "2015-10-13 16:32:15.828575"]]  (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", 11], ["created_at", "2015-10-13 16:32:15.830810"], ["updated_at", "2015-10-13 16:32:15.830810"]]  (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", 11], ["created_at", "2015-10-13 16:32:15.832823"], ["updated_at", "2015-10-13 16:32:15.832823"]]  (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", 11], ["created_at", "2015-10-13 16:32:15.834496"], ["updated_at", "2015-10-13 16:32:15.834496"]]  (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", "eOZoW6A2APLh75x8X26FKg"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.4ms)  (1.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$LR9lKJJ47w4eo6weiVTNOe5NO2lRZpQoG6VaBxWDdxAWVgCdZzo86"], ["remember_token", "v2wCQatfZSS7pBYtqXrtOg"], ["created_at", "2015-10-13 16:32:15.851595"], ["updated_at", "2015-10-13 16:32:15.851595"]]  (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", "2015-10-13 16:32:15.855740"], ["updated_at", "2015-10-13 16:32:15.855740"]]  (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", "2015-10-13 16:32:15.858896"], ["updated_at", "2015-10-13 16:32:15.858896"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:32:15.862285"], ["updated_at", "2015-10-13 16:32:15.862285"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:32:15.863843"], ["updated_at", "2015-10-13 16:32:15.863843"]]  (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", 10], ["created_at", "2015-10-13 16:32:15.866210"], ["updated_at", "2015-10-13 16:32:15.866210"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", 10], ["created_at", "2015-10-13 16:32:15.868480"], ["updated_at", "2015-10-13 16:32:15.868480"]]  (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", 10], ["created_at", "2015-10-13 16:32:15.870352"], ["updated_at", "2015-10-13 16:32:15.870352"]]  (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", 10], ["created_at", "2015-10-13 16:32:15.871884"], ["updated_at", "2015-10-13 16:32:15.871884"]]  (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", 10], ["created_at", "2015-10-13 16:32:15.873349"], ["updated_at", "2015-10-13 16:32:15.873349"]]  (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", "v2wCQatfZSS7pBYtqXrtOg"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.4ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 10 OR id IN (NULL))  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$IktWMISpqGbAnuWfayMpuupWMNF.ziWn3kmo/sXg8KIM166DUO8Be"], ["remember_token", "kvf1BQ2ZMQrBs9rDciMBKw"], ["created_at", "2015-10-13 16:38:08.616088"], ["updated_at", "2015-10-13 16:38:08.616088"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-10-13 16:38:08.655894"], ["updated_at", "2015-10-13 16:38:08.655894"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-13 16:38:08.673856"], ["updated_at", "2015-10-13 16:38:08.673856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:38:08.707117"], ["updated_at", "2015-10-13 16:38:08.707117"]] SQL (1.8ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:38:08.710493"], ["updated_at", "2015-10-13 16:38:08.710493"]]  (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 1 [["remember_token", "kvf1BQ2ZMQrBs9rDciMBKw"]] Adeia::Token Load (0.5ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.9ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.5ms) Completed 200 OK in 341ms (Views: 299.3ms | ActiveRecord: 2.6ms)  (9.6ms) 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$wGhjFcat25W4cdtnQcfZB.76dSeTq6PkxKvC6uIxRcZX3puHaLsty"], ["remember_token", "tYHHu3__o7wCpl6qtsE-Bw"], ["created_at", "2015-10-13 16:38:09.075746"], ["updated_at", "2015-10-13 16:38:09.075746"]]  (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", "2015-10-13 16:38:09.080104"], ["updated_at", "2015-10-13 16:38:09.080104"]]  (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", "2015-10-13 16:38:09.084076"], ["updated_at", "2015-10-13 16:38:09.084076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:38:09.087262"], ["updated_at", "2015-10-13 16:38:09.087262"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:38:09.089365"], ["updated_at", "2015-10-13 16:38:09.089365"]]  (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", "tYHHu3__o7wCpl6qtsE-Bw"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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: 1.0ms | 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$C8siHnNPsWaFAHknG66KdeD1qJoS6MYvjhIPQbgsuLSAQ6uIIf0iS"], ["remember_token", "Tn8g_Tj9PT8oCTayOFQs7w"], ["created_at", "2015-10-13 16:38:09.103553"], ["updated_at", "2015-10-13 16:38:09.103553"]]  (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", "2015-10-13 16:38:09.107256"], ["updated_at", "2015-10-13 16:38:09.107256"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:38:09.110579"], ["updated_at", "2015-10-13 16:38:09.110579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:38:09.113827"], ["updated_at", "2015-10-13 16:38:09.113827"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:38:09.115868"], ["updated_at", "2015-10-13 16:38:09.115868"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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$220ardCFUoOdE3/Lx25kleKeH/eaZq2WagLKJRVxxFnCZHdzNgG8C"], ["remember_token", "GCPoXIyrHv4r20hXKcoNAg"], ["created_at", "2015-10-13 16:38:09.129832"], ["updated_at", "2015-10-13 16:38:09.129832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 11], ["created_at", "2015-10-13 16:38:09.132824"], ["updated_at", "2015-10-13 16:38:09.132824"]]  (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", 11], ["created_at", "2015-10-13 16:38:09.138975"], ["updated_at", "2015-10-13 16:38:09.138975"]]  (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", 11], ["created_at", "2015-10-13 16:38:09.140956"], ["updated_at", "2015-10-13 16:38:09.140956"]]  (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", 11], ["created_at", "2015-10-13 16:38:09.142659"], ["updated_at", "2015-10-13 16:38:09.142659"]]  (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", 11], ["created_at", "2015-10-13 16:38:09.144311"], ["updated_at", "2015-10-13 16:38:09.144311"]]  (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", "Tn8g_Tj9PT8oCTayOFQs7w"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.4ms)  (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$8DvvMU7ikiiDTlwnoPaPluQinpxGctRwEMhFDg.DCtEZEzbXs3cLy"], ["remember_token", "nNrYfY6lRJ7Bjw2fGoK9fQ"], ["created_at", "2015-10-13 16:38:09.158408"], ["updated_at", "2015-10-13 16:38:09.158408"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:38:09.161657"], ["updated_at", "2015-10-13 16:38:09.161657"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:38:09.165677"], ["updated_at", "2015-10-13 16:38:09.165677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:38:09.170445"], ["updated_at", "2015-10-13 16:38:09.170445"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:38:09.171748"], ["updated_at", "2015-10-13 16:38:09.171748"]]  (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", 10], ["created_at", "2015-10-13 16:38:09.174053"], ["updated_at", "2015-10-13 16:38:09.174053"]]  (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", 10], ["created_at", "2015-10-13 16:38:09.175653"], ["updated_at", "2015-10-13 16:38:09.175653"]]  (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", 10], ["created_at", "2015-10-13 16:38:09.177222"], ["updated_at", "2015-10-13 16:38:09.177222"]]  (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", 10], ["created_at", "2015-10-13 16:38:09.178726"], ["updated_at", "2015-10-13 16:38:09.178726"]]  (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", 10], ["created_at", "2015-10-13 16:38:09.180334"], ["updated_at", "2015-10-13 16:38:09.180334"]]  (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", "nNrYfY6lRJ7Bjw2fGoK9fQ"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 8ms (Views: 1.1ms | ActiveRecord: 0.8ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 10 OR id IN (NULL))  (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$lRS3VSxrkk8J3v24JwTMu.dJmc1hd9txt6jErPe6KYlE56Zh0YY3G"], ["remember_token", "jI3fgaRJCZYY3meolQbWag"], ["created_at", "2015-10-13 16:38:09.198023"], ["updated_at", "2015-10-13 16:38:09.198023"]]  (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", 10], ["created_at", "2015-10-13 16:38:09.200902"], ["updated_at", "2015-10-13 16:38:09.200902"]]  (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", 10], ["created_at", "2015-10-13 16:38:09.203010"], ["updated_at", "2015-10-13 16:38:09.203010"]]  (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", 10], ["created_at", "2015-10-13 16:38:09.205060"], ["updated_at", "2015-10-13 16:38:09.205060"]]  (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", 10], ["created_at", "2015-10-13 16:38:09.206672"], ["updated_at", "2015-10-13 16:38:09.206672"]]  (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", 10], ["created_at", "2015-10-13 16:38:09.208171"], ["updated_at", "2015-10-13 16:38:09.208171"]]  (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$Su0Ojuhx.aiJTPytIMCAvuXi5muEYsf0hPo92kGGHUobVfYv8lYne"], ["remember_token", "L_ll8gGDHoHnNucB_0YjLQ"], ["created_at", "2015-10-13 16:38:09.211969"], ["updated_at", "2015-10-13 16:38:09.211969"]]  (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", 11], ["created_at", "2015-10-13 16:38:09.213484"], ["updated_at", "2015-10-13 16:38:09.213484"]]  (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", 11], ["created_at", "2015-10-13 16:38:09.215699"], ["updated_at", "2015-10-13 16:38:09.215699"]]  (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", 11], ["created_at", "2015-10-13 16:38:09.217426"], ["updated_at", "2015-10-13 16:38:09.217426"]]  (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", 11], ["created_at", "2015-10-13 16:38:09.219098"], ["updated_at", "2015-10-13 16:38:09.219098"]]  (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", 11], ["created_at", "2015-10-13 16:38:09.220767"], ["updated_at", "2015-10-13 16:38:09.220767"]]  (0.0ms) 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", 11], ["created_at", "2015-10-13 16:38:09.222433"], ["updated_at", "2015-10-13 16:38:09.222433"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:38:09.224870"], ["updated_at", "2015-10-13 16:38:09.224870"]]  (0.2ms) 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", "2015-10-13 16:38:09.229346"], ["updated_at", "2015-10-13 16:38:09.229346"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:38:09.234414"], ["updated_at", "2015-10-13 16:38:09.234414"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:38:09.236411"], ["updated_at", "2015-10-13 16:38:09.236411"]]  (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" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 6], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:38:09.243216"], ["updated_at", "2015-10-13 16:38:09.243216"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 2], ["created_at", "2015-10-13 16:38:09.244615"], ["updated_at", "2015-10-13 16:38:09.244615"]]  (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", "jI3fgaRJCZYY3meolQbWag"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$zkjxCiB8o9wtlIy4ZCRjpO1Qf3CCk1X9ye7rDf.uGKKRDDuqRRvre"], ["remember_token", "tkAVRVgV7PWs8LhwZgGRGw"], ["created_at", "2015-10-13 16:38:23.835192"], ["updated_at", "2015-10-13 16:38:23.835192"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:38:23.870006"], ["updated_at", "2015-10-13 16:38:23.870006"]]  (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", "2015-10-13 16:38:23.888437"], ["updated_at", "2015-10-13 16:38:23.888437"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:38:23.920799"], ["updated_at", "2015-10-13 16:38:23.920799"]] SQL (1.8ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:38:23.924194"], ["updated_at", "2015-10-13 16:38:23.924194"]]  (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 1 [["remember_token", "tkAVRVgV7PWs8LhwZgGRGw"]] Adeia::Token Load (0.7ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 51ms (Views: 12.0ms | ActiveRecord: 2.2ms)  (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$cW6czVu9T2AHkFpqVdcULu507oajwSPDValxZVcqG/UImQjg6YLU6"], ["remember_token", "oOCGuoxLgqW1mOPfR7UffA"], ["created_at", "2015-10-13 16:38:23.988050"], ["updated_at", "2015-10-13 16:38:23.988050"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:38:23.991007"], ["updated_at", "2015-10-13 16:38:23.991007"]]  (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", "2015-10-13 16:38:23.993527"], ["updated_at", "2015-10-13 16:38:23.993527"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:38:23.998102"], ["updated_at", "2015-10-13 16:38:23.998102"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:38:23.999561"], ["updated_at", "2015-10-13 16:38:23.999561"]]  (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", "oOCGuoxLgqW1mOPfR7UffA"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | 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$ZppqdnB.Vr3MzZBSctkBGeZWQuKgnlO68VWYUwatJJiZBusatyaUO"], ["remember_token", "T5HgKPo18mi_FVLeM2WqJA"], ["created_at", "2015-10-13 16:38:24.013428"], ["updated_at", "2015-10-13 16:38:24.013428"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:38:24.016712"], ["updated_at", "2015-10-13 16:38:24.016712"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:38:24.019898"], ["updated_at", "2015-10-13 16:38:24.019898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:38:24.023585"], ["updated_at", "2015-10-13 16:38:24.023585"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:38:24.024923"], ["updated_at", "2015-10-13 16:38:24.024923"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$hUcRwL5ozCZnHTgw9ppj1ekMX0OffSt59GU/IMoroRYZYe8/HbeEy"], ["remember_token", "ED9Tf98bkfz9ZkXywK9XXQ"], ["created_at", "2015-10-13 16:38:24.035356"], ["updated_at", "2015-10-13 16:38:24.035356"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", 11], ["created_at", "2015-10-13 16:38:24.037740"], ["updated_at", "2015-10-13 16:38:24.037740"]]  (0.0ms) 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", 11], ["created_at", "2015-10-13 16:38:24.041030"], ["updated_at", "2015-10-13 16:38:24.041030"]]  (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", 11], ["created_at", "2015-10-13 16:38:24.042908"], ["updated_at", "2015-10-13 16:38:24.042908"]]  (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", 11], ["created_at", "2015-10-13 16:38:24.044874"], ["updated_at", "2015-10-13 16:38:24.044874"]]  (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", 11], ["created_at", "2015-10-13 16:38:24.046524"], ["updated_at", "2015-10-13 16:38:24.046524"]]  (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", "T5HgKPo18mi_FVLeM2WqJA"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.8ms | ActiveRecord: 0.4ms)  (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$1y8TJqj9o9gn/OaT5zGCi.uu7L8diXy6Lcg81JdajSYA5L8Hv4qpG"], ["remember_token", "YOw3TJCvHtVhq0mTlEqtlA"], ["created_at", "2015-10-13 16:38:24.060676"], ["updated_at", "2015-10-13 16:38:24.060676"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:38:24.063817"], ["updated_at", "2015-10-13 16:38:24.063817"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:38:24.066878"], ["updated_at", "2015-10-13 16:38:24.066878"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:38:24.072648"], ["updated_at", "2015-10-13 16:38:24.072648"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:38:24.074555"], ["updated_at", "2015-10-13 16:38:24.074555"]]  (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", 10], ["created_at", "2015-10-13 16:38:24.078372"], ["updated_at", "2015-10-13 16:38:24.078372"]]  (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", 10], ["created_at", "2015-10-13 16:38:24.080726"], ["updated_at", "2015-10-13 16:38:24.080726"]]  (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", 10], ["created_at", "2015-10-13 16:38:24.083047"], ["updated_at", "2015-10-13 16:38:24.083047"]]  (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", 10], ["created_at", "2015-10-13 16:38:24.084940"], ["updated_at", "2015-10-13 16:38:24.084940"]]  (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", 10], ["created_at", "2015-10-13 16:38:24.087160"], ["updated_at", "2015-10-13 16:38:24.087160"]]  (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", "YOw3TJCvHtVhq0mTlEqtlA"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 10 OR id IN (NULL))  (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$RBRq0MKGl5eb9Ft1W3hrTOGJozmEKnA99of5GYe2aDrCr4thjssUy"], ["remember_token", "4a2SNMAlgpHPjb0hB0c4Zw"], ["created_at", "2015-10-13 16:38:24.101705"], ["updated_at", "2015-10-13 16:38:24.101705"]]  (0.0ms) 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", 10], ["created_at", "2015-10-13 16:38:24.104345"], ["updated_at", "2015-10-13 16:38:24.104345"]]  (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", 10], ["created_at", "2015-10-13 16:38:24.106511"], ["updated_at", "2015-10-13 16:38:24.106511"]]  (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", 10], ["created_at", "2015-10-13 16:38:24.108343"], ["updated_at", "2015-10-13 16:38:24.108343"]]  (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", 10], ["created_at", "2015-10-13 16:38:24.110589"], ["updated_at", "2015-10-13 16:38:24.110589"]]  (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", 10], ["created_at", "2015-10-13 16:38:24.112590"], ["updated_at", "2015-10-13 16:38:24.112590"]]  (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$ein00I71s1C49wZeiKeDt.J2LwtX5JIPPzIy.pXLXDiM6zz1ePvVW"], ["remember_token", "BYvEro4LzcDn4UtXCk_YJw"], ["created_at", "2015-10-13 16:38:24.116395"], ["updated_at", "2015-10-13 16:38:24.116395"]]  (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", 11], ["created_at", "2015-10-13 16:38:24.117808"], ["updated_at", "2015-10-13 16:38:24.117808"]]  (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", 11], ["created_at", "2015-10-13 16:38:24.121037"], ["updated_at", "2015-10-13 16:38:24.121037"]]  (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", 11], ["created_at", "2015-10-13 16:38:24.123019"], ["updated_at", "2015-10-13 16:38:24.123019"]]  (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", 11], ["created_at", "2015-10-13 16:38:24.124687"], ["updated_at", "2015-10-13 16:38:24.124687"]]  (0.0ms) 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", 11], ["created_at", "2015-10-13 16:38:24.126391"], ["updated_at", "2015-10-13 16:38:24.126391"]]  (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", 11], ["created_at", "2015-10-13 16:38:24.128384"], ["updated_at", "2015-10-13 16:38:24.128384"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:38:24.131045"], ["updated_at", "2015-10-13 16:38:24.131045"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:38:24.133896"], ["updated_at", "2015-10-13 16:38:24.133896"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:38:24.137091"], ["updated_at", "2015-10-13 16:38:24.137091"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:38:24.138340"], ["updated_at", "2015-10-13 16:38:24.138340"]]  (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", "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" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 6], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:38:24.148307"], ["updated_at", "2015-10-13 16:38:24.148307"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 2], ["created_at", "2015-10-13 16:38:24.149943"], ["updated_at", "2015-10-13 16:38:24.149943"]]  (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", "4a2SNMAlgpHPjb0hB0c4Zw"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.4ms) Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 0.9ms) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (user_id = 10 OR id IN (6))  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$cSOkO9Aj5eCRbT3bHQNnB.MvTaV4qb5T2EioQzPZHJ8y6ZgqU46Zm"], ["remember_token", "fv2jzYnm3fD47bwR4ADHcA"], ["created_at", "2015-10-13 16:40:40.053809"], ["updated_at", "2015-10-13 16:40:40.053809"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:40:40.090745"], ["updated_at", "2015-10-13 16:40:40.090745"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-13 16:40:40.108309"], ["updated_at", "2015-10-13 16:40:40.108309"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:40:40.143768"], ["updated_at", "2015-10-13 16:40:40.143768"]] SQL (1.6ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:40:40.146975"], ["updated_at", "2015-10-13 16:40:40.146975"]]  (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 1 [["remember_token", "fv2jzYnm3fD47bwR4ADHcA"]] Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.5ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 50ms (Views: 12.6ms | ActiveRecord: 2.0ms)  (0.8ms) 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$8/GD5jaNg1jxsRhaMMFlk.K4QusKBKA/N6DdMs75ksgTzx8DuwYG6"], ["remember_token", "GbLlrNxnoZ1gGay27yoCgg"], ["created_at", "2015-10-13 16:40:40.209193"], ["updated_at", "2015-10-13 16:40:40.209193"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:40:40.212145"], ["updated_at", "2015-10-13 16:40:40.212145"]]  (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", "2015-10-13 16:40:40.214742"], ["updated_at", "2015-10-13 16:40:40.214742"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:40:40.218338"], ["updated_at", "2015-10-13 16:40:40.218338"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:40:40.220311"], ["updated_at", "2015-10-13 16:40:40.220311"]]  (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", "GbLlrNxnoZ1gGay27yoCgg"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (Views: 0.8ms | 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$pbrSjUEV4hU7JDuIuwsQkeTt/AuKZePdb5zWY4U8ayqqj/ESLwtW6"], ["remember_token", "rJyo31Mvt4ZvdQPrHkaoZw"], ["created_at", "2015-10-13 16:40:40.233079"], ["updated_at", "2015-10-13 16:40:40.233079"]]  (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", "2015-10-13 16:40:40.236393"], ["updated_at", "2015-10-13 16:40:40.236393"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:40:40.239129"], ["updated_at", "2015-10-13 16:40:40.239129"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:40:40.242927"], ["updated_at", "2015-10-13 16:40:40.242927"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:40:40.244216"], ["updated_at", "2015-10-13 16:40:40.244216"]]  (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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$2v45jgfn3dVDLABsjNJ4veKr9lf8ATs/fd5axTdy5JwBtY96MT8Ma"], ["remember_token", "tHZAC2utu9WQ-WfP9W3thQ"], ["created_at", "2015-10-13 16:40:40.254754"], ["updated_at", "2015-10-13 16:40:40.254754"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (5.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", 11], ["created_at", "2015-10-13 16:40:40.257368"], ["updated_at", "2015-10-13 16:40:40.257368"]]  (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 "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 11], ["created_at", "2015-10-13 16:40:40.265351"], ["updated_at", "2015-10-13 16:40:40.265351"]]  (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", 11], ["created_at", "2015-10-13 16:40:40.267771"], ["updated_at", "2015-10-13 16:40:40.267771"]]  (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", 11], ["created_at", "2015-10-13 16:40:40.269826"], ["updated_at", "2015-10-13 16:40:40.269826"]]  (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", 11], ["created_at", "2015-10-13 16:40:40.271627"], ["updated_at", "2015-10-13 16:40:40.271627"]]  (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", "rJyo31Mvt4ZvdQPrHkaoZw"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.4ms)  (1.0ms) 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$/EagGb32MSNfC79ZWB4P1e6YAv5zsUsMp0VYiN9v8vimadCjM6.je"], ["remember_token", "Aso5AbAMJEKwD4S3erHAow"], ["created_at", "2015-10-13 16:40:40.287773"], ["updated_at", "2015-10-13 16:40:40.287773"]]  (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", "2015-10-13 16:40:40.293492"], ["updated_at", "2015-10-13 16:40:40.293492"]]  (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", "2015-10-13 16:40:40.296707"], ["updated_at", "2015-10-13 16:40:40.296707"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:40:40.300393"], ["updated_at", "2015-10-13 16:40:40.300393"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:40:40.301725"], ["updated_at", "2015-10-13 16:40:40.301725"]]  (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", 10], ["created_at", "2015-10-13 16:40:40.304302"], ["updated_at", "2015-10-13 16:40:40.304302"]]  (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", 10], ["created_at", "2015-10-13 16:40:40.306430"], ["updated_at", "2015-10-13 16:40:40.306430"]]  (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", 10], ["created_at", "2015-10-13 16:40:40.308168"], ["updated_at", "2015-10-13 16:40:40.308168"]]  (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", 10], ["created_at", "2015-10-13 16:40:40.309781"], ["updated_at", "2015-10-13 16:40:40.309781"]]  (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", 10], ["created_at", "2015-10-13 16:40:40.311429"], ["updated_at", "2015-10-13 16:40:40.311429"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$PnEupyNfHPpLGkRgFaGAX.499uJ2.Lc3W3bx4fueLsHTEwcNtd.ty"], ["remember_token", "jyM7Jyif19RZ_qvb7Oz8_Q"], ["created_at", "2015-10-13 16:40:40.315206"], ["updated_at", "2015-10-13 16:40:40.315206"]]  (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", 11], ["created_at", "2015-10-13 16:40:40.316960"], ["updated_at", "2015-10-13 16:40:40.316960"]]  (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", 11], ["created_at", "2015-10-13 16:40:40.319257"], ["updated_at", "2015-10-13 16:40:40.319257"]]  (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", 11], ["created_at", "2015-10-13 16:40:40.321636"], ["updated_at", "2015-10-13 16:40:40.321636"]]  (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", 11], ["created_at", "2015-10-13 16:40:40.323815"], ["updated_at", "2015-10-13 16:40:40.323815"]]  (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", 11], ["created_at", "2015-10-13 16:40:40.325623"], ["updated_at", "2015-10-13 16:40:40.325623"]]  (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", "Aso5AbAMJEKwD4S3erHAow"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 8ms (Views: 1.3ms | ActiveRecord: 0.7ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 10 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$aP3ZPhzFGVZ0EjoUQuSUju/BWx9NxopE0h83M3EIlscNYBeXJXxOi"], ["remember_token", "1Jh2Xs1D-gdy2tnN4JZoyA"], ["created_at", "2015-10-13 16:40:40.342534"], ["updated_at", "2015-10-13 16:40:40.342534"]]  (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", "2015-10-13 16:40:40.346130"], ["updated_at", "2015-10-13 16:40:40.346130"]]  (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", "2015-10-13 16:40:40.349254"], ["updated_at", "2015-10-13 16:40:40.349254"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:40:40.352351"], ["updated_at", "2015-10-13 16:40:40.352351"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:40:40.353781"], ["updated_at", "2015-10-13 16:40:40.353781"]]  (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", 10], ["created_at", "2015-10-13 16:40:40.356326"], ["updated_at", "2015-10-13 16:40:40.356326"]]  (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", 10], ["created_at", "2015-10-13 16:40:40.358044"], ["updated_at", "2015-10-13 16:40:40.358044"]]  (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", 10], ["created_at", "2015-10-13 16:40:40.359618"], ["updated_at", "2015-10-13 16:40:40.359618"]]  (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", 10], ["created_at", "2015-10-13 16:40:40.362211"], ["updated_at", "2015-10-13 16:40:40.362211"]]  (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", 10], ["created_at", "2015-10-13 16:40:40.363874"], ["updated_at", "2015-10-13 16:40:40.363874"]]  (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$b71VH33LvXCrFRQjAfc9EuunLUMFj9wS6FVdiQwj8X4lBLvb97Hj6"], ["remember_token", "oowA3GHIror5IWzTp_JHGw"], ["created_at", "2015-10-13 16:40:40.367599"], ["updated_at", "2015-10-13 16:40:40.367599"]]  (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", 11], ["created_at", "2015-10-13 16:40:40.369022"], ["updated_at", "2015-10-13 16:40:40.369022"]]  (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", 11], ["created_at", "2015-10-13 16:40:40.372133"], ["updated_at", "2015-10-13 16:40:40.372133"]]  (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", 11], ["created_at", "2015-10-13 16:40:40.374838"], ["updated_at", "2015-10-13 16:40:40.374838"]]  (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", 11], ["created_at", "2015-10-13 16:40:40.376808"], ["updated_at", "2015-10-13 16:40:40.376808"]]  (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", 11], ["created_at", "2015-10-13 16:40:40.378618"], ["updated_at", "2015-10-13 16:40:40.378618"]]  (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", 11], ["created_at", "2015-10-13 16:40:40.380396"], ["updated_at", "2015-10-13 16:40:40.380396"]]  (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", "articles"]] 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_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 11], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:40:40.385344"], ["updated_at", "2015-10-13 16:40:40.385344"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 2], ["created_at", "2015-10-13 16:40:40.386775"], ["updated_at", "2015-10-13 16:40:40.386775"]]  (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", "1Jh2Xs1D-gdy2tnN4JZoyA"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$xfj/EzbmgUiRwtyGEXQ4T.3aIjlv53GH50U84X1rIKYVpLsNZn.c6"], ["remember_token", "TljOYbseMS65QvrvNCaSMQ"], ["created_at", "2015-10-13 16:40:50.035627"], ["updated_at", "2015-10-13 16:40:50.035627"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-10-13 16:40:50.071911"], ["updated_at", "2015-10-13 16:40:50.071911"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-13 16:40:50.090609"], ["updated_at", "2015-10-13 16:40:50.090609"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:40:50.122850"], ["updated_at", "2015-10-13 16:40:50.122850"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:40:50.126383"], ["updated_at", "2015-10-13 16:40:50.126383"]]  (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 1 [["remember_token", "TljOYbseMS65QvrvNCaSMQ"]] Adeia::Token Load (0.7ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 50ms (Views: 12.5ms | ActiveRecord: 2.3ms)  (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$6XpeO4stMe7td7ClCVUrluZO8zSBYxoqu8zNcgDMF0DfaenZO1oYa"], ["remember_token", "B0NWHdoV05n0Mco4dM8aXw"], ["created_at", "2015-10-13 16:40:50.189291"], ["updated_at", "2015-10-13 16:40:50.189291"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:40:50.192464"], ["updated_at", "2015-10-13 16:40:50.192464"]]  (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", "2015-10-13 16:40:50.195583"], ["updated_at", "2015-10-13 16:40:50.195583"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:40:50.198938"], ["updated_at", "2015-10-13 16:40:50.198938"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:40:50.200205"], ["updated_at", "2015-10-13 16:40:50.200205"]]  (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", "B0NWHdoV05n0Mco4dM8aXw"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (Views: 0.8ms | 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$MkY6qDaMG7Gl/AOXZJwl1.pW.QllwC8j84RPsbYp7CqjrQ3oFEfZu"], ["remember_token", "tXR_vFJX3SRWktP3lMZ2RQ"], ["created_at", "2015-10-13 16:40:50.213158"], ["updated_at", "2015-10-13 16:40:50.213158"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:40:50.216278"], ["updated_at", "2015-10-13 16:40:50.216278"]]  (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", "2015-10-13 16:40:50.218876"], ["updated_at", "2015-10-13 16:40:50.218876"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:40:50.223228"], ["updated_at", "2015-10-13 16:40:50.223228"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:40:50.224965"], ["updated_at", "2015-10-13 16:40:50.224965"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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$pElhbXO6yze7RI.9fD2BOeGvYxNU90qosXQgxauwKYWeXtry2H9qS"], ["remember_token", "3sdBo-tjHZB0TMFrYq4LgA"], ["created_at", "2015-10-13 16:40:50.235392"], ["updated_at", "2015-10-13 16:40:50.235392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", 11], ["created_at", "2015-10-13 16:40:50.237669"], ["updated_at", "2015-10-13 16:40:50.237669"]]  (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", 11], ["created_at", "2015-10-13 16:40:50.241146"], ["updated_at", "2015-10-13 16:40:50.241146"]]  (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", 11], ["created_at", "2015-10-13 16:40:50.243807"], ["updated_at", "2015-10-13 16:40:50.243807"]]  (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", 11], ["created_at", "2015-10-13 16:40:50.246264"], ["updated_at", "2015-10-13 16:40:50.246264"]]  (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", 11], ["created_at", "2015-10-13 16:40:50.248683"], ["updated_at", "2015-10-13 16:40:50.248683"]]  (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", "tXR_vFJX3SRWktP3lMZ2RQ"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (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$DiseMmUn3OdLBzZti0Nz.O6VDmyI1XaaIhR.JWEcv6l5wd9tGIJYe"], ["remember_token", "J6-_IZWjaUSmoP2YxfMsbQ"], ["created_at", "2015-10-13 16:40:50.264934"], ["updated_at", "2015-10-13 16:40:50.264934"]]  (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", "2015-10-13 16:40:50.270122"], ["updated_at", "2015-10-13 16:40:50.270122"]]  (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", "2015-10-13 16:40:50.273931"], ["updated_at", "2015-10-13 16:40:50.273931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:40:50.277415"], ["updated_at", "2015-10-13 16:40:50.277415"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:40:50.278668"], ["updated_at", "2015-10-13 16:40:50.278668"]]  (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", 10], ["created_at", "2015-10-13 16:40:50.280951"], ["updated_at", "2015-10-13 16:40:50.280951"]]  (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", 10], ["created_at", "2015-10-13 16:40:50.282922"], ["updated_at", "2015-10-13 16:40:50.282922"]]  (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", 10], ["created_at", "2015-10-13 16:40:50.285766"], ["updated_at", "2015-10-13 16:40:50.285766"]]  (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", 10], ["created_at", "2015-10-13 16:40:50.287443"], ["updated_at", "2015-10-13 16:40:50.287443"]]  (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", 10], ["created_at", "2015-10-13 16:40:50.288988"], ["updated_at", "2015-10-13 16:40:50.288988"]]  (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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$kaih4Ijmn.2jKfwACjpNUObZudtKbTMXH5oVGz9O.F8dOFtAVIlGa"], ["remember_token", "kaPIadeC_PY0aNoUe7y62A"], ["created_at", "2015-10-13 16:40:50.293353"], ["updated_at", "2015-10-13 16:40:50.293353"]]  (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", 11], ["created_at", "2015-10-13 16:40:50.296537"], ["updated_at", "2015-10-13 16:40:50.296537"]]  (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", 11], ["created_at", "2015-10-13 16:40:50.299785"], ["updated_at", "2015-10-13 16:40:50.299785"]]  (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", 11], ["created_at", "2015-10-13 16:40:50.302449"], ["updated_at", "2015-10-13 16:40:50.302449"]]  (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", 11], ["created_at", "2015-10-13 16:40:50.304768"], ["updated_at", "2015-10-13 16:40:50.304768"]]  (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", 11], ["created_at", "2015-10-13 16:40:50.307262"], ["updated_at", "2015-10-13 16:40:50.307262"]]  (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", "J6-_IZWjaUSmoP2YxfMsbQ"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.4ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 10 OR id IN (NULL))  (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$a2sfAqtXL4sHsO0IvXas.Ov1hbnVvNJbtnohtS7qoNQJEWzrX3pFW"], ["remember_token", "ANOnqleiJZCNHi9Xd4nCBw"], ["created_at", "2015-10-13 16:40:50.320953"], ["updated_at", "2015-10-13 16:40:50.320953"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:40:50.324084"], ["updated_at", "2015-10-13 16:40:50.324084"]]  (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", "2015-10-13 16:40:50.326596"], ["updated_at", "2015-10-13 16:40:50.326596"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:40:50.330171"], ["updated_at", "2015-10-13 16:40:50.330171"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:40:50.331967"], ["updated_at", "2015-10-13 16:40:50.331967"]]  (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", 10], ["created_at", "2015-10-13 16:40:50.334708"], ["updated_at", "2015-10-13 16:40:50.334708"]]  (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", 10], ["created_at", "2015-10-13 16:40:50.336479"], ["updated_at", "2015-10-13 16:40:50.336479"]]  (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", 10], ["created_at", "2015-10-13 16:40:50.338163"], ["updated_at", "2015-10-13 16:40:50.338163"]]  (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", 10], ["created_at", "2015-10-13 16:40:50.339808"], ["updated_at", "2015-10-13 16:40:50.339808"]]  (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", 10], ["created_at", "2015-10-13 16:40:50.341624"], ["updated_at", "2015-10-13 16:40:50.341624"]]  (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$cn7LlfjedweHFvSyBBlPv.f6nQytjZetEiFSCmUVxl24W9bvFYMXW"], ["remember_token", "UU-RMGlE46GUCIGlfqJEAg"], ["created_at", "2015-10-13 16:40:50.345438"], ["updated_at", "2015-10-13 16:40:50.345438"]]  (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", 11], ["created_at", "2015-10-13 16:40:50.346858"], ["updated_at", "2015-10-13 16:40:50.346858"]]  (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", 11], ["created_at", "2015-10-13 16:40:50.348726"], ["updated_at", "2015-10-13 16:40:50.348726"]]  (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", 11], ["created_at", "2015-10-13 16:40:50.350419"], ["updated_at", "2015-10-13 16:40:50.350419"]]  (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", 11], ["created_at", "2015-10-13 16:40:50.352356"], ["updated_at", "2015-10-13 16:40:50.352356"]]  (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", 11], ["created_at", "2015-10-13 16:40:50.356382"], ["updated_at", "2015-10-13 16:40:50.356382"]]  (0.3ms) 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", 11], ["created_at", "2015-10-13 16:40:50.359190"], ["updated_at", "2015-10-13 16:40:50.359190"]]  (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.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 11], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:40:50.366822"], ["updated_at", "2015-10-13 16:40:50.366822"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 2], ["created_at", "2015-10-13 16:40:50.369020"], ["updated_at", "2015-10-13 16:40:50.369020"]]  (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", "ANOnqleiJZCNHi9Xd4nCBw"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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) Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE (user_id = 10 OR id IN (11))  (1.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$zvEd1XKHX6kVR1JE6d0v.uda4fgWroMNBz5UnWxeZGPs49qP7Qp7G"], ["remember_token", "5BI6i4A1DK0gtU5hnpRyhw"], ["created_at", "2015-10-13 16:41:03.892944"], ["updated_at", "2015-10-13 16:41:03.892944"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:41:03.932214"], ["updated_at", "2015-10-13 16:41:03.932214"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.4ms) 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", "2015-10-13 16:41:03.949775"], ["updated_at", "2015-10-13 16:41:03.949775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:41:03.986035"], ["updated_at", "2015-10-13 16:41:03.986035"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:41:03.989163"], ["updated_at", "2015-10-13 16:41:03.989163"]]  (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 1 [["remember_token", "5BI6i4A1DK0gtU5hnpRyhw"]] Adeia::Token Load (0.5ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 50ms (Views: 12.3ms | ActiveRecord: 2.2ms)  (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$GrSgSB/M81WS1ene7/7ljelGS2BMUccDX6VIQPjPAdTvZmJTxVF5G"], ["remember_token", "8EmMk2gcL-5VAMSOyNGYYg"], ["created_at", "2015-10-13 16:41:04.051763"], ["updated_at", "2015-10-13 16:41:04.051763"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:41:04.054983"], ["updated_at", "2015-10-13 16:41:04.054983"]]  (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", "2015-10-13 16:41:04.057469"], ["updated_at", "2015-10-13 16:41:04.057469"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:41:04.061600"], ["updated_at", "2015-10-13 16:41:04.061600"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:41:04.062978"], ["updated_at", "2015-10-13 16:41:04.062978"]]  (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", "8EmMk2gcL-5VAMSOyNGYYg"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.4ms) Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.6ms)  (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$FYsW3kwEcVptmVPex6wwWuQGh20iiyPCilU0XeAyZDrLbDd8DhjEm"], ["remember_token", "lCILo18DvfUYUJpv3_OYtA"], ["created_at", "2015-10-13 16:41:04.080158"], ["updated_at", "2015-10-13 16:41:04.080158"]]  (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", "2015-10-13 16:41:04.084490"], ["updated_at", "2015-10-13 16:41:04.084490"]]  (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", "2015-10-13 16:41:04.087863"], ["updated_at", "2015-10-13 16:41:04.087863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:41:04.091141"], ["updated_at", "2015-10-13 16:41:04.091141"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:41:04.093026"], ["updated_at", "2015-10-13 16:41:04.093026"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$CzCXiDWs6a./XWgIoukqjOyI8Le5/Jg30QZdUg9ngBNP.DqLxz6xK"], ["remember_token", "Y6Dk4qzLCoC4OYBmPwKyfg"], ["created_at", "2015-10-13 16:41:04.104920"], ["updated_at", "2015-10-13 16:41:04.104920"]]  (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", 11], ["created_at", "2015-10-13 16:41:04.108750"], ["updated_at", "2015-10-13 16:41:04.108750"]]  (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", 11], ["created_at", "2015-10-13 16:41:04.113141"], ["updated_at", "2015-10-13 16:41:04.113141"]]  (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", 11], ["created_at", "2015-10-13 16:41:04.115528"], ["updated_at", "2015-10-13 16:41:04.115528"]]  (0.0ms) 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", 11], ["created_at", "2015-10-13 16:41:04.117617"], ["updated_at", "2015-10-13 16:41:04.117617"]]  (0.0ms) 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", 11], ["created_at", "2015-10-13 16:41:04.119624"], ["updated_at", "2015-10-13 16:41:04.119624"]]  (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", "lCILo18DvfUYUJpv3_OYtA"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.4ms)  (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$auCRxBPFo6jeD9cLMZpst.hoSJV/fT.Q03O.WVqZMoD5T8VgyGwhi"], ["remember_token", "UwUX-zDyWzss1pSF4vVjRQ"], ["created_at", "2015-10-13 16:41:04.132946"], ["updated_at", "2015-10-13 16:41:04.132946"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:41:04.136172"], ["updated_at", "2015-10-13 16:41:04.136172"]]  (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", "2015-10-13 16:41:04.138686"], ["updated_at", "2015-10-13 16:41:04.138686"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:41:04.142773"], ["updated_at", "2015-10-13 16:41:04.142773"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:41:04.144788"], ["updated_at", "2015-10-13 16:41:04.144788"]]  (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", 10], ["created_at", "2015-10-13 16:41:04.148090"], ["updated_at", "2015-10-13 16:41:04.148090"]]  (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", 10], ["created_at", "2015-10-13 16:41:04.149866"], ["updated_at", "2015-10-13 16:41:04.149866"]]  (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", 10], ["created_at", "2015-10-13 16:41:04.151437"], ["updated_at", "2015-10-13 16:41:04.151437"]]  (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", 10], ["created_at", "2015-10-13 16:41:04.153117"], ["updated_at", "2015-10-13 16:41:04.153117"]]  (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", 10], ["created_at", "2015-10-13 16:41:04.155538"], ["updated_at", "2015-10-13 16:41:04.155538"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$B6CNxw9F4NmOpJJ0IQ7qpuoi5NXajswDJPUWdgQ4dmXOZ9G2x4Hnu"], ["remember_token", "l_6k6lF8-GuG4FTUvsawtQ"], ["created_at", "2015-10-13 16:41:04.162415"], ["updated_at", "2015-10-13 16:41:04.162415"]]  (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", 11], ["created_at", "2015-10-13 16:41:04.164930"], ["updated_at", "2015-10-13 16:41:04.164930"]]  (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", 11], ["created_at", "2015-10-13 16:41:04.167591"], ["updated_at", "2015-10-13 16:41:04.167591"]]  (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", 11], ["created_at", "2015-10-13 16:41:04.169748"], ["updated_at", "2015-10-13 16:41:04.169748"]]  (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", 11], ["created_at", "2015-10-13 16:41:04.171546"], ["updated_at", "2015-10-13 16:41:04.171546"]]  (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", 11], ["created_at", "2015-10-13 16:41:04.173276"], ["updated_at", "2015-10-13 16:41:04.173276"]]  (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", "UwUX-zDyWzss1pSF4vVjRQ"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms) Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE (user_id = 10 OR id IN (NULL))  (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$HB.48aVSq6eZlbO37msSD.sN.rwC3AAsu7eBrgBaK.LUmBWqV86Ay"], ["remember_token", "i2yrbIO-F622uz8yBInM7Q"], ["created_at", "2015-10-13 16:41:04.190415"], ["updated_at", "2015-10-13 16:41:04.190415"]]  (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", "2015-10-13 16:41:04.196229"], ["updated_at", "2015-10-13 16:41:04.196229"]]  (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", "2015-10-13 16:41:04.199611"], ["updated_at", "2015-10-13 16:41:04.199611"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:41:04.203070"], ["updated_at", "2015-10-13 16:41:04.203070"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:41:04.204307"], ["updated_at", "2015-10-13 16:41:04.204307"]]  (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", 10], ["created_at", "2015-10-13 16:41:04.206787"], ["updated_at", "2015-10-13 16:41:04.206787"]]  (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", 10], ["created_at", "2015-10-13 16:41:04.209050"], ["updated_at", "2015-10-13 16:41:04.209050"]]  (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", 10], ["created_at", "2015-10-13 16:41:04.211171"], ["updated_at", "2015-10-13 16:41:04.211171"]]  (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", 10], ["created_at", "2015-10-13 16:41:04.212999"], ["updated_at", "2015-10-13 16:41:04.212999"]]  (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", 10], ["created_at", "2015-10-13 16:41:04.214703"], ["updated_at", "2015-10-13 16:41:04.214703"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$0yNz5JgsGDYSOEgg1.mxgeikUhDvedMvOMWuHEdDSS042egjYV9x."], ["remember_token", "Kruct4YpLsNBUR2qSGwt_g"], ["created_at", "2015-10-13 16:41:04.218683"], ["updated_at", "2015-10-13 16:41:04.218683"]]  (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", 11], ["created_at", "2015-10-13 16:41:04.220783"], ["updated_at", "2015-10-13 16:41:04.220783"]]  (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", 11], ["created_at", "2015-10-13 16:41:04.222833"], ["updated_at", "2015-10-13 16:41:04.222833"]]  (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", 11], ["created_at", "2015-10-13 16:41:04.224578"], ["updated_at", "2015-10-13 16:41:04.224578"]]  (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", 11], ["created_at", "2015-10-13 16:41:04.226343"], ["updated_at", "2015-10-13 16:41:04.226343"]]  (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", 11], ["created_at", "2015-10-13 16:41:04.229190"], ["updated_at", "2015-10-13 16:41:04.229190"]]  (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", 11], ["created_at", "2015-10-13 16:41:04.231205"], ["updated_at", "2015-10-13 16:41:04.231205"]]  (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", "articles"]] 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_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 11], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:41:04.236301"], ["updated_at", "2015-10-13 16:41:04.236301"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 2], ["created_at", "2015-10-13 16:41:04.237755"], ["updated_at", "2015-10-13 16:41:04.237755"]]  (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", "i2yrbIO-F622uz8yBInM7Q"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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: 1.0ms | ActiveRecord: 0.5ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 10 OR id IN (11))  (2.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$Vx847Q.BY9j1/uPhskAv.OrJ6Vt2S6f7R58esf/0/S/0HHwbG0WDW"], ["remember_token", "7Q9LKZAixg8y9_4J9COZQg"], ["created_at", "2015-10-13 16:44:52.526004"], ["updated_at", "2015-10-13 16:44:52.526004"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:44:52.567288"], ["updated_at", "2015-10-13 16:44:52.567288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-13 16:44:52.585869"], ["updated_at", "2015-10-13 16:44:52.585869"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:44:52.619091"], ["updated_at", "2015-10-13 16:44:52.619091"]] SQL (1.8ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:44:52.622557"], ["updated_at", "2015-10-13 16:44:52.622557"]]  (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 1 [["remember_token", "7Q9LKZAixg8y9_4J9COZQg"]] Adeia::Token Load (0.6ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 54ms (Views: 14.6ms | ActiveRecord: 2.2ms)  (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$a4gMEZwBrYGqMLuhgmBpNOIW6BGN/WltnRzGVhiWXU6RE8tU0YQKK"], ["remember_token", "-2GerfmLErxIcg0gq7dzbg"], ["created_at", "2015-10-13 16:44:52.689941"], ["updated_at", "2015-10-13 16:44:52.689941"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:44:52.692946"], ["updated_at", "2015-10-13 16:44:52.692946"]]  (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", "2015-10-13 16:44:52.695826"], ["updated_at", "2015-10-13 16:44:52.695826"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:44:52.699293"], ["updated_at", "2015-10-13 16:44:52.699293"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:44:52.700586"], ["updated_at", "2015-10-13 16:44:52.700586"]]  (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", "-2GerfmLErxIcg0gq7dzbg"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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$ikQHjXP42dE4h1VZzCFbJu4XnmAhqktGpFnwQsXvL5VDjn45pa4mu"], ["remember_token", "uO-CbGobtAx4gcJ6-NrFJg"], ["created_at", "2015-10-13 16:44:52.713859"], ["updated_at", "2015-10-13 16:44:52.713859"]]  (0.0ms) 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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:44:52.717764"], ["updated_at", "2015-10-13 16:44:52.717764"]]  (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.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:44:52.721698"], ["updated_at", "2015-10-13 16:44:52.721698"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:44:52.725646"], ["updated_at", "2015-10-13 16:44:52.725646"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:44:52.727510"], ["updated_at", "2015-10-13 16:44:52.727510"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$5zzmCPuRGtP7fAUoFhTJfO6GUQw5qg0IzNICAJV8mbftMbSxrI2dG"], ["remember_token", "IJKcPXAcwangm8s3dGW3Hg"], ["created_at", "2015-10-13 16:44:52.740696"], ["updated_at", "2015-10-13 16:44:52.740696"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", 11], ["created_at", "2015-10-13 16:44:52.743089"], ["updated_at", "2015-10-13 16:44:52.743089"]]  (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", 11], ["created_at", "2015-10-13 16:44:52.746172"], ["updated_at", "2015-10-13 16:44:52.746172"]]  (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", 11], ["created_at", "2015-10-13 16:44:52.747955"], ["updated_at", "2015-10-13 16:44:52.747955"]]  (0.0ms) 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", 11], ["created_at", "2015-10-13 16:44:52.749654"], ["updated_at", "2015-10-13 16:44:52.749654"]]  (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", 11], ["created_at", "2015-10-13 16:44:52.752198"], ["updated_at", "2015-10-13 16:44:52.752198"]]  (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", "uO-CbGobtAx4gcJ6-NrFJg"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered articles/index.html.erb within layouts/application (0.5ms) Completed 200 OK in 9ms (Views: 1.6ms | ActiveRecord: 0.7ms)  (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$hulPdOLkTDsYGBoFx3s.3.hMZuu9PzwRK0PR4BqhGhTW7xtCrA8fa"], ["remember_token", "zczVcddbSL7hmDpqg4XoMA"], ["created_at", "2015-10-13 16:44:52.770976"], ["updated_at", "2015-10-13 16:44:52.770976"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:44:52.775694"], ["updated_at", "2015-10-13 16:44:52.775694"]]  (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", "2015-10-13 16:44:52.779273"], ["updated_at", "2015-10-13 16:44:52.779273"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:44:52.784040"], ["updated_at", "2015-10-13 16:44:52.784040"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:44:52.785446"], ["updated_at", "2015-10-13 16:44:52.785446"]]  (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", 10], ["created_at", "2015-10-13 16:44:52.789206"], ["updated_at", "2015-10-13 16:44:52.789206"]]  (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", 10], ["created_at", "2015-10-13 16:44:52.791855"], ["updated_at", "2015-10-13 16:44:52.791855"]]  (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", 10], ["created_at", "2015-10-13 16:44:52.793572"], ["updated_at", "2015-10-13 16:44:52.793572"]]  (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", 10], ["created_at", "2015-10-13 16:44:52.795716"], ["updated_at", "2015-10-13 16:44:52.795716"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", 10], ["created_at", "2015-10-13 16:44:52.798012"], ["updated_at", "2015-10-13 16:44:52.798012"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$ASEBX.PxJLJQJBDmu4iz0eu/m5C4dqHTwpSZRW9Ly5pKVqzyX4yPC"], ["remember_token", "rkTluVHHutGabAri1tMGiA"], ["created_at", "2015-10-13 16:44:52.803500"], ["updated_at", "2015-10-13 16:44:52.803500"]]  (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", 11], ["created_at", "2015-10-13 16:44:52.806360"], ["updated_at", "2015-10-13 16:44:52.806360"]]  (0.0ms) 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", 11], ["created_at", "2015-10-13 16:44:52.808741"], ["updated_at", "2015-10-13 16:44:52.808741"]]  (0.2ms) 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", 11], ["created_at", "2015-10-13 16:44:52.810994"], ["updated_at", "2015-10-13 16:44:52.810994"]]  (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", 11], ["created_at", "2015-10-13 16:44:52.813174"], ["updated_at", "2015-10-13 16:44:52.813174"]]  (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", 11], ["created_at", "2015-10-13 16:44:52.815745"], ["updated_at", "2015-10-13 16:44:52.815745"]]  (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", "zczVcddbSL7hmDpqg4XoMA"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 7ms (Views: 0.9ms | ActiveRecord: 0.6ms) Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE (user_id = 10 OR id IN (NULL))  (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$gcCHVCk54pE36xSeOlWSkuuvmguw32mbGj/dmI7IhHIzVm4.Z8X/q"], ["remember_token", "a7fnH5x0MgxpQG1896Velg"], ["created_at", "2015-10-13 16:44:52.831008"], ["updated_at", "2015-10-13 16:44:52.831008"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:44:52.834290"], ["updated_at", "2015-10-13 16:44:52.834290"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:44:52.837190"], ["updated_at", "2015-10-13 16:44:52.837190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:44:52.843328"], ["updated_at", "2015-10-13 16:44:52.843328"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:44:52.845269"], ["updated_at", "2015-10-13 16:44:52.845269"]]  (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", 10], ["created_at", "2015-10-13 16:44:52.848574"], ["updated_at", "2015-10-13 16:44:52.848574"]]  (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", 10], ["created_at", "2015-10-13 16:44:52.850782"], ["updated_at", "2015-10-13 16:44:52.850782"]]  (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", 10], ["created_at", "2015-10-13 16:44:52.852738"], ["updated_at", "2015-10-13 16:44:52.852738"]]  (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", 10], ["created_at", "2015-10-13 16:44:52.854705"], ["updated_at", "2015-10-13 16:44:52.854705"]]  (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", 10], ["created_at", "2015-10-13 16:44:52.856413"], ["updated_at", "2015-10-13 16:44:52.856413"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$DNiiaqu4xhb96I73g.xXKuw18/ey/8ipWyw5QVaEtRDqj7B0KihHG"], ["remember_token", "g9PUJ9AkV2HVIhTDVqFeVA"], ["created_at", "2015-10-13 16:44:52.860670"], ["updated_at", "2015-10-13 16:44:52.860670"]]  (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", 11], ["created_at", "2015-10-13 16:44:52.862694"], ["updated_at", "2015-10-13 16:44:52.862694"]]  (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", 11], ["created_at", "2015-10-13 16:44:52.865784"], ["updated_at", "2015-10-13 16:44:52.865784"]]  (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", 11], ["created_at", "2015-10-13 16:44:52.867988"], ["updated_at", "2015-10-13 16:44:52.867988"]]  (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", 11], ["created_at", "2015-10-13 16:44:52.870969"], ["updated_at", "2015-10-13 16:44:52.870969"]]  (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", 11], ["created_at", "2015-10-13 16:44:52.873436"], ["updated_at", "2015-10-13 16:44:52.873436"]]  (0.0ms) 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", 11], ["created_at", "2015-10-13 16:44:52.875239"], ["updated_at", "2015-10-13 16:44:52.875239"]]  (0.0ms) 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.0ms) 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" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 11], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:44:52.880539"], ["updated_at", "2015-10-13 16:44:52.880539"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 2], ["created_at", "2015-10-13 16:44:52.881933"], ["updated_at", "2015-10-13 16:44:52.881933"]]  (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", "a7fnH5x0MgxpQG1896Velg"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 10 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$F/Iz3ndpHmx8p0d1S7CtrOrdO5plDvENnHP3VSNZuLIaXLjiSnjoi"], ["remember_token", "h5exS-raqii6DuVJB4jSlQ"], ["created_at", "2015-10-13 16:44:52.898028"], ["updated_at", "2015-10-13 16:44:52.898028"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$1C1fapgXoOULtvE4cbJXy.JW1T/D2rexNqG1ZpBmccLsbc1nZKZfu"], ["remember_token", "BnEuuX74b2vtiS0EAzKySw"], ["created_at", "2015-10-13 16:44:52.903915"], ["updated_at", "2015-10-13 16:44:52.903915"]]  (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", 11], ["created_at", "2015-10-13 16:44:52.906401"], ["updated_at", "2015-10-13 16:44:52.906401"]]  (0.0ms) 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", 11], ["created_at", "2015-10-13 16:44:52.908556"], ["updated_at", "2015-10-13 16:44:52.908556"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$TbaRX0u1InEV47HGfM2zyu7TPSVumVYZ9Ws1LGDj1B4SB/6JeFk2K"], ["remember_token", "aOxa-P_avAYZ6uoKygiigg"], ["created_at", "2015-10-13 16:45:04.399391"], ["updated_at", "2015-10-13 16:45:04.399391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) 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", "2015-10-13 16:45:04.435850"], ["updated_at", "2015-10-13 16:45:04.435850"]]  (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", "2015-10-13 16:45:04.454641"], ["updated_at", "2015-10-13 16:45:04.454641"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:45:04.485598"], ["updated_at", "2015-10-13 16:45:04.485598"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:45:04.489596"], ["updated_at", "2015-10-13 16:45:04.489596"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "aOxa-P_avAYZ6uoKygiigg"]] Adeia::Token Load (0.5ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 43ms (Views: 12.4ms | ActiveRecord: 2.3ms)  (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$4FktIPxvdAkvFch4ISJuV.fyMfFrOs0onQkJfUbXeFdawFntyj8EO"], ["remember_token", "EGcDc77GKLCj5ZJlQsSe3Q"], ["created_at", "2015-10-13 16:45:04.548318"], ["updated_at", "2015-10-13 16:45:04.548318"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:45:04.554467"], ["updated_at", "2015-10-13 16:45:04.554467"]]  (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", "2015-10-13 16:45:04.559114"], ["updated_at", "2015-10-13 16:45:04.559114"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:45:04.563538"], ["updated_at", "2015-10-13 16:45:04.563538"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:45:04.565573"], ["updated_at", "2015-10-13 16:45:04.565573"]]  (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 1 [["remember_token", "EGcDc77GKLCj5ZJlQsSe3Q"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.5ms) Completed 200 OK in 8ms (Views: 1.8ms | ActiveRecord: 0.8ms)  (1.0ms) 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$6kC4xDA5pdHY4XMz9Dbn0OZdcFcVTThBtORuSvnIA12etFgGMvMTi"], ["remember_token", "sJdthCKmNPRQowpMU5VBfg"], ["created_at", "2015-10-13 16:45:04.595375"], ["updated_at", "2015-10-13 16:45:04.595375"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:45:04.600433"], ["updated_at", "2015-10-13 16:45:04.600433"]]  (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", "2015-10-13 16:45:04.604936"], ["updated_at", "2015-10-13 16:45:04.604936"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:45:04.609767"], ["updated_at", "2015-10-13 16:45:04.609767"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:45:04.611882"], ["updated_at", "2015-10-13 16:45:04.611882"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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$FXyutM6/QCQ5fPhuxP4N7etTkmBvbU2gnvP20iy/Z5WiCZAD5nAGG"], ["remember_token", "C49SvtXR3LpIvPoAtABn1w"], ["created_at", "2015-10-13 16:45:04.626920"], ["updated_at", "2015-10-13 16:45:04.626920"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 11], ["created_at", "2015-10-13 16:45:04.630865"], ["updated_at", "2015-10-13 16:45:04.630865"]]  (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.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", 11], ["created_at", "2015-10-13 16:45:04.635122"], ["updated_at", "2015-10-13 16:45:04.635122"]]  (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", 11], ["created_at", "2015-10-13 16:45:04.638311"], ["updated_at", "2015-10-13 16:45:04.638311"]]  (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", 11], ["created_at", "2015-10-13 16:45:04.641500"], ["updated_at", "2015-10-13 16:45:04.641500"]]  (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", 11], ["created_at", "2015-10-13 16:45:04.644417"], ["updated_at", "2015-10-13 16:45:04.644417"]]  (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", "sJdthCKmNPRQowpMU5VBfg"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 8ms (Views: 1.2ms | 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$8g4HICQ2l6vY.zXziVdaiOFv9Mtcn/aBhlHwlARWuzqcPTgS5Xyve"], ["remember_token", "zaWUyHRl1VcQDK2u-HvbOw"], ["created_at", "2015-10-13 16:45:04.663055"], ["updated_at", "2015-10-13 16:45:04.663055"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:45:04.667075"], ["updated_at", "2015-10-13 16:45:04.667075"]]  (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", "2015-10-13 16:45:04.670294"], ["updated_at", "2015-10-13 16:45:04.670294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:45:04.673892"], ["updated_at", "2015-10-13 16:45:04.673892"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:45:04.675242"], ["updated_at", "2015-10-13 16:45:04.675242"]]  (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", 10], ["created_at", "2015-10-13 16:45:04.677661"], ["updated_at", "2015-10-13 16:45:04.677661"]]  (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", 10], ["created_at", "2015-10-13 16:45:04.679398"], ["updated_at", "2015-10-13 16:45:04.679398"]]  (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", 10], ["created_at", "2015-10-13 16:45:04.680971"], ["updated_at", "2015-10-13 16:45:04.680971"]]  (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", 10], ["created_at", "2015-10-13 16:45:04.682560"], ["updated_at", "2015-10-13 16:45:04.682560"]]  (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", 10], ["created_at", "2015-10-13 16:45:04.684111"], ["updated_at", "2015-10-13 16:45:04.684111"]]  (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$W1BNpPH5jJGLhQsHofvKOOjJMGkFf83HG04hVmYpe8AdLuhohz4jW"], ["remember_token", "kkbED4J0_rbb1DqIQHtTrQ"], ["created_at", "2015-10-13 16:45:04.689584"], ["updated_at", "2015-10-13 16:45:04.689584"]]  (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", 11], ["created_at", "2015-10-13 16:45:04.692360"], ["updated_at", "2015-10-13 16:45:04.692360"]]  (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", 11], ["created_at", "2015-10-13 16:45:04.696076"], ["updated_at", "2015-10-13 16:45:04.696076"]]  (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", 11], ["created_at", "2015-10-13 16:45:04.698466"], ["updated_at", "2015-10-13 16:45:04.698466"]]  (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", 11], ["created_at", "2015-10-13 16:45:04.700611"], ["updated_at", "2015-10-13 16:45:04.700611"]]  (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", 11], ["created_at", "2015-10-13 16:45:04.702881"], ["updated_at", "2015-10-13 16:45:04.702881"]]  (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", "zaWUyHRl1VcQDK2u-HvbOw"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 10 OR id IN (NULL))  (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$wNYZZcrJv7794M0WXxJpz.mqkxUUQeGwimoIRzxEvClKW/ATfaIJW"], ["remember_token", "HlIL56NedcbH6WEY2Vjiyg"], ["created_at", "2015-10-13 16:45:04.719105"], ["updated_at", "2015-10-13 16:45:04.719105"]]  (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", "2015-10-13 16:45:04.723029"], ["updated_at", "2015-10-13 16:45:04.723029"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:45:04.726619"], ["updated_at", "2015-10-13 16:45:04.726619"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:45:04.731012"], ["updated_at", "2015-10-13 16:45:04.731012"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:45:04.733074"], ["updated_at", "2015-10-13 16:45:04.733074"]]  (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", 10], ["created_at", "2015-10-13 16:45:04.737020"], ["updated_at", "2015-10-13 16:45:04.737020"]]  (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", 10], ["created_at", "2015-10-13 16:45:04.739971"], ["updated_at", "2015-10-13 16:45:04.739971"]]  (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", 10], ["created_at", "2015-10-13 16:45:04.742710"], ["updated_at", "2015-10-13 16:45:04.742710"]]  (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", 10], ["created_at", "2015-10-13 16:45:04.745287"], ["updated_at", "2015-10-13 16:45:04.745287"]]  (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", 10], ["created_at", "2015-10-13 16:45:04.747972"], ["updated_at", "2015-10-13 16:45:04.747972"]]  (0.2ms) 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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$sqx.stJBCbQK.O81WhZ3c.mZK/uv3a6WuKnXgb6J7RR8TUMcecGSq"], ["remember_token", "R7ad9KgFK-OzgzL_kANCzg"], ["created_at", "2015-10-13 16:45:04.754806"], ["updated_at", "2015-10-13 16:45:04.754806"]]  (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", 11], ["created_at", "2015-10-13 16:45:04.758011"], ["updated_at", "2015-10-13 16:45:04.758011"]]  (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", 11], ["created_at", "2015-10-13 16:45:04.761172"], ["updated_at", "2015-10-13 16:45:04.761172"]]  (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", 11], ["created_at", "2015-10-13 16:45:04.764733"], ["updated_at", "2015-10-13 16:45:04.764733"]]  (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", 11], ["created_at", "2015-10-13 16:45:04.768139"], ["updated_at", "2015-10-13 16:45:04.768139"]]  (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.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", 11], ["created_at", "2015-10-13 16:45:04.771419"], ["updated_at", "2015-10-13 16:45:04.771419"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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", 11], ["created_at", "2015-10-13 16:45:04.775894"], ["updated_at", "2015-10-13 16:45:04.775894"]]  (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" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 11], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:45:04.790225"], ["updated_at", "2015-10-13 16:45:04.790225"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 2], ["created_at", "2015-10-13 16:45:04.792229"], ["updated_at", "2015-10-13 16:45:04.792229"]]  (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", "HlIL56NedcbH6WEY2Vjiyg"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 7ms (Views: 0.9ms | ActiveRecord: 0.6ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 10 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$x2cQqxfiyz6fo0ztvS57/Oimvy/3vbE9WYCZKCOgW3XczcMSEJhHG"], ["remember_token", "QkeB-EeyZK391Ek4YPySdA"], ["created_at", "2015-10-13 16:45:04.810700"], ["updated_at", "2015-10-13 16:45:04.810700"]]  (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.5ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$L2zz6KQkmBQYF8MXN6nh3.op05FDQKtA5TqdeuEVXV57d3ycFx6ZC"], ["remember_token", "OWzvpiJCGbFj3rJgc-2FdA"], ["created_at", "2015-10-13 16:45:04.815858"], ["updated_at", "2015-10-13 16:45:04.815858"]]  (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", 11], ["created_at", "2015-10-13 16:45:04.818094"], ["updated_at", "2015-10-13 16:45:04.818094"]]  (0.0ms) 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", 11], ["created_at", "2015-10-13 16:45:04.820179"], ["updated_at", "2015-10-13 16:45:04.820179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$RlC1OO2kIHiOGDaJ1xRRMeDPc0ilMSiS2WSFCTl6mQR/noNSTkLjC"], ["remember_token", "WT_2BzbI-yP_uuCSYl0_Ew"], ["created_at", "2015-10-13 16:45:14.014689"], ["updated_at", "2015-10-13 16:45:14.014689"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:45:14.057235"], ["updated_at", "2015-10-13 16:45:14.057235"]]  (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", "2015-10-13 16:45:14.076620"], ["updated_at", "2015-10-13 16:45:14.076620"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:45:14.110156"], ["updated_at", "2015-10-13 16:45:14.110156"]] SQL (1.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:45:14.114166"], ["updated_at", "2015-10-13 16:45:14.114166"]]  (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 1 [["remember_token", "WT_2BzbI-yP_uuCSYl0_Ew"]] Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.5ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 51ms (Views: 12.0ms | ActiveRecord: 2.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$DTMnxMK0BCGJH6iZgvSSfuPPosWWNFqU0YdvwiT/Ybj9./FslSSsW"], ["remember_token", "KIpGTzeXsf1sz_vHOMeEqA"], ["created_at", "2015-10-13 16:45:14.178969"], ["updated_at", "2015-10-13 16:45:14.178969"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:45:14.183506"], ["updated_at", "2015-10-13 16:45:14.183506"]]  (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", "2015-10-13 16:45:14.188207"], ["updated_at", "2015-10-13 16:45:14.188207"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:45:14.192412"], ["updated_at", "2015-10-13 16:45:14.192412"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:45:14.193762"], ["updated_at", "2015-10-13 16:45:14.193762"]]  (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", "KIpGTzeXsf1sz_vHOMeEqA"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (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$40HmZalUrSE6HV8qZ/HiWO7KUoclJuxy1VuRmykvvDzhZCoThm3YS"], ["remember_token", "OJ3ibfOqDFiqYyhpiw24HA"], ["created_at", "2015-10-13 16:45:14.207467"], ["updated_at", "2015-10-13 16:45:14.207467"]]  (0.0ms) 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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:45:14.212267"], ["updated_at", "2015-10-13 16:45:14.212267"]]  (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", "2015-10-13 16:45:14.215589"], ["updated_at", "2015-10-13 16:45:14.215589"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:45:14.218544"], ["updated_at", "2015-10-13 16:45:14.218544"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:45:14.220311"], ["updated_at", "2015-10-13 16:45:14.220311"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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$JW76nIWFPEK0hhe/30UUi.yO699IBZMR5uEl8Maz6XdTwPiHIBvqy"], ["remember_token", "F-D6-c01RwJ9TTFjJavYNg"], ["created_at", "2015-10-13 16:45:14.233096"], ["updated_at", "2015-10-13 16:45:14.233096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", 11], ["created_at", "2015-10-13 16:45:14.235701"], ["updated_at", "2015-10-13 16:45:14.235701"]]  (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", 11], ["created_at", "2015-10-13 16:45:14.238935"], ["updated_at", "2015-10-13 16:45:14.238935"]]  (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", 11], ["created_at", "2015-10-13 16:45:14.240735"], ["updated_at", "2015-10-13 16:45:14.240735"]]  (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", 11], ["created_at", "2015-10-13 16:45:14.242389"], ["updated_at", "2015-10-13 16:45:14.242389"]]  (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", 11], ["created_at", "2015-10-13 16:45:14.244085"], ["updated_at", "2015-10-13 16:45:14.244085"]]  (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", "OJ3ibfOqDFiqYyhpiw24HA"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.4ms)  (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$VIxH8V8Ue9JNRz2o3H2QgeMVLSJ5CWPIxOQxAC5skQGmgFoTZzT8O"], ["remember_token", "1KkjRzf98vdepKJuhF4Qww"], ["created_at", "2015-10-13 16:45:14.261795"], ["updated_at", "2015-10-13 16:45:14.261795"]]  (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", "2015-10-13 16:45:14.266298"], ["updated_at", "2015-10-13 16:45:14.266298"]]  (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", "2015-10-13 16:45:14.269612"], ["updated_at", "2015-10-13 16:45:14.269612"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:45:14.273342"], ["updated_at", "2015-10-13 16:45:14.273342"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:45:14.274675"], ["updated_at", "2015-10-13 16:45:14.274675"]]  (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", 10], ["created_at", "2015-10-13 16:45:14.277055"], ["updated_at", "2015-10-13 16:45:14.277055"]]  (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", 10], ["created_at", "2015-10-13 16:45:14.279083"], ["updated_at", "2015-10-13 16:45:14.279083"]]  (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", 10], ["created_at", "2015-10-13 16:45:14.280801"], ["updated_at", "2015-10-13 16:45:14.280801"]]  (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", 10], ["created_at", "2015-10-13 16:45:14.282331"], ["updated_at", "2015-10-13 16:45:14.282331"]]  (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", 10], ["created_at", "2015-10-13 16:45:14.285300"], ["updated_at", "2015-10-13 16:45:14.285300"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$vVESVkqpPrEzrjBhr.EZwuSfYKbkyl8D3IYixwlKOtdfPRMN1U2Tm"], ["remember_token", "xym5IhlTSm15RpZImghP8A"], ["created_at", "2015-10-13 16:45:14.291430"], ["updated_at", "2015-10-13 16:45:14.291430"]]  (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", 11], ["created_at", "2015-10-13 16:45:14.293262"], ["updated_at", "2015-10-13 16:45:14.293262"]]  (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", 11], ["created_at", "2015-10-13 16:45:14.295224"], ["updated_at", "2015-10-13 16:45:14.295224"]]  (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", 11], ["created_at", "2015-10-13 16:45:14.297323"], ["updated_at", "2015-10-13 16:45:14.297323"]]  (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", 11], ["created_at", "2015-10-13 16:45:14.299178"], ["updated_at", "2015-10-13 16:45:14.299178"]]  (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.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", 11], ["created_at", "2015-10-13 16:45:14.300988"], ["updated_at", "2015-10-13 16:45:14.300988"]]  (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", "1KkjRzf98vdepKJuhF4Qww"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 8ms (Views: 1.1ms | ActiveRecord: 0.7ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 10 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$57GePTUev8JqlycT7ek.aOJfb6Z1IfRlZ5SVd0XqC17ylfdIJ8xEi"], ["remember_token", "ltUnJSqgS0F62xdbtLK8UA"], ["created_at", "2015-10-13 16:45:14.320045"], ["updated_at", "2015-10-13 16:45:14.320045"]]  (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", "2015-10-13 16:45:14.324169"], ["updated_at", "2015-10-13 16:45:14.324169"]]  (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", "2015-10-13 16:45:14.327326"], ["updated_at", "2015-10-13 16:45:14.327326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:45:14.330682"], ["updated_at", "2015-10-13 16:45:14.330682"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:45:14.331975"], ["updated_at", "2015-10-13 16:45:14.331975"]]  (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", 10], ["created_at", "2015-10-13 16:45:14.334322"], ["updated_at", "2015-10-13 16:45:14.334322"]]  (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", 10], ["created_at", "2015-10-13 16:45:14.335983"], ["updated_at", "2015-10-13 16:45:14.335983"]]  (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", 10], ["created_at", "2015-10-13 16:45:14.338438"], ["updated_at", "2015-10-13 16:45:14.338438"]]  (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", 10], ["created_at", "2015-10-13 16:45:14.340021"], ["updated_at", "2015-10-13 16:45:14.340021"]]  (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", 10], ["created_at", "2015-10-13 16:45:14.341544"], ["updated_at", "2015-10-13 16:45:14.341544"]]  (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$DOe.vldxi.iw3ZSAZ3SHC.F9Q37bgarNHvxNwN5rveqnsgVTXpbRe"], ["remember_token", "eJYz1PsYGY13i-WlO0YE9Q"], ["created_at", "2015-10-13 16:45:14.345329"], ["updated_at", "2015-10-13 16:45:14.345329"]]  (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", 11], ["created_at", "2015-10-13 16:45:14.346773"], ["updated_at", "2015-10-13 16:45:14.346773"]]  (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", 11], ["created_at", "2015-10-13 16:45:14.349850"], ["updated_at", "2015-10-13 16:45:14.349850"]]  (0.2ms) 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", 11], ["created_at", "2015-10-13 16:45:14.353125"], ["updated_at", "2015-10-13 16:45:14.353125"]]  (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", 11], ["created_at", "2015-10-13 16:45:14.356157"], ["updated_at", "2015-10-13 16:45:14.356157"]]  (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", 11], ["created_at", "2015-10-13 16:45:14.359071"], ["updated_at", "2015-10-13 16:45:14.359071"]]  (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", 11], ["created_at", "2015-10-13 16:45:14.361059"], ["updated_at", "2015-10-13 16:45:14.361059"]]  (0.0ms) 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.0ms) 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" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 11], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:45:14.366984"], ["updated_at", "2015-10-13 16:45:14.366984"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 2], ["created_at", "2015-10-13 16:45:14.368679"], ["updated_at", "2015-10-13 16:45:14.368679"]]  (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", "ltUnJSqgS0F62xdbtLK8UA"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 10 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$98V1SXu4Gjti6Bx8CpQIJ.HumBr2f5cbiVm78yyOxoIJII2FWT0ry"], ["remember_token", "xNA8BLQCUNcZi7AiSvSG2Q"], ["created_at", "2015-10-13 16:45:14.383737"], ["updated_at", "2015-10-13 16:45:14.383737"]]  (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.5ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$7F8lUPC3s8j.uv9ZLB0wK.GBI9UhZ.h1/HGg4vgV3dqdIcaZGEvAy"], ["remember_token", "PE6yNH3eh-e6YCltHF4kYA"], ["created_at", "2015-10-13 16:45:14.388637"], ["updated_at", "2015-10-13 16:45:14.388637"]]  (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", 11], ["created_at", "2015-10-13 16:45:14.391199"], ["updated_at", "2015-10-13 16:45:14.391199"]]  (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", 11], ["created_at", "2015-10-13 16:45:14.393314"], ["updated_at", "2015-10-13 16:45:14.393314"]]  (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", 11], ["created_at", "2015-10-13 16:45:14.395167"], ["updated_at", "2015-10-13 16:45:14.395167"]]  (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", 11], ["created_at", "2015-10-13 16:45:14.396915"], ["updated_at", "2015-10-13 16:45:14.396915"]]  (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", 11], ["created_at", "2015-10-13 16:45:14.398633"], ["updated_at", "2015-10-13 16:45:14.398633"]]  (0.0ms) 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", 11], ["created_at", "2015-10-13 16:45:14.400395"], ["updated_at", "2015-10-13 16:45:14.400395"]]  (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", 11], ["created_at", "2015-10-13 16:45:14.402154"], ["updated_at", "2015-10-13 16:45:14.402154"]]  (0.0ms) 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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:45:14.405182"], ["updated_at", "2015-10-13 16:45:14.405182"]]  (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", "2015-10-13 16:45:14.407601"], ["updated_at", "2015-10-13 16:45:14.407601"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:45:14.412717"], ["updated_at", "2015-10-13 16:45:14.412717"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:45:14.415295"], ["updated_at", "2015-10-13 16:45:14.415295"]]  (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" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 2], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:45:14.424441"], ["updated_at", "2015-10-13 16:45:14.424441"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 2], ["created_at", "2015-10-13 16:45:14.426106"], ["updated_at", "2015-10-13 16:45:14.426106"]]  (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", "xNA8BLQCUNcZi7AiSvSG2Q"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$YphkQkaCd5eb9vePyJ8riOJGMHq95U4PyCLbTPQpUykK6joWjfeaq"], ["remember_token", "ff0kHOsZfNo6QCdWZKjNJQ"], ["created_at", "2015-10-13 16:46:23.414114"], ["updated_at", "2015-10-13 16:46:23.414114"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.8ms) 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", "2015-10-13 16:46:23.451424"], ["updated_at", "2015-10-13 16:46:23.451424"]]  (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", "2015-10-13 16:46:23.469915"], ["updated_at", "2015-10-13 16:46:23.469915"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:46:23.502332"], ["updated_at", "2015-10-13 16:46:23.502332"]] SQL (1.8ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:46:23.505869"], ["updated_at", "2015-10-13 16:46:23.505869"]]  (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 1 [["remember_token", "ff0kHOsZfNo6QCdWZKjNJQ"]] Adeia::Token Load (0.6ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 51ms (Views: 12.3ms | ActiveRecord: 2.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$O0KBja6DqqF73zkGZQByaenAerXFwrbqufQuVDfJvfjlpZwT26oZa"], ["remember_token", "9EdzMqKh1r2IbKrB8RrNiA"], ["created_at", "2015-10-13 16:46:23.569978"], ["updated_at", "2015-10-13 16:46:23.569978"]]  (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", "2015-10-13 16:46:23.573103"], ["updated_at", "2015-10-13 16:46:23.573103"]]  (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", "2015-10-13 16:46:23.575657"], ["updated_at", "2015-10-13 16:46:23.575657"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:46:23.579531"], ["updated_at", "2015-10-13 16:46:23.579531"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:46:23.580805"], ["updated_at", "2015-10-13 16:46:23.580805"]]  (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", "9EdzMqKh1r2IbKrB8RrNiA"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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$FXST4s3.hBortp8tB277cuIKpuu2WgN8PcdudernwuIbul/AkW/s2"], ["remember_token", "sFSYQDo7lZyNy3nm7HsphA"], ["created_at", "2015-10-13 16:46:23.594102"], ["updated_at", "2015-10-13 16:46:23.594102"]]  (0.0ms) 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", "2015-10-13 16:46:23.597048"], ["updated_at", "2015-10-13 16:46:23.597048"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:46:23.599510"], ["updated_at", "2015-10-13 16:46:23.599510"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:46:23.605311"], ["updated_at", "2015-10-13 16:46:23.605311"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:46:23.607398"], ["updated_at", "2015-10-13 16:46:23.607398"]]  (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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$LytXQaUxzo7p60CIuXICQOgRAKwek5.YG3C/i9MwitUgR7YztnjXu"], ["remember_token", "sdMDXkbkovWLT_eQ7KJ16A"], ["created_at", "2015-10-13 16:46:23.619249"], ["updated_at", "2015-10-13 16:46:23.619249"]]  (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", 11], ["created_at", "2015-10-13 16:46:23.622103"], ["updated_at", "2015-10-13 16:46:23.622103"]]  (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", 11], ["created_at", "2015-10-13 16:46:23.625777"], ["updated_at", "2015-10-13 16:46:23.625777"]]  (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", 11], ["created_at", "2015-10-13 16:46:23.627697"], ["updated_at", "2015-10-13 16:46:23.627697"]]  (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", 11], ["created_at", "2015-10-13 16:46:23.629453"], ["updated_at", "2015-10-13 16:46:23.629453"]]  (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", 11], ["created_at", "2015-10-13 16:46:23.631118"], ["updated_at", "2015-10-13 16:46:23.631118"]]  (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", "sFSYQDo7lZyNy3nm7HsphA"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.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$D21ffBpYVLFY862kMHpr5eSqDmezM9Jz.T.VRTB0FtpPR69yQFbiK"], ["remember_token", "vyr-Ug8w4CdKEalNtiVYCw"], ["created_at", "2015-10-13 16:46:23.645935"], ["updated_at", "2015-10-13 16:46:23.645935"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:46:23.649074"], ["updated_at", "2015-10-13 16:46:23.649074"]]  (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", "2015-10-13 16:46:23.651517"], ["updated_at", "2015-10-13 16:46:23.651517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:46:23.655174"], ["updated_at", "2015-10-13 16:46:23.655174"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:46:23.656442"], ["updated_at", "2015-10-13 16:46:23.656442"]]  (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", 10], ["created_at", "2015-10-13 16:46:23.660758"], ["updated_at", "2015-10-13 16:46:23.660758"]]  (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", 10], ["created_at", "2015-10-13 16:46:23.663694"], ["updated_at", "2015-10-13 16:46:23.663694"]]  (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", 10], ["created_at", "2015-10-13 16:46:23.666174"], ["updated_at", "2015-10-13 16:46:23.666174"]]  (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", 10], ["created_at", "2015-10-13 16:46:23.667909"], ["updated_at", "2015-10-13 16:46:23.667909"]]  (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", 10], ["created_at", "2015-10-13 16:46:23.669587"], ["updated_at", "2015-10-13 16:46:23.669587"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$hY77q.XocHen6WSax9DeNuaHa6jk/CwOwBeAitqC321ac2CuxMmVa"], ["remember_token", "0G79MALOGQHNWVGxJYyImg"], ["created_at", "2015-10-13 16:46:23.673875"], ["updated_at", "2015-10-13 16:46:23.673875"]]  (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", 11], ["created_at", "2015-10-13 16:46:23.675309"], ["updated_at", "2015-10-13 16:46:23.675309"]]  (0.2ms) 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.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", 11], ["created_at", "2015-10-13 16:46:23.678326"], ["updated_at", "2015-10-13 16:46:23.678326"]]  (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", 11], ["created_at", "2015-10-13 16:46:23.681914"], ["updated_at", "2015-10-13 16:46:23.681914"]]  (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.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", 11], ["created_at", "2015-10-13 16:46:23.684604"], ["updated_at", "2015-10-13 16:46:23.684604"]]  (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", 11], ["created_at", "2015-10-13 16:46:23.688619"], ["updated_at", "2015-10-13 16:46:23.688619"]]  (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", "vyr-Ug8w4CdKEalNtiVYCw"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 10 OR id IN (NULL))  (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$YnaS5hurV8Vc4B04kGOLWuLvDHd/lC8XxFgtVbJ2ll1F2jieuHYve"], ["remember_token", "BeEYD07mkSwZsmB0kv04Hg"], ["created_at", "2015-10-13 16:46:23.702976"], ["updated_at", "2015-10-13 16:46:23.702976"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:46:23.706511"], ["updated_at", "2015-10-13 16:46:23.706511"]]  (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", "2015-10-13 16:46:23.709004"], ["updated_at", "2015-10-13 16:46:23.709004"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:46:23.714842"], ["updated_at", "2015-10-13 16:46:23.714842"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:46:23.716847"], ["updated_at", "2015-10-13 16:46:23.716847"]]  (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", 10], ["created_at", "2015-10-13 16:46:23.720988"], ["updated_at", "2015-10-13 16:46:23.720988"]]  (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", 10], ["created_at", "2015-10-13 16:46:23.724153"], ["updated_at", "2015-10-13 16:46:23.724153"]]  (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", 10], ["created_at", "2015-10-13 16:46:23.726733"], ["updated_at", "2015-10-13 16:46:23.726733"]]  (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", 10], ["created_at", "2015-10-13 16:46:23.729186"], ["updated_at", "2015-10-13 16:46:23.729186"]]  (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", 10], ["created_at", "2015-10-13 16:46:23.731299"], ["updated_at", "2015-10-13 16:46:23.731299"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$TxiJYxpflVv2HcHdOcuKvuHrP3b0Vr.hcj13iEnpe8Z7FIbHyik7S"], ["remember_token", "cD9acaCDE6ruAnkpxrfkmA"], ["created_at", "2015-10-13 16:46:23.736429"], ["updated_at", "2015-10-13 16:46:23.736429"]]  (0.2ms) 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", 11], ["created_at", "2015-10-13 16:46:23.738723"], ["updated_at", "2015-10-13 16:46:23.738723"]]  (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", 11], ["created_at", "2015-10-13 16:46:23.741093"], ["updated_at", "2015-10-13 16:46:23.741093"]]  (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", 11], ["created_at", "2015-10-13 16:46:23.743009"], ["updated_at", "2015-10-13 16:46:23.743009"]]  (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", 11], ["created_at", "2015-10-13 16:46:23.744730"], ["updated_at", "2015-10-13 16:46:23.744730"]]  (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", 11], ["created_at", "2015-10-13 16:46:23.746716"], ["updated_at", "2015-10-13 16:46:23.746716"]]  (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", 11], ["created_at", "2015-10-13 16:46:23.748544"], ["updated_at", "2015-10-13 16:46:23.748544"]]  (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", "articles"]] 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_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 11], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:46:23.753430"], ["updated_at", "2015-10-13 16:46:23.753430"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 2], ["created_at", "2015-10-13 16:46:23.754872"], ["updated_at", "2015-10-13 16:46:23.754872"]]  (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", "BeEYD07mkSwZsmB0kv04Hg"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 (user_id = 10 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$xi.ImZ2Mc9nAHQlR2OpuFeTHizuoKzQh24miLh8ww0Ebd0RbCMpOm"], ["remember_token", "OMIC_rnDFoTuX1AnoM2n5Q"], ["created_at", "2015-10-13 16:46:23.770539"], ["updated_at", "2015-10-13 16:46:23.770539"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$sRstowiRmLs7.ek/4LLcU.YdPRdZgT9pAIkdxd.omkmQqVcH.O7pm"], ["remember_token", "mPd8Jmhze47iS0Am-B8NMQ"], ["created_at", "2015-10-13 16:46:23.775481"], ["updated_at", "2015-10-13 16:46:23.775481"]]  (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", 11], ["created_at", "2015-10-13 16:46:23.779047"], ["updated_at", "2015-10-13 16:46:23.779047"]]  (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", 11], ["created_at", "2015-10-13 16:46:23.782619"], ["updated_at", "2015-10-13 16:46:23.782619"]]  (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", 11], ["created_at", "2015-10-13 16:46:23.785843"], ["updated_at", "2015-10-13 16:46:23.785843"]]  (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", 11], ["created_at", "2015-10-13 16:46:23.788452"], ["updated_at", "2015-10-13 16:46:23.788452"]]  (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", 11], ["created_at", "2015-10-13 16:46:23.790602"], ["updated_at", "2015-10-13 16:46:23.790602"]]  (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", 11], ["created_at", "2015-10-13 16:46:23.792922"], ["updated_at", "2015-10-13 16:46:23.792922"]]  (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", 11], ["created_at", "2015-10-13 16:46:23.795982"], ["updated_at", "2015-10-13 16:46:23.795982"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:46:23.801099"], ["updated_at", "2015-10-13 16:46:23.801099"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:46:23.804741"], ["updated_at", "2015-10-13 16:46:23.804741"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:46:23.808444"], ["updated_at", "2015-10-13 16:46:23.808444"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:46:23.809751"], ["updated_at", "2015-10-13 16:46:23.809751"]]  (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.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 2], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:46:23.815988"], ["updated_at", "2015-10-13 16:46:23.815988"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 2], ["created_at", "2015-10-13 16:46:23.817326"], ["updated_at", "2015-10-13 16:46:23.817326"]]  (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", "OMIC_rnDFoTuX1AnoM2n5Q"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.4ms) Completed 200 OK in 9ms (Views: 1.3ms | ActiveRecord: 0.8ms) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$C2NzflHDjESI0zrRDTIp9.vot8kP0lXiHvT6U8Xg56xLI6nnWkZhy"], ["remember_token", "KBN42nTriGZSnQk4NnhSeA"], ["created_at", "2015-10-13 16:48:41.033305"], ["updated_at", "2015-10-13 16:48:41.033305"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) 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", "2015-10-13 16:48:41.070746"], ["updated_at", "2015-10-13 16:48:41.070746"]]  (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", "2015-10-13 16:48:41.089146"], ["updated_at", "2015-10-13 16:48:41.089146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:48:41.123451"], ["updated_at", "2015-10-13 16:48:41.123451"]] SQL (1.7ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:48:41.126604"], ["updated_at", "2015-10-13 16:48:41.126604"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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$nC3OgU2iAaWRlutsUDFr8uhFSoTMXqVq7R2Uphnjk8lywXkiOw4Tm"], ["remember_token", "FIzfi0cmYSdnGK1eW6Kmqg"], ["created_at", "2015-10-13 16:48:41.143392"], ["updated_at", "2015-10-13 16:48:41.143392"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", 11], ["created_at", "2015-10-13 16:48:41.146038"], ["updated_at", "2015-10-13 16:48:41.146038"]]  (0.1ms) 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$kPkEUZWCZAZNtClr.v4ms.d6cBOtLdSWMj5Vdl3vSQbVw8psz4C46"], ["remember_token", "9DHL6_HxOdnFUqFBwKuOFw"], ["created_at", "2015-10-13 16:48:41.163590"], ["updated_at", "2015-10-13 16:48:41.163590"]]  (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", "2015-10-13 16:48:41.166895"], ["updated_at", "2015-10-13 16:48:41.166895"]]  (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", "2015-10-13 16:48:41.169400"], ["updated_at", "2015-10-13 16:48:41.169400"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:48:41.172544"], ["updated_at", "2015-10-13 16:48:41.172544"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:48:41.173989"], ["updated_at", "2015-10-13 16:48:41.173989"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$jX2bPs3Yh0nQYUq5JIQrzOWh3/ToTUlgNM/2lkxq.Zit/IlMpe4FO"], ["remember_token", "e5C_KLf2pOxmLmPY2vlBqA"], ["created_at", "2015-10-13 16:48:41.179228"], ["updated_at", "2015-10-13 16:48:41.179228"]]  (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", 11], ["created_at", "2015-10-13 16:48:41.180811"], ["updated_at", "2015-10-13 16:48:41.180811"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$sU/icAfTz/WuDTzGxiGIxOddNKJiWUKwAMqT1FcZ1RQB8GpDO/abi"], ["remember_token", "iNwT4m3jotflPYcaSe8jSw"], ["created_at", "2015-10-13 16:49:45.098930"], ["updated_at", "2015-10-13 16:49:45.098930"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) 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", "2015-10-13 16:49:45.140695"], ["updated_at", "2015-10-13 16:49:45.140695"]]  (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", "2015-10-13 16:49:45.158780"], ["updated_at", "2015-10-13 16:49:45.158780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:49:45.189889"], ["updated_at", "2015-10-13 16:49:45.189889"]] SQL (1.4ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:49:45.193234"], ["updated_at", "2015-10-13 16:49:45.193234"]]  (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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$9QE6HkHk3K2Bh88XJdpEu.94qT4BZua4UHR8Y5r1edEqAiOeFuEwe"], ["remember_token", "u1AYN1PxAKs9ExsFumgHmg"], ["created_at", "2015-10-13 16:49:45.213081"], ["updated_at", "2015-10-13 16:49:45.213081"]]  (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", 11], ["created_at", "2015-10-13 16:49:45.216454"], ["updated_at", "2015-10-13 16:49:45.216454"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#show as HTML Parameters: {"id"=>"1"} Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 12ms (Views: 11.7ms | ActiveRecord: 0.0ms)  (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$mDB/EpCKfwyNUH3SFt6VOOX62ETRR6MH9dShqhm5oup1mqCTet1uW"], ["remember_token", "XnG1Zy87VmyD_1tVEXjHHw"], ["created_at", "2015-10-13 16:49:45.247931"], ["updated_at", "2015-10-13 16:49:45.247931"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:49:45.251089"], ["updated_at", "2015-10-13 16:49:45.251089"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:49:45.253538"], ["updated_at", "2015-10-13 16:49:45.253538"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:49:45.259376"], ["updated_at", "2015-10-13 16:49:45.259376"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:49:45.261940"], ["updated_at", "2015-10-13 16:49:45.261940"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$8XXAIhU/CRBPNZBdWNqVL.kId6uw9WzLOGWRShYCjrcoxv1OgjsYC"], ["remember_token", "PIMs7WpmlaoB7KuWWNO7bg"], ["created_at", "2015-10-13 16:49:45.268616"], ["updated_at", "2015-10-13 16:49:45.268616"]]  (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", 11], ["created_at", "2015-10-13 16:49:45.270462"], ["updated_at", "2015-10-13 16:49:45.270462"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#show as HTML Parameters: {"id"=>"1"} Rendered articles/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$FlC.yZn70vjOVWS5GcopxeYc0WLiMgtcRcPno7upB13t8KTeNEYWe"], ["remember_token", "AQO_ajkIAoCCiF0eVi5OTA"], ["created_at", "2015-10-13 16:50:04.860815"], ["updated_at", "2015-10-13 16:50:04.860815"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) 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", "2015-10-13 16:50:04.906569"], ["updated_at", "2015-10-13 16:50:04.906569"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-13 16:50:04.927276"], ["updated_at", "2015-10-13 16:50:04.927276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:50:04.958766"], ["updated_at", "2015-10-13 16:50:04.958766"]] SQL (1.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:50:04.961889"], ["updated_at", "2015-10-13 16:50:04.961889"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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$apSDT4K9fYdakTfwBYG5A.ly0suu1KYuMROFYyUkAiOd63Ikq9Noq"], ["remember_token", "KC7uDaKv1tVMoSz7q5lQnw"], ["created_at", "2015-10-13 16:50:04.979537"], ["updated_at", "2015-10-13 16:50:04.979537"]]  (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", 11], ["created_at", "2015-10-13 16:50:04.983121"], ["updated_at", "2015-10-13 16:50:04.983121"]]  (0.1ms) 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 1 [["remember_token", "AQO_ajkIAoCCiF0eVi5OTA"]] Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]] Adeia::Token Load (0.5ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.5ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Rendered articles/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 55ms (Views: 23.1ms | ActiveRecord: 2.3ms)  (1.4ms) rollback transaction  (0.2ms) 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$jDgux4EuD/pET8iwNfDXCu0XMJnnoA3fBszMpfKmKkAHTGWksfPWi"], ["remember_token", "dSVWkHyH-Ih_IH1Mu4bW-Q"], ["created_at", "2015-10-13 16:50:05.055541"], ["updated_at", "2015-10-13 16:50:05.055541"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:50:05.060253"], ["updated_at", "2015-10-13 16:50:05.060253"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:50:05.065165"], ["updated_at", "2015-10-13 16:50:05.065165"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:50:05.070182"], ["updated_at", "2015-10-13 16:50:05.070182"]] SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:50:05.071951"], ["updated_at", "2015-10-13 16:50:05.071951"]]  (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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$MaNA9SDUWMliHWc.ZGwBQO5C6LwrWa0FmklD6X/drKo8cLH8lvjxa"], ["remember_token", "4pHIN71M9FHMFiSQaHzG5Q"], ["created_at", "2015-10-13 16:50:05.079327"], ["updated_at", "2015-10-13 16:50:05.079327"]]  (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", 11], ["created_at", "2015-10-13 16:50:05.082312"], ["updated_at", "2015-10-13 16:50:05.082312"]]  (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 1 [["remember_token", "dSVWkHyH-Ih_IH1Mu4bW-Q"]] 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.2ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Rendered articles/show.html.erb within layouts/application (0.4ms) Completed 200 OK in 10ms (Views: 1.8ms | ActiveRecord: 0.8ms)  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$FvStjtP/VHtTLCQN8DXhLOx.soyx6/TjEKRmixuF3p0VIR/TJ3eXa"], ["remember_token", "f18SmAkmbNT6-LtGczlPww"], ["created_at", "2015-10-13 16:51:19.264869"], ["updated_at", "2015-10-13 16:51:19.264869"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:51:19.301376"], ["updated_at", "2015-10-13 16:51:19.301376"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:51:19.317983"], ["updated_at", "2015-10-13 16:51:19.317983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:51:19.352264"], ["updated_at", "2015-10-13 16:51:19.352264"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:51:19.354287"], ["updated_at", "2015-10-13 16:51:19.354287"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "f18SmAkmbNT6-LtGczlPww"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["create_right", "t"]] Rendered articles/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 51ms (Views: 12.8ms | ActiveRecord: 1.1ms)  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$b3DQaah6Axavd/x.i1E7z.Nqnm1yKR5RBKRIWjB0IhpxWm2EIQgU6"], ["remember_token", "ieQtJ0N6pm4mu4VcwgR_zQ"], ["created_at", "2015-10-13 16:53:17.658660"], ["updated_at", "2015-10-13 16:53:17.658660"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:53:17.697448"], ["updated_at", "2015-10-13 16:53:17.697448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-13 16:53:17.716515"], ["updated_at", "2015-10-13 16:53:17.716515"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (13.9ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:53:17.751905"], ["updated_at", "2015-10-13 16:53:17.751905"]] SQL (2.3ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:53:17.768973"], ["updated_at", "2015-10-13 16:53:17.768973"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "ieQtJ0N6pm4mu4VcwgR_zQ"]] Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (1.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["create_right", "t"]] Rendered articles/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 64ms (Views: 13.6ms | ActiveRecord: 2.7ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$A5DkVo3oPH.gaacBAesLn.6jDPAjwx0NNdMJejMsCU5LJgclGySnW"], ["remember_token", "qF75M4Lk9EV-8_TQYAB-lQ"], ["created_at", "2015-10-13 16:53:31.012873"], ["updated_at", "2015-10-13 16:53:31.012873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:53:31.055275"], ["updated_at", "2015-10-13 16:53:31.055275"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-13 16:53:31.076632"], ["updated_at", "2015-10-13 16:53:31.076632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:53:31.112119"], ["updated_at", "2015-10-13 16:53:31.112119"]] SQL (1.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:53:31.115690"], ["updated_at", "2015-10-13 16:53:31.115690"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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$3Sc/SelE9hnTdrzQZ21WMOZ/0MF4HE06TfsdXrxuT2ui07Yn7yAxS"], ["remember_token", "hcjQuXCl0onqOy-CkIX35g"], ["created_at", "2015-10-13 16:53:31.135056"], ["updated_at", "2015-10-13 16:53:31.135056"]]  (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", 11], ["created_at", "2015-10-13 16:53:31.139342"], ["updated_at", "2015-10-13 16:53:31.139342"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} Rendered articles/edit.html.erb within layouts/application (0.4ms) Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms)  (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$8X/5G5MWzmW7fE96862Bn.wNgPM0QmTcktKo.qzoSBR7F1wKyU7JS"], ["remember_token", "7XL1On2Sct1Rn0LjZb8kZw"], ["created_at", "2015-10-13 16:53:31.176486"], ["updated_at", "2015-10-13 16:53:31.176486"]]  (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", "2015-10-13 16:53:31.194044"], ["updated_at", "2015-10-13 16:53:31.194044"]]  (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", "2015-10-13 16:53:31.197723"], ["updated_at", "2015-10-13 16:53:31.197723"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:53:31.202166"], ["updated_at", "2015-10-13 16:53:31.202166"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:53:31.204198"], ["updated_at", "2015-10-13 16:53:31.204198"]]  (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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$hQQ6AGY48DKiID7M3ZFU5.aoxhYv9kRk7M1zhhzJK4.f/MFByM.V2"], ["remember_token", "82tQlXl6lfkYHwB5jcfWfA"], ["created_at", "2015-10-13 16:53:31.212593"], ["updated_at", "2015-10-13 16:53:31.212593"]]  (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", 11], ["created_at", "2015-10-13 16:53:31.215627"], ["updated_at", "2015-10-13 16:53:31.215627"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} Rendered articles/edit.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (4.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$e37CwAxzSY.ktVIsmgHwG.a3vsDvoHbcDgd0qOMVq3mXM0fxZ/MtG"], ["remember_token", "DZ-O5iU06myuiIhrXdQzCw"], ["created_at", "2015-10-13 16:53:45.954050"], ["updated_at", "2015-10-13 16:53:45.954050"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:53:45.991509"], ["updated_at", "2015-10-13 16:53:45.991509"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:53:46.008187"], ["updated_at", "2015-10-13 16:53:46.008187"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:53:46.038222"], ["updated_at", "2015-10-13 16:53:46.038222"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:53:46.040005"], ["updated_at", "2015-10-13 16:53:46.040005"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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$QP.D2YkG0Aa6bIpBf4QEh.TeYBA2GMCv0MWKalaAfzR.bW2ZgkeSK"], ["remember_token", "0w-JkAXJxk6utW9RTpoWig"], ["created_at", "2015-10-13 16:53:46.053598"], ["updated_at", "2015-10-13 16:53:46.053598"]]  (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", 11], ["created_at", "2015-10-13 16:53:46.063926"], ["updated_at", "2015-10-13 16:53:46.063926"]]  (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 1 [["remember_token", "DZ-O5iU06myuiIhrXdQzCw"]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]] Adeia::Token Load (1.7ms) 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] Rendered articles/edit.html.erb within layouts/application (0.2ms) Completed 200 OK in 38ms (Views: 8.6ms | ActiveRecord: 3.3ms)  (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$GOJ5KU5/K8kQrixFgFUbZuNZJ30Vm670yTlv7EIV4JpASFHrnSdw."], ["remember_token", "yjQ3RHHLZHo8gvIBdX_yXA"], ["created_at", "2015-10-13 16:53:46.111888"], ["updated_at", "2015-10-13 16:53:46.111888"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:53:46.115297"], ["updated_at", "2015-10-13 16:53:46.115297"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:53:46.121675"], ["updated_at", "2015-10-13 16:53:46.121675"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:53:46.126366"], ["updated_at", "2015-10-13 16:53:46.126366"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:53:46.128050"], ["updated_at", "2015-10-13 16:53:46.128050"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$chG3QKZvNDt4yjmmDahYhOD1NuajTvMlgTweX7cEqJUrneSqW.tli"], ["remember_token", "yJQsC_GGdqYDvUnA0MBm5g"], ["created_at", "2015-10-13 16:53:46.133526"], ["updated_at", "2015-10-13 16:53:46.133526"]]  (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", 11], ["created_at", "2015-10-13 16:53:46.135119"], ["updated_at", "2015-10-13 16:53:46.135119"]]  (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", "yjQ3RHHLZHo8gvIBdX_yXA"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] Rendered articles/edit.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$8GHcv0OqoOYuEfnlu6yZtuca2FFTT9Wv9pl9p.mm77q0D0QXVyL4i"], ["remember_token", "cQM4XrM1zJojjFxxK43HPQ"], ["created_at", "2015-10-13 16:55:04.544062"], ["updated_at", "2015-10-13 16:55:04.544062"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-10-13 16:55:04.578979"], ["updated_at", "2015-10-13 16:55:04.578979"]]  (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", "2015-10-13 16:55:04.597378"], ["updated_at", "2015-10-13 16:55:04.597378"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:04.629283"], ["updated_at", "2015-10-13 16:55:04.629283"]] SQL (1.7ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:04.632481"], ["updated_at", "2015-10-13 16:55:04.632481"]]  (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 1 [["remember_token", "cQM4XrM1zJojjFxxK43HPQ"]] Adeia::Token Load (0.5ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.6ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 52ms (Views: 12.8ms | ActiveRecord: 2.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$SbqUOo3GtxMV6qvYDelW5Ob2f.YWtt38mrBseptsTP51rH71B.tWC"], ["remember_token", "CsYfKHeb9VFDp7A0xk9VVA"], ["created_at", "2015-10-13 16:55:04.699299"], ["updated_at", "2015-10-13 16:55:04.699299"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:55:04.704519"], ["updated_at", "2015-10-13 16:55:04.704519"]]  (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", "2015-10-13 16:55:04.708458"], ["updated_at", "2015-10-13 16:55:04.708458"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:04.711940"], ["updated_at", "2015-10-13 16:55:04.711940"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:04.713344"], ["updated_at", "2015-10-13 16:55:04.713344"]]  (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", "CsYfKHeb9VFDp7A0xk9VVA"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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$SH38sDMF9QibgyjKQOmlE.op66Gg3x2AV74RGaZ36jx9RrVcT5ZcO"], ["remember_token", "NpfTXVsQIr-6_LsWV-_8Mw"], ["created_at", "2015-10-13 16:55:04.726728"], ["updated_at", "2015-10-13 16:55:04.726728"]]  (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", "2015-10-13 16:55:04.731949"], ["updated_at", "2015-10-13 16:55:04.731949"]]  (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", "2015-10-13 16:55:04.735298"], ["updated_at", "2015-10-13 16:55:04.735298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:04.739323"], ["updated_at", "2015-10-13 16:55:04.739323"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:04.740928"], ["updated_at", "2015-10-13 16:55:04.740928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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$GW8j7HYehb1sHLbfM1VI4eOeb0TmV/gkv5vcGq5en4rJVVZOwN1N6"], ["remember_token", "eKAVhUtyTXKdbUU0GbqgBw"], ["created_at", "2015-10-13 16:55:04.755499"], ["updated_at", "2015-10-13 16:55:04.755499"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", 11], ["created_at", "2015-10-13 16:55:04.758306"], ["updated_at", "2015-10-13 16:55:04.758306"]]  (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.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", 11], ["created_at", "2015-10-13 16:55:04.763371"], ["updated_at", "2015-10-13 16:55:04.763371"]]  (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", 11], ["created_at", "2015-10-13 16:55:04.766448"], ["updated_at", "2015-10-13 16:55:04.766448"]]  (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", 11], ["created_at", "2015-10-13 16:55:04.769075"], ["updated_at", "2015-10-13 16:55:04.769075"]]  (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", 11], ["created_at", "2015-10-13 16:55:04.771278"], ["updated_at", "2015-10-13 16:55:04.771278"]]  (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", "NpfTXVsQIr-6_LsWV-_8Mw"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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$NGvr2ZjLo6Vfnz96dTwvveIwHGINBgx3NwtS6poQG8388dopl1zl2"], ["remember_token", "ytGu09NdqP1y-egxEpG8Xg"], ["created_at", "2015-10-13 16:55:04.785779"], ["updated_at", "2015-10-13 16:55:04.785779"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:55:04.788819"], ["updated_at", "2015-10-13 16:55:04.788819"]]  (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", "2015-10-13 16:55:04.791303"], ["updated_at", "2015-10-13 16:55:04.791303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:04.795132"], ["updated_at", "2015-10-13 16:55:04.795132"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:04.796562"], ["updated_at", "2015-10-13 16:55:04.796562"]]  (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", 10], ["created_at", "2015-10-13 16:55:04.798864"], ["updated_at", "2015-10-13 16:55:04.798864"]]  (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", 10], ["created_at", "2015-10-13 16:55:04.801835"], ["updated_at", "2015-10-13 16:55:04.801835"]]  (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", 10], ["created_at", "2015-10-13 16:55:04.805022"], ["updated_at", "2015-10-13 16:55:04.805022"]]  (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", 10], ["created_at", "2015-10-13 16:55:04.808013"], ["updated_at", "2015-10-13 16:55:04.808013"]]  (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", 10], ["created_at", "2015-10-13 16:55:04.810220"], ["updated_at", "2015-10-13 16:55:04.810220"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$hkPlwZELU00XVN02hKDfsO75PS6sd4/v9.AwgwyRZgIl19tjS4oFW"], ["remember_token", "3DCwVc_y7qgFPMW7Yq1zEg"], ["created_at", "2015-10-13 16:55:04.814781"], ["updated_at", "2015-10-13 16:55:04.814781"]]  (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", 11], ["created_at", "2015-10-13 16:55:04.816366"], ["updated_at", "2015-10-13 16:55:04.816366"]]  (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", 11], ["created_at", "2015-10-13 16:55:04.819019"], ["updated_at", "2015-10-13 16:55:04.819019"]]  (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", 11], ["created_at", "2015-10-13 16:55:04.820929"], ["updated_at", "2015-10-13 16:55:04.820929"]]  (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", 11], ["created_at", "2015-10-13 16:55:04.822943"], ["updated_at", "2015-10-13 16:55:04.822943"]]  (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", 11], ["created_at", "2015-10-13 16:55:04.825598"], ["updated_at", "2015-10-13 16:55:04.825598"]]  (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", "ytGu09NdqP1y-egxEpG8Xg"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.4ms) Completed 200 OK in 8ms (Views: 1.5ms | ActiveRecord: 0.6ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 10 OR id IN (NULL))  (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$YoDRW0aEsCzrC9VlTJem.u9HteSuPE7jFWDUb8FL.MWXyvbGoqpIO"], ["remember_token", "jCIyGKhEXjzlbur_owQ2jQ"], ["created_at", "2015-10-13 16:55:04.844345"], ["updated_at", "2015-10-13 16:55:04.844345"]]  (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", "2015-10-13 16:55:04.848779"], ["updated_at", "2015-10-13 16:55:04.848779"]]  (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", "2015-10-13 16:55:04.852058"], ["updated_at", "2015-10-13 16:55:04.852058"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:04.855253"], ["updated_at", "2015-10-13 16:55:04.855253"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:04.856524"], ["updated_at", "2015-10-13 16:55:04.856524"]]  (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", 10], ["created_at", "2015-10-13 16:55:04.858902"], ["updated_at", "2015-10-13 16:55:04.858902"]]  (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", 10], ["created_at", "2015-10-13 16:55:04.860565"], ["updated_at", "2015-10-13 16:55:04.860565"]]  (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", 10], ["created_at", "2015-10-13 16:55:04.863628"], ["updated_at", "2015-10-13 16:55:04.863628"]]  (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", 10], ["created_at", "2015-10-13 16:55:04.866794"], ["updated_at", "2015-10-13 16:55:04.866794"]]  (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", 10], ["created_at", "2015-10-13 16:55:04.868892"], ["updated_at", "2015-10-13 16:55:04.868892"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$tfwYJxAiNFJNM5.RkIcIcefFxCl4FTnlJWAbSFeZdILcZK/LomXnO"], ["remember_token", "uxtRgZ48baaem29QyIC33w"], ["created_at", "2015-10-13 16:55:04.875177"], ["updated_at", "2015-10-13 16:55:04.875177"]]  (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", 11], ["created_at", "2015-10-13 16:55:04.876979"], ["updated_at", "2015-10-13 16:55:04.876979"]]  (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", 11], ["created_at", "2015-10-13 16:55:04.878943"], ["updated_at", "2015-10-13 16:55:04.878943"]]  (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", 11], ["created_at", "2015-10-13 16:55:04.880686"], ["updated_at", "2015-10-13 16:55:04.880686"]]  (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", 11], ["created_at", "2015-10-13 16:55:04.882548"], ["updated_at", "2015-10-13 16:55:04.882548"]]  (0.0ms) 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", 11], ["created_at", "2015-10-13 16:55:04.884260"], ["updated_at", "2015-10-13 16:55:04.884260"]]  (0.0ms) 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", 11], ["created_at", "2015-10-13 16:55:04.885938"], ["updated_at", "2015-10-13 16:55:04.885938"]]  (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", "articles"]] 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.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 11], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:04.891276"], ["updated_at", "2015-10-13 16:55:04.891276"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 2], ["created_at", "2015-10-13 16:55:04.892927"], ["updated_at", "2015-10-13 16:55:04.892927"]]  (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", "jCIyGKhEXjzlbur_owQ2jQ"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.4ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 10 OR id IN (11))  (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$RnvER1M2U10orGtriEwooOKP7Lr.b9ukhNMsRhBo5rAkHhrESCddS"], ["remember_token", "2tvS8NXoFIJvUhq2mg6m5Q"], ["created_at", "2015-10-13 16:55:04.909000"], ["updated_at", "2015-10-13 16:55:04.909000"]]  (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.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$bjxPlZGDjQiUvlWrkbC2Zecswft0hbxtRgbCGFeET7nMGjQ74Q6Na"], ["remember_token", "pb6ARmkz3Mf0WpmTyNn1eA"], ["created_at", "2015-10-13 16:55:04.913683"], ["updated_at", "2015-10-13 16:55:04.913683"]]  (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", 11], ["created_at", "2015-10-13 16:55:04.917578"], ["updated_at", "2015-10-13 16:55:04.917578"]]  (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", 11], ["created_at", "2015-10-13 16:55:04.920776"], ["updated_at", "2015-10-13 16:55:04.920776"]]  (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", 11], ["created_at", "2015-10-13 16:55:04.923473"], ["updated_at", "2015-10-13 16:55:04.923473"]]  (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", 11], ["created_at", "2015-10-13 16:55:04.926051"], ["updated_at", "2015-10-13 16:55:04.926051"]]  (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", 11], ["created_at", "2015-10-13 16:55:04.928564"], ["updated_at", "2015-10-13 16:55:04.928564"]]  (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", 11], ["created_at", "2015-10-13 16:55:04.930575"], ["updated_at", "2015-10-13 16:55:04.930575"]]  (0.0ms) 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", 11], ["created_at", "2015-10-13 16:55:04.932314"], ["updated_at", "2015-10-13 16:55:04.932314"]]  (0.0ms) 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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:55:04.935389"], ["updated_at", "2015-10-13 16:55:04.935389"]]  (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", "2015-10-13 16:55:04.937734"], ["updated_at", "2015-10-13 16:55:04.937734"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:04.941770"], ["updated_at", "2015-10-13 16:55:04.941770"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:04.943562"], ["updated_at", "2015-10-13 16:55:04.943562"]]  (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" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 2], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:04.952798"], ["updated_at", "2015-10-13 16:55:04.952798"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 2], ["created_at", "2015-10-13 16:55:04.954479"], ["updated_at", "2015-10-13 16:55:04.954479"]]  (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", "2tvS8NXoFIJvUhq2mg6m5Q"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.5ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (3.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$Q9/H4bE8zTggFGETNYJ7qu04waawfsMMOJQbZqUJBsm/ZI6PChrlG"], ["remember_token", "h1iH7h6wGEG5moRM8aD_VQ"], ["created_at", "2015-10-13 16:55:04.972323"], ["updated_at", "2015-10-13 16:55:04.972323"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:55:04.976035"], ["updated_at", "2015-10-13 16:55:04.976035"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:55:04.979397"], ["updated_at", "2015-10-13 16:55:04.979397"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:04.990007"], ["updated_at", "2015-10-13 16:55:04.990007"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:04.991564"], ["updated_at", "2015-10-13 16:55:04.991564"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$U/n5.KfQmUSC2MUCKEYQY.8oUzBYISOMDlCE2pg3dqgzT4miX5TS6"], ["remember_token", "pkzTjfUu8L_t78ht1L4tOg"], ["created_at", "2015-10-13 16:55:04.996489"], ["updated_at", "2015-10-13 16:55:04.996489"]]  (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", 11], ["created_at", "2015-10-13 16:55:04.997998"], ["updated_at", "2015-10-13 16:55:04.997998"]]  (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", "h1iH7h6wGEG5moRM8aD_VQ"]] 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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Rendered articles/show.html.erb within layouts/application (0.4ms) Completed 200 OK in 9ms (Views: 3.7ms | ActiveRecord: 0.6ms)  (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$f00pCZk29HiMmUjIM3QuEury9CQVzj8J6OVLKMxNCZxuO3AwbnXfy"], ["remember_token", "I8BGcbO8IBszAs32bHVMlA"], ["created_at", "2015-10-13 16:55:05.016342"], ["updated_at", "2015-10-13 16:55:05.016342"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:55:05.019860"], ["updated_at", "2015-10-13 16:55:05.019860"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:55:05.022997"], ["updated_at", "2015-10-13 16:55:05.022997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:05.025966"], ["updated_at", "2015-10-13 16:55:05.025966"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:05.027245"], ["updated_at", "2015-10-13 16:55:05.027245"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$ReQuA42y9dBV50lgthRol.lZor7xAu7UueZmxN1DwBS7xBtcbWb2G"], ["remember_token", "vTOQKRspdStMxxoYMVFU8A"], ["created_at", "2015-10-13 16:55:05.031862"], ["updated_at", "2015-10-13 16:55:05.031862"]]  (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", 11], ["created_at", "2015-10-13 16:55:05.033347"], ["updated_at", "2015-10-13 16:55:05.033347"]]  (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", "I8BGcbO8IBszAs32bHVMlA"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.0ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (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$GYd2dcb4a4jjPjzBgDmMwuPCmIKVXF4q/kNJQPT.6zeMaKDYVa/F2"], ["remember_token", "fCfPNMbPrsKgNsbM0yxw3w"], ["created_at", "2015-10-13 16:55:05.045117"], ["updated_at", "2015-10-13 16:55:05.045117"]]  (0.0ms) 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", "2015-10-13 16:55:05.049005"], ["updated_at", "2015-10-13 16:55:05.049005"]]  (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", "2015-10-13 16:55:05.052003"], ["updated_at", "2015-10-13 16:55:05.052003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:05.055147"], ["updated_at", "2015-10-13 16:55:05.055147"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:05.056403"], ["updated_at", "2015-10-13 16:55:05.056403"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "fCfPNMbPrsKgNsbM0yxw3w"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["create_right", "t"]] Rendered articles/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 8ms (Views: 3.4ms | ActiveRecord: 0.8ms)  (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$UR0Y/irNh0UZvSJYza8G9Ox5yryJnV3/myF/p3x3RpKmonkPeS/nO"], ["remember_token", "Re9DEfeIPqaK-_rHbmYtpw"], ["created_at", "2015-10-13 16:55:05.074209"], ["updated_at", "2015-10-13 16:55:05.074209"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:55:05.077542"], ["updated_at", "2015-10-13 16:55:05.077542"]]  (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", "2015-10-13 16:55:05.081042"], ["updated_at", "2015-10-13 16:55:05.081042"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:05.084585"], ["updated_at", "2015-10-13 16:55:05.084585"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:05.085919"], ["updated_at", "2015-10-13 16:55:05.085919"]]  (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$WzpTJISQIQMfngLrwzA6Ve4oqXUKIjWcGe18P57uBlDPtsLddfWbe"], ["remember_token", "uQ6YKV3CTmuTTjM3XyvmKw"], ["created_at", "2015-10-13 16:55:05.090342"], ["updated_at", "2015-10-13 16:55:05.090342"]]  (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", 11], ["created_at", "2015-10-13 16:55:05.091950"], ["updated_at", "2015-10-13 16:55:05.091950"]]  (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", "Re9DEfeIPqaK-_rHbmYtpw"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] Rendered articles/edit.html.erb within layouts/application (0.5ms) Completed 200 OK in 7ms (Views: 3.7ms | ActiveRecord: 0.5ms)  (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$p08okARWcwfqbd0sAgapJuxjajmxxW3tlSOTMShk7eZMGMGn401tW"], ["remember_token", "Qb6BC5rqloGboXwVEM8GhQ"], ["created_at", "2015-10-13 16:55:05.109977"], ["updated_at", "2015-10-13 16:55:05.109977"]]  (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", "2015-10-13 16:55:05.114335"], ["updated_at", "2015-10-13 16:55:05.114335"]]  (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", "2015-10-13 16:55:05.117455"], ["updated_at", "2015-10-13 16:55:05.117455"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:05.120914"], ["updated_at", "2015-10-13 16:55:05.120914"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:05.122413"], ["updated_at", "2015-10-13 16:55:05.122413"]]  (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$HzVbDPPruzPfitADmQMScuS4lxqq5rowH2kGmE7MPO1j05C3QEGdS"], ["remember_token", "UXnFVweN7QMYYiez9TwICw"], ["created_at", "2015-10-13 16:55:05.127363"], ["updated_at", "2015-10-13 16:55:05.127363"]]  (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", 11], ["created_at", "2015-10-13 16:55:05.128994"], ["updated_at", "2015-10-13 16:55:05.128994"]]  (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", "Qb6BC5rqloGboXwVEM8GhQ"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] Rendered articles/edit.html.erb within layouts/application (0.3ms) Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.4ms)  (1.2ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.8ms) 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", "2015-10-13 16:55:12.464852"], ["updated_at", "2015-10-13 16:55:12.464852"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.8ms) 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", "2015-10-13 16:55:12.490393"], ["updated_at", "2015-10-13 16:55:12.490393"]]  (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", "2015-10-13 16:55:12.503508"], ["updated_at", "2015-10-13 16:55:12.503508"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:12.533583"], ["updated_at", "2015-10-13 16:55:12.533583"]] SQL (1.7ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:12.536610"], ["updated_at", "2015-10-13 16:55:12.536610"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "qKApLKQsS9l4q4XInAAIdg"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 16:55:12.555887"], ["updated_at", "2015-10-13 16:55:12.555887"]]  (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", "qKApLKQsS9l4q4XInAAIdg"]]  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (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 1 Adeia::Group Load (0.6ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 16:55:12.595425"], ["updated_at", "2015-10-13 16:55:12.595425"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:55:12.598169"], ["updated_at", "2015-10-13 16:55:12.598169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1002], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-13 16:55:12.601579"], ["updated_at", "2015-10-13 16:55:12.601579"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:12.602842"], ["updated_at", "2015-10-13 16:55:12.602842"]]  (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"."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"."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.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", "2015-10-13 16:55:12.614482"], ["updated_at", "2015-10-13 16:55:12.614482"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:55:12.617088"], ["updated_at", "2015-10-13 16:55:12.617088"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:12.620193"], ["updated_at", "2015-10-13 16:55:12.620193"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:12.622059"], ["updated_at", "2015-10-13 16:55:12.622059"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1003  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 16:55:12.631867"], ["updated_at", "2015-10-13 16:55:12.631867"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:55:12.634460"], ["updated_at", "2015-10-13 16:55:12.634460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:12.637791"], ["updated_at", "2015-10-13 16:55:12.637791"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:12.639738"], ["updated_at", "2015-10-13 16:55:12.639738"]]  (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"."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"."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"."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.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", "2015-10-13 16:55:12.651745"], ["updated_at", "2015-10-13 16:55:12.651745"]]  (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", "2015-10-13 16:55:12.657051"], ["updated_at", "2015-10-13 16:55:12.657051"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:12.662750"], ["updated_at", "2015-10-13 16:55:12.662750"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:12.664505"], ["updated_at", "2015-10-13 16:55:12.664505"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1005 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 16:55:12.676098"], ["updated_at", "2015-10-13 16:55:12.676098"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:55:12.678828"], ["updated_at", "2015-10-13 16:55:12.678828"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:12.682033"], ["updated_at", "2015-10-13 16:55:12.682033"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:12.684128"], ["updated_at", "2015-10-13 16:55:12.684128"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1006 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 16:55:12.695931"], ["updated_at", "2015-10-13 16:55:12.695931"]]  (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", "2015-10-13 16:55:12.701042"], ["updated_at", "2015-10-13 16:55:12.701042"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:12.705570"], ["updated_at", "2015-10-13 16:55:12.705570"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:12.707238"], ["updated_at", "2015-10-13 16:55:12.707238"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."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"."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"."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.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", "2015-10-13 16:55:12.717889"], ["updated_at", "2015-10-13 16:55:12.717889"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:55:12.720383"], ["updated_at", "2015-10-13 16:55:12.720383"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:12.723530"], ["updated_at", "2015-10-13 16:55:12.723530"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:12.725622"], ["updated_at", "2015-10-13 16:55:12.725622"]]  (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"."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"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 16:55:12.735854"], ["updated_at", "2015-10-13 16:55:12.735854"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:55:12.738489"], ["updated_at", "2015-10-13 16:55:12.738489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-13 16:55:12.742240"], ["updated_at", "2015-10-13 16:55:12.742240"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:12.745357"], ["updated_at", "2015-10-13 16:55:12.745357"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1009  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 16:55:12.757778"], ["updated_at", "2015-10-13 16:55:12.757778"]]  (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", "2015-10-13 16:55:12.761636"], ["updated_at", "2015-10-13 16:55:12.761636"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:12.765426"], ["updated_at", "2015-10-13 16:55:12.765426"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:12.766858"], ["updated_at", "2015-10-13 16:55:12.766858"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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'  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 16:55:12.777504"], ["updated_at", "2015-10-13 16:55:12.777504"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:55:12.780523"], ["updated_at", "2015-10-13 16:55:12.780523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:12.784685"], ["updated_at", "2015-10-13 16:55:12.784685"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:12.786298"], ["updated_at", "2015-10-13 16:55:12.786298"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "5-yC9CBTeheStg3mqggB-A"], ["is_valid", "t"], ["permission_id", 1], ["exp_at", "2015-11-13"], ["created_at", "2015-10-13 16:55:12.789193"], ["updated_at", "2015-10-13 16:55:12.789193"]]  (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", "5-yC9CBTeheStg3mqggB-A"]]  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (0.3ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (1.1ms) 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", "2015-10-13 16:55:12.801720"], ["updated_at", "2015-10-13 16:55:12.801720"]]  (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", "2015-10-13 16:55:12.805349"], ["updated_at", "2015-10-13 16:55:12.805349"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:12.810544"], ["updated_at", "2015-10-13 16:55:12.810544"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:12.812315"], ["updated_at", "2015-10-13 16:55:12.812315"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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"]]  (1.2ms) 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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 16:55:12.824037"], ["updated_at", "2015-10-13 16:55:12.824037"]]  (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", "2015-10-13 16:55:12.829113"], ["updated_at", "2015-10-13 16:55:12.829113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:12.833127"], ["updated_at", "2015-10-13 16:55:12.833127"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:12.834705"], ["updated_at", "2015-10-13 16:55:12.834705"]]  (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.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1013  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 16:55:12.853816"], ["updated_at", "2015-10-13 16:55:12.853816"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:55:12.857816"], ["updated_at", "2015-10-13 16:55:12.857816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:12.862707"], ["updated_at", "2015-10-13 16:55:12.862707"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:12.864436"], ["updated_at", "2015-10-13 16:55:12.864436"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1016  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"]]  (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", "2015-10-13 16:55:12.877522"], ["updated_at", "2015-10-13 16:55:12.877522"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:55:12.880324"], ["updated_at", "2015-10-13 16:55:12.880324"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:12.884367"], ["updated_at", "2015-10-13 16:55:12.884367"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:12.886034"], ["updated_at", "2015-10-13 16:55:12.886034"]]  (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"."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"."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"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 16:55:12.896249"], ["updated_at", "2015-10-13 16:55:12.896249"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:55:12.898922"], ["updated_at", "2015-10-13 16:55:12.898922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:12.903258"], ["updated_at", "2015-10-13 16:55:12.903258"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:12.905910"], ["updated_at", "2015-10-13 16:55:12.905910"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1020  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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.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", "2015-10-13 16:55:12.919213"], ["updated_at", "2015-10-13 16:55:12.919213"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:55:12.922308"], ["updated_at", "2015-10-13 16:55:12.922308"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:12.926224"], ["updated_at", "2015-10-13 16:55:12.926224"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:12.927973"], ["updated_at", "2015-10-13 16:55:12.927973"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1022  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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"."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.1ms) 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", "2015-10-13 16:55:12.944427"], ["updated_at", "2015-10-13 16:55:12.944427"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "adeia_group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1023], ["created_at", "2015-10-13 16:55:12.948361"], ["updated_at", "2015-10-13 16:55:12.948361"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 16:55:12.953040"], ["updated_at", "2015-10-13 16:55:12.953040"]]  (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", "2015-10-13 16:55:12.955404"], ["updated_at", "2015-10-13 16:55:12.955404"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:12.959177"], ["updated_at", "2015-10-13 16:55:12.959177"]] SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:12.960710"], ["updated_at", "2015-10-13 16:55:12.960710"]]  (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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1023 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."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  (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$0hqFjJ1tGrgsT4JXV7HbROLpUWpQeqhM.vi8Sv7d1/al6lnVLnd1O"], ["remember_token", "vh7IRR4VqtFmIkAgHl_6tw"], ["created_at", "2015-10-13 16:55:12.979501"], ["updated_at", "2015-10-13 16:55:12.979501"]]  (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", "2015-10-13 16:55:12.984154"], ["updated_at", "2015-10-13 16:55:12.984154"]]  (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", "2015-10-13 16:55:12.986747"], ["updated_at", "2015-10-13 16:55:12.986747"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:12.989980"], ["updated_at", "2015-10-13 16:55:12.989980"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:12.991258"], ["updated_at", "2015-10-13 16:55:12.991258"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "vh7IRR4VqtFmIkAgHl_6tw"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 20ms (Views: 14.0ms | ActiveRecord: 0.8ms)  (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$yaDKE1eHbTOjjpnuVQdeTOUtcLwkVfgUWhvfoHPsMSjwjoNOkw/ea"], ["remember_token", "MKkiBTnbdYzLHKb5tE0mgw"], ["created_at", "2015-10-13 16:55:13.023727"], ["updated_at", "2015-10-13 16:55:13.023727"]]  (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", "2015-10-13 16:55:13.027339"], ["updated_at", "2015-10-13 16:55:13.027339"]]  (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", "2015-10-13 16:55:13.031121"], ["updated_at", "2015-10-13 16:55:13.031121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:13.034451"], ["updated_at", "2015-10-13 16:55:13.034451"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:13.035923"], ["updated_at", "2015-10-13 16:55:13.035923"]]  (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", "MKkiBTnbdYzLHKb5tE0mgw"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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$NDsUo/FiVOjJtOc/beo2nOC531JAoUYqK20lQCNkGeaG62SIDy8dm"], ["remember_token", "NSUbIpTPsp80Yt87YGJrrw"], ["created_at", "2015-10-13 16:55:13.049125"], ["updated_at", "2015-10-13 16:55:13.049125"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:55:13.052386"], ["updated_at", "2015-10-13 16:55:13.052386"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:55:13.055669"], ["updated_at", "2015-10-13 16:55:13.055669"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:13.059170"], ["updated_at", "2015-10-13 16:55:13.059170"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:13.060949"], ["updated_at", "2015-10-13 16:55:13.060949"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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$cZv778P/59q0UFAALU9W9OzIHnMGy120LcKed1/ZW2dxWswBJ1cuu"], ["remember_token", "VpeRVvrDeJy9RQvXvkRwnQ"], ["created_at", "2015-10-13 16:55:13.076769"], ["updated_at", "2015-10-13 16:55:13.076769"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.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", 11], ["created_at", "2015-10-13 16:55:13.080177"], ["updated_at", "2015-10-13 16:55:13.080177"]]  (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", 11], ["created_at", "2015-10-13 16:55:13.086241"], ["updated_at", "2015-10-13 16:55:13.086241"]]  (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", 11], ["created_at", "2015-10-13 16:55:13.088286"], ["updated_at", "2015-10-13 16:55:13.088286"]]  (0.0ms) 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", 11], ["created_at", "2015-10-13 16:55:13.090072"], ["updated_at", "2015-10-13 16:55:13.090072"]]  (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", 11], ["created_at", "2015-10-13 16:55:13.091832"], ["updated_at", "2015-10-13 16:55:13.091832"]]  (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", "NSUbIpTPsp80Yt87YGJrrw"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (1.1ms) 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$BDhCYiVfabXnVuHYsVYrveAmxrpAwirszO8EalTr4yN8HPg7SZznK"], ["remember_token", "avl05QAV8K5F-XlfG5GNIQ"], ["created_at", "2015-10-13 16:55:13.105986"], ["updated_at", "2015-10-13 16:55:13.105986"]]  (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", "2015-10-13 16:55:13.109610"], ["updated_at", "2015-10-13 16:55:13.109610"]]  (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", "2015-10-13 16:55:13.113032"], ["updated_at", "2015-10-13 16:55:13.113032"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:13.116467"], ["updated_at", "2015-10-13 16:55:13.116467"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:13.117902"], ["updated_at", "2015-10-13 16:55:13.117902"]]  (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", 10], ["created_at", "2015-10-13 16:55:13.120321"], ["updated_at", "2015-10-13 16:55:13.120321"]]  (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", 10], ["created_at", "2015-10-13 16:55:13.122087"], ["updated_at", "2015-10-13 16:55:13.122087"]]  (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", 10], ["created_at", "2015-10-13 16:55:13.123740"], ["updated_at", "2015-10-13 16:55:13.123740"]]  (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", 10], ["created_at", "2015-10-13 16:55:13.125305"], ["updated_at", "2015-10-13 16:55:13.125305"]]  (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", 10], ["created_at", "2015-10-13 16:55:13.126811"], ["updated_at", "2015-10-13 16:55:13.126811"]]  (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$Qj2MkV2yq9fmgvegiiDat.ona.GyBCYZZrPcXck4EFTx8uK.2HXxu"], ["remember_token", "iiinHADs45qaX4iBXqkMMg"], ["created_at", "2015-10-13 16:55:13.130590"], ["updated_at", "2015-10-13 16:55:13.130590"]]  (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", 11], ["created_at", "2015-10-13 16:55:13.132053"], ["updated_at", "2015-10-13 16:55:13.132053"]]  (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", 11], ["created_at", "2015-10-13 16:55:13.133953"], ["updated_at", "2015-10-13 16:55:13.133953"]]  (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", 11], ["created_at", "2015-10-13 16:55:13.135747"], ["updated_at", "2015-10-13 16:55:13.135747"]]  (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.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", 11], ["created_at", "2015-10-13 16:55:13.137943"], ["updated_at", "2015-10-13 16:55:13.137943"]]  (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", 11], ["created_at", "2015-10-13 16:55:13.148156"], ["updated_at", "2015-10-13 16:55:13.148156"]]  (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", "avl05QAV8K5F-XlfG5GNIQ"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 (user_id = 10 OR id IN (NULL))  (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$YY7.63eKm2uH0OAi0Qr75erTJGTXbcF5afbxKPtfpu7k03wKExB2C"], ["remember_token", "qncRqD56MPWOSpeEAyzDfg"], ["created_at", "2015-10-13 16:55:13.164489"], ["updated_at", "2015-10-13 16:55:13.164489"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:55:13.168097"], ["updated_at", "2015-10-13 16:55:13.168097"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:55:13.171628"], ["updated_at", "2015-10-13 16:55:13.171628"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:13.174799"], ["updated_at", "2015-10-13 16:55:13.174799"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:13.176047"], ["updated_at", "2015-10-13 16:55:13.176047"]]  (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", 10], ["created_at", "2015-10-13 16:55:13.178614"], ["updated_at", "2015-10-13 16:55:13.178614"]]  (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", 10], ["created_at", "2015-10-13 16:55:13.180518"], ["updated_at", "2015-10-13 16:55:13.180518"]]  (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", 10], ["created_at", "2015-10-13 16:55:13.182143"], ["updated_at", "2015-10-13 16:55:13.182143"]]  (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", 10], ["created_at", "2015-10-13 16:55:13.183643"], ["updated_at", "2015-10-13 16:55:13.183643"]]  (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", 10], ["created_at", "2015-10-13 16:55:13.185142"], ["updated_at", "2015-10-13 16:55:13.185142"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$/3W5G6MneJ12bdq2skR0rep37lh2Ymg8G1UAp2hApEZn11TcJ9vgW"], ["remember_token", "qCrRoqKmFxe30sQlU8NXjQ"], ["created_at", "2015-10-13 16:55:13.189074"], ["updated_at", "2015-10-13 16:55:13.189074"]]  (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", 11], ["created_at", "2015-10-13 16:55:13.190541"], ["updated_at", "2015-10-13 16:55:13.190541"]]  (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", 11], ["created_at", "2015-10-13 16:55:13.192346"], ["updated_at", "2015-10-13 16:55:13.192346"]]  (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", 11], ["created_at", "2015-10-13 16:55:13.194086"], ["updated_at", "2015-10-13 16:55:13.194086"]]  (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.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", 11], ["created_at", "2015-10-13 16:55:13.196977"], ["updated_at", "2015-10-13 16:55:13.196977"]]  (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", 11], ["created_at", "2015-10-13 16:55:13.200618"], ["updated_at", "2015-10-13 16:55:13.200618"]]  (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", 11], ["created_at", "2015-10-13 16:55:13.202989"], ["updated_at", "2015-10-13 16:55:13.202989"]]  (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", "articles"]] 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_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 11], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:13.208187"], ["updated_at", "2015-10-13 16:55:13.208187"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 2], ["created_at", "2015-10-13 16:55:13.209509"], ["updated_at", "2015-10-13 16:55:13.209509"]]  (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", "qncRqD56MPWOSpeEAyzDfg"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 7ms (Views: 1.0ms | ActiveRecord: 0.8ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 10 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$Y3jQdAz5onboF1KztKod/u4Yw05LqOcGMRbSj4o0wFnbp0w4uo5sK"], ["remember_token", "ZT0D18JO2-znyoV9ESqznQ"], ["created_at", "2015-10-13 16:55:13.228811"], ["updated_at", "2015-10-13 16:55:13.228811"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$4yk.oB2RnFbD6LUO3HqEluwbRjg.eCfWyDBjVyldBXh98u73j68um"], ["remember_token", "IE2GGt1rMA73_fgMa3RIPQ"], ["created_at", "2015-10-13 16:55:13.233752"], ["updated_at", "2015-10-13 16:55:13.233752"]]  (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", 11], ["created_at", "2015-10-13 16:55:13.236036"], ["updated_at", "2015-10-13 16:55:13.236036"]]  (0.0ms) 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", 11], ["created_at", "2015-10-13 16:55:13.238102"], ["updated_at", "2015-10-13 16:55:13.238102"]]  (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", 11], ["created_at", "2015-10-13 16:55:13.239873"], ["updated_at", "2015-10-13 16:55:13.239873"]]  (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", 11], ["created_at", "2015-10-13 16:55:13.241585"], ["updated_at", "2015-10-13 16:55:13.241585"]]  (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", 11], ["created_at", "2015-10-13 16:55:13.243434"], ["updated_at", "2015-10-13 16:55:13.243434"]]  (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.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", 11], ["created_at", "2015-10-13 16:55:13.245203"], ["updated_at", "2015-10-13 16:55:13.245203"]]  (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.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", 11], ["created_at", "2015-10-13 16:55:13.248943"], ["updated_at", "2015-10-13 16:55:13.248943"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:55:13.253165"], ["updated_at", "2015-10-13 16:55:13.253165"]]  (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", "2015-10-13 16:55:13.256123"], ["updated_at", "2015-10-13 16:55:13.256123"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:13.259778"], ["updated_at", "2015-10-13 16:55:13.259778"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:13.261586"], ["updated_at", "2015-10-13 16:55:13.261586"]]  (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.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_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 2], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:13.268100"], ["updated_at", "2015-10-13 16:55:13.268100"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 2], ["created_at", "2015-10-13 16:55:13.269427"], ["updated_at", "2015-10-13 16:55:13.269427"]]  (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 1 [["remember_token", "ZT0D18JO2-znyoV9ESqznQ"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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 9ms (Views: 1.3ms | ActiveRecord: 0.9ms) Article Load (0.3ms) 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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$2S8DHka4FUaXa37n8A6odOAkh7.ZcKC3liWX.gnFOm0/SFVtzKh8y"], ["remember_token", "4p-PtVX7KQnCIYWoKSEdbQ"], ["created_at", "2015-10-13 16:55:13.288201"], ["updated_at", "2015-10-13 16:55:13.288201"]]  (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", "2015-10-13 16:55:13.291989"], ["updated_at", "2015-10-13 16:55:13.291989"]]  (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", "2015-10-13 16:55:13.295589"], ["updated_at", "2015-10-13 16:55:13.295589"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:13.298869"], ["updated_at", "2015-10-13 16:55:13.298869"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:13.300113"], ["updated_at", "2015-10-13 16:55:13.300113"]]  (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$8ZFXWRreCGA3GfbypBGCk.qifYHogkvorRMBXqQTFxkobDMQvd3mO"], ["remember_token", "IgieonuJYog5LYtobVAU-g"], ["created_at", "2015-10-13 16:55:13.306161"], ["updated_at", "2015-10-13 16:55:13.306161"]]  (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", 11], ["created_at", "2015-10-13 16:55:13.308893"], ["updated_at", "2015-10-13 16:55:13.308893"]]  (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", "4p-PtVX7KQnCIYWoKSEdbQ"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.5ms)  (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$xLpTw42/1LgbmykMupQZYOyFCZBsLfnuXDWW7eeyAaX0aPSyqOrXO"], ["remember_token", "LM0hbdngNySWNMuCDSmc3A"], ["created_at", "2015-10-13 16:55:13.322944"], ["updated_at", "2015-10-13 16:55:13.322944"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:55:13.327441"], ["updated_at", "2015-10-13 16:55:13.327441"]]  (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", "2015-10-13 16:55:13.332218"], ["updated_at", "2015-10-13 16:55:13.332218"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:13.336427"], ["updated_at", "2015-10-13 16:55:13.336427"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:13.337942"], ["updated_at", "2015-10-13 16:55:13.337942"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$YLuly5URpNW8R7OFX9nAxOBqdjXXRBFXvsgwhras5HoLqVhxCX736"], ["remember_token", "fVf6TCd6M8askVYK5UrvPA"], ["created_at", "2015-10-13 16:55:13.342997"], ["updated_at", "2015-10-13 16:55:13.342997"]]  (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", 11], ["created_at", "2015-10-13 16:55:13.344592"], ["updated_at", "2015-10-13 16:55:13.344592"]]  (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", "LM0hbdngNySWNMuCDSmc3A"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Rendered articles/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 0.9ms | 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$7LnEMGqVunF7yE5.E0nU8OpvQ3qx8egz5nUm4uDmc7Q6ZIvQ6006."], ["remember_token", "Io9RA3VJkejr4JPCZEo4lw"], ["created_at", "2015-10-13 16:55:13.356591"], ["updated_at", "2015-10-13 16:55:13.356591"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:55:13.360045"], ["updated_at", "2015-10-13 16:55:13.360045"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-13 16:55:13.362771"], ["updated_at", "2015-10-13 16:55:13.362771"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:13.367814"], ["updated_at", "2015-10-13 16:55:13.367814"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:13.369212"], ["updated_at", "2015-10-13 16:55:13.369212"]]  (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 1 [["remember_token", "Io9RA3VJkejr4JPCZEo4lw"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["create_right", "t"]] Rendered articles/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.5ms)  (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$M1NrkuTAqWPRZxjdZw9Nv.XQDSbhxseyNyzkCU1TpMjAh4ZBAyCmm"], ["remember_token", "vlYUTv24TQvcHzx1KVaJOA"], ["created_at", "2015-10-13 16:55:13.383877"], ["updated_at", "2015-10-13 16:55:13.383877"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-13 16:55:13.387167"], ["updated_at", "2015-10-13 16:55:13.387167"]]  (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", "2015-10-13 16:55:13.390408"], ["updated_at", "2015-10-13 16:55:13.390408"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:13.393519"], ["updated_at", "2015-10-13 16:55:13.393519"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:13.394842"], ["updated_at", "2015-10-13 16:55:13.394842"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$6GN/o/Ip2ccJgHC4jj3MZeFXPb40bauAfxx6zkNcWj3jv.fJNlQDC"], ["remember_token", "dR2B6Qpb3q8JbTrCEzLfeQ"], ["created_at", "2015-10-13 16:55:13.399512"], ["updated_at", "2015-10-13 16:55:13.399512"]]  (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", 11], ["created_at", "2015-10-13 16:55:13.401059"], ["updated_at", "2015-10-13 16:55:13.401059"]]  (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", "vlYUTv24TQvcHzx1KVaJOA"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] Rendered articles/edit.html.erb within layouts/application (0.3ms) Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 0.6ms)  (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$2kPPDPTKC15.XDw1m6VceeTrJvsufC8Ko.nbNEZccd6lXOo23hgae"], ["remember_token", "Gkh4_5uUldZHTZ7nppA5vw"], ["created_at", "2015-10-13 16:55:13.415750"], ["updated_at", "2015-10-13 16:55:13.415750"]]  (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", "2015-10-13 16:55:13.419320"], ["updated_at", "2015-10-13 16:55:13.419320"]]  (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", "2015-10-13 16:55:13.422583"], ["updated_at", "2015-10-13 16:55:13.422583"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_permissions" ("element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["element_id", 1], ["owner_id", 10], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-13 16:55:13.425815"], ["updated_at", "2015-10-13 16:55:13.425815"]] SQL (0.1ms) INSERT INTO "adeia_action_permissions" ("action_id", "permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["permission_id", 1], ["created_at", "2015-10-13 16:55:13.427093"], ["updated_at", "2015-10-13 16:55:13.427093"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$UPC5ryIYVDGOyjS8jIzejuVBhjX34C9JeH7cE4FI1hIb/Tq3SSGZy"], ["remember_token", "zk08PwZm2TOxzIirFwvvaQ"], ["created_at", "2015-10-13 16:55:13.432296"], ["updated_at", "2015-10-13 16:55:13.432296"]]  (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", 11], ["created_at", "2015-10-13 16:55:13.433979"], ["updated_at", "2015-10-13 16:55:13.433979"]]  (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", "Gkh4_5uUldZHTZ7nppA5vw"]] 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"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 10  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 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"."element_id" WHERE "adeia_permissions"."update_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 10 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] Rendered articles/edit.html.erb within layouts/application (0.2ms) Completed 200 OK in 10ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 16:55:13.450748"], ["updated_at", "2015-10-13 16:55:13.450748"]]  (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", "2015-10-13 16:55:13.453265"], ["updated_at", "2015-10-13 16:55:13.453265"]]  (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", "2015-10-13 16:55:13.455934"], ["updated_at", "2015-10-13 16:55:13.455934"]]  (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 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 16:55:13.462411"], ["updated_at", "2015-10-13 16:55:13.462411"]]  (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", "2015-10-13 16:55:13.465261"], ["updated_at", "2015-10-13 16:55:13.465261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 16:55:13.481110"], ["updated_at", "2015-10-13 16:55:13.481110"]]  (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", "2015-10-13 16:55:13.484583"], ["updated_at", "2015-10-13 16:55:13.484583"]]  (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 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 16:55:13.491773"], ["updated_at", "2015-10-13 16:55:13.491773"]]  (0.0ms) 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", "2015-10-13 16:55:13.493932"], ["updated_at", "2015-10-13 16:55:13.493932"]]  (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", "2015-10-13 16:55:13.496300"], ["updated_at", "2015-10-13 16:55:13.496300"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 16:55:13.503842"], ["updated_at", "2015-10-13 16:55:13.503842"]]  (0.0ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-13 16:55:13.505931"], ["updated_at", "2015-10-13 16:55:13.505931"]]  (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", "2015-10-13 16:55:13.508296"], ["updated_at", "2015-10-13 16:55:13.508296"]]  (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 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-13 16:55:13.514186"], ["updated_at", "2015-10-13 16:55:13.514186"]]  (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", "2015-10-13 16:55:13.516533"], ["updated_at", "2015-10-13 16:55:13.516533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (1.6ms) 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.1ms) 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.2ms) CREATE TABLE "adeia_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.2ms) CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.2ms) 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.1ms) 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.1ms) 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, "create_right" boolean, "update_right" boolean, "destroy_right" boolean, "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) 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.1ms) 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.4ms) 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)  (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) 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.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateAdeiaElements (20151003144041)  (0.2ms) begin transaction  (0.2ms) CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQLite3::SQLException: table "adeia_elements" already exists: CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) rollback transaction  (3.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.2ms) select sqlite_version(*)  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateAdeiaElements (20151003144041)  (0.1ms) begin transaction  (0.9ms) CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144041"]]  (1.0ms) commit transaction Migrating to CreateAdeiaPermissions (20151003144208)  (0.1ms) begin transaction  (0.8ms) 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, "create_right" boolean, "update_right" boolean, "destroy_right" boolean, "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE INDEX "index_adeia_permissions_on_owner_type_and_owner_id" ON "adeia_permissions" ("owner_type", "owner_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_owner_type_and_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_owner_type_and_owner_id' AND type='index'  (0.1ms) CREATE INDEX "index_adeia_permissions_on_adeia_element_id" ON "adeia_permissions" ("adeia_element_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144208"]]  (1.1ms) commit transaction Migrating to CreateAdeiaGroups (20151003144650)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "adeia_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144650"]]  (1.0ms) commit transaction Migrating to CreateAdeiaGroupUsers (20151003144706)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "adeia_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "adeia_group_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE INDEX "index_adeia_group_users_on_adeia_group_id" ON "adeia_group_users" ("adeia_group_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_adeia_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_adeia_group_id' AND type='index'   (0.2ms) CREATE INDEX "index_adeia_group_users_on_user_id" ON "adeia_group_users" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144706"]]  (1.0ms) commit transaction Migrating to CreateAdeiaTokens (20151003150524)  (0.1ms) begin transaction  (0.7ms) CREATE TABLE "adeia_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar, "is_valid" boolean, "adeia_permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.3ms) CREATE INDEX "index_adeia_tokens_on_adeia_permission_id" ON "adeia_tokens" ("adeia_permission_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003150524"]]  (1.0ms) commit transaction Migrating to CreateAdeiaActions (20151003150747)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "adeia_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003150747"]]  (0.9ms) commit transaction Migrating to CreateAdeiaActionPermissions (20151003150806)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "adeia_action_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "adeia_action_id" integer, "adeia_permission_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE INDEX "index_adeia_action_permissions_on_adeia_action_id" ON "adeia_action_permissions" ("adeia_action_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_adeia_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_adeia_action_id' AND type='index'   (0.3ms) CREATE INDEX "index_adeia_action_permissions_on_adeia_permission_id" ON "adeia_action_permissions" ("adeia_permission_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003150806"]]  (1.4ms) commit transaction Migrating to CreateUsers (20151012185720)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "password_digest" varchar, "remember_token" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151012185720"]]  (0.7ms) commit transaction Migrating to CreateArticles (20151012185726)  (0.1ms) begin transaction  (0.4ms) 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.2ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151012185726"]]  (1.0ms) commit transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_adeia_permission_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_adeia_permission_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_adeia_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_adeia_action_id' AND type='index'  (0.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.2ms) 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.2ms)  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_permissions_on_owner_type_and_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_owner_type_and_owner_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_tokens_on_adeia_permission_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_tokens_on_adeia_permission_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_articles_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_articles_on_user_id' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.5ms) 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.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:42:58.226527"], ["updated_at", "2015-10-30 22:42:58.226527"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.5ms) 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.2ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = 1001 SQLite3::SQLException: no such column: adeia_group_users.group_id: SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."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 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", "2015-10-30 22:42:58.322380"], ["updated_at", "2015-10-30 22:42:58.322380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "2015-10-30 22:42:58.329906"], ["updated_at", "2015-10-30 22:42:58.329906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.2ms) 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", "2015-10-30 22:42:58.336227"], ["updated_at", "2015-10-30 22:42:58.336227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "2015-10-30 22:42:58.341913"], ["updated_at", "2015-10-30 22:42:58.341913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "2015-10-30 22:42:58.347381"], ["updated_at", "2015-10-30 22:42:58.347381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "2015-10-30 22:42:58.356529"], ["updated_at", "2015-10-30 22:42:58.356529"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "2015-10-30 22:42:58.362262"], ["updated_at", "2015-10-30 22:42:58.362262"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "2015-10-30 22:42:58.369444"], ["updated_at", "2015-10-30 22:42:58.369444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "2015-10-30 22:42:58.377226"], ["updated_at", "2015-10-30 22:42:58.377226"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "2015-10-30 22:42:58.383998"], ["updated_at", "2015-10-30 22:42:58.383998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:42:58.390415"], ["updated_at", "2015-10-30 22:42:58.390415"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "2015-10-30 22:42:58.395947"], ["updated_at", "2015-10-30 22:42:58.395947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "2015-10-30 22:42:58.402496"], ["updated_at", "2015-10-30 22:42:58.402496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "2015-10-30 22:42:58.411793"], ["updated_at", "2015-10-30 22:42:58.411793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) 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", "2015-10-30 22:42:58.423774"], ["updated_at", "2015-10-30 22:42:58.423774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "2015-10-30 22:42:58.430268"], ["updated_at", "2015-10-30 22:42:58.430268"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.2ms) 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", "2015-10-30 22:42:58.447856"], ["updated_at", "2015-10-30 22:42:58.447856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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$VPk6/PlcbMD2XML0ksccXeLG5H50qbn5Hh9Rx2kU4fS0sn8eeFbJq"], ["remember_token", "njLOTv3nkcgvdJKIGwt4gA"], ["created_at", "2015-10-30 22:42:58.465372"], ["updated_at", "2015-10-30 22:42:58.465372"]]  (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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:42:58.471373"], ["updated_at", "2015-10-30 22:42:58.471373"]]  (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$nlOziqaRhXuhHoeONbSX/ur5IoY6fno9eK8UGSpc9Fc/EuDzf7tbq"], ["remember_token", "kVzETxq6tBExeOPEhlBxaQ"], ["created_at", "2015-10-30 22:42:58.479331"], ["updated_at", "2015-10-30 22:42:58.479331"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:42:58.482390"], ["updated_at", "2015-10-30 22:42:58.482390"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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$727WOJYb1xrM6y/war6My.AadRqX5bCMN0EyGSNjuHBmmAMu1wAX."], ["remember_token", "cW1S9An5q3MaHjF3RKh7Ew"], ["created_at", "2015-10-30 22:42:58.488960"], ["updated_at", "2015-10-30 22:42:58.488960"]]  (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", "2015-10-30 22:42:58.492534"], ["updated_at", "2015-10-30 22:42:58.492534"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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$381K5s/V6tTuz/ecqY/G3.iJ8UBQaFseKv7jNmd7dylqKs2iu9KOK"], ["remember_token", "ye13c_Ltr4C4DIGyy9dvVQ"], ["created_at", "2015-10-30 22:42:58.498849"], ["updated_at", "2015-10-30 22:42:58.498849"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:42:58.502188"], ["updated_at", "2015-10-30 22:42:58.502188"]]  (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$v8FxJSonpjEcLxo6OZCOMuXxRtGNT85niPzFf2q9UqycAmUFM7fEy"], ["remember_token", "z0S2JfYZHni7cVKQh0vcbg"], ["created_at", "2015-10-30 22:42:58.508627"], ["updated_at", "2015-10-30 22:42:58.508627"]]  (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", "2015-10-30 22:42:58.512888"], ["updated_at", "2015-10-30 22:42:58.512888"]]  (0.1ms) 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$Hp51qJdAw2wJA1LyqTrAXOJmPk1FtRZ3zIcRxZyEbZaKC4jSKfS06"], ["remember_token", "vLnxfwL2gOs6wp4Oz5eKxQ"], ["created_at", "2015-10-30 22:42:58.519375"], ["updated_at", "2015-10-30 22:42:58.519375"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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$MKHh22HzSYOuASD7AvddcOU.M.3Y1Pd2KkVwls/U7RZ5sPhY8Svd2"], ["remember_token", "t9zl2koTIuqBgFjtnE4jKA"], ["created_at", "2015-10-30 22:42:58.531023"], ["updated_at", "2015-10-30 22:42:58.531023"]]  (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", "2015-10-30 22:42:58.534853"], ["updated_at", "2015-10-30 22:42:58.534853"]]  (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.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", "2015-10-30 22:42:58.539029"], ["updated_at", "2015-10-30 22:42:58.539029"]]  (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.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", "2015-10-30 22:42:58.542041"], ["updated_at", "2015-10-30 22:42:58.542041"]]  (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", "2015-10-30 22:42:58.544846"], ["updated_at", "2015-10-30 22:42:58.544846"]]  (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", "2015-10-30 22:42:58.547506"], ["updated_at", "2015-10-30 22:42:58.547506"]]  (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", "2015-10-30 22:42:58.549762"], ["updated_at", "2015-10-30 22:42:58.549762"]]  (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", "2015-10-30 22:42:58.552143"], ["updated_at", "2015-10-30 22:42:58.552143"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:42:58.554886"], ["updated_at", "2015-10-30 22:42:58.554886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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$ofPxsvgX8D5BW8D21ChOgOediXrF5UkVVTZCE4goJzLomgH0ZgLwu"], ["remember_token", "99xBePMXM8zUXg7z67bREQ"], ["created_at", "2015-10-30 22:42:58.562137"], ["updated_at", "2015-10-30 22:42:58.562137"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:42:58.566028"], ["updated_at", "2015-10-30 22:42:58.566028"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.4ms) 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$YrotE0uZJldrC1qWMp0f9.L32QMSTlmi941zSeXJ0SoXTbcVwGxvi"], ["remember_token", "ITYZhmVLL7YGu0Qk1APWMA"], ["created_at", "2015-10-30 22:42:58.576772"], ["updated_at", "2015-10-30 22:42:58.576772"]]  (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", "2015-10-30 22:42:58.581320"], ["updated_at", "2015-10-30 22:42:58.581320"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (5.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$bGZUwOgvA89rzQxQ/Xl46.sfyqaA9TFcWlskGm/wWaAnCEIm5DJAm"], ["remember_token", "94Tu0-SCO66iYsvDW89A8w"], ["created_at", "2015-10-30 22:42:58.600312"], ["updated_at", "2015-10-30 22:42:58.600312"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:42:58.603559"], ["updated_at", "2015-10-30 22:42:58.603559"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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$zbcNFF1.yEKDBUpXSMerw.QgkuW76Sa58NTxaOaisdsnadE.pDaXO"], ["remember_token", "idNoHnU1iQHcQmnM6cKSjg"], ["created_at", "2015-10-30 22:42:58.610729"], ["updated_at", "2015-10-30 22:42:58.610729"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:42:58.613783"], ["updated_at", "2015-10-30 22:42:58.613783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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$OCdcTBpBvtvWUS59qn7RLeIuWjMmNRq6HZi9GjniwYWq6D8rEnKFW"], ["remember_token", "x78kxBr1LGWUVCBULPXoSw"], ["created_at", "2015-10-30 22:42:58.619972"], ["updated_at", "2015-10-30 22:42:58.619972"]]  (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", "2015-10-30 22:42:58.623405"], ["updated_at", "2015-10-30 22:42:58.623405"]]  (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 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:42:58.629176"], ["updated_at", "2015-10-30 22:42:58.629176"]]  (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 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", "2015-10-30 22:42:58.634334"], ["updated_at", "2015-10-30 22:42:58.634334"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:42:58.641600"], ["updated_at", "2015-10-30 22:42:58.641600"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "2015-10-30 22:42:58.646276"], ["updated_at", "2015-10-30 22:42:58.646276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:42:58.651322"], ["updated_at", "2015-10-30 22:42:58.651322"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (1.2ms) 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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:49:50.337395"], ["updated_at", "2015-10-30 22:49:50.337395"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.8ms) 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", "2015-10-30 22:49:50.365699"], ["updated_at", "2015-10-30 22:49:50.365699"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:49:50.385549"], ["updated_at", "2015-10-30 22:49:50.385549"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:50.427835"], ["updated_at", "2015-10-30 22:49:50.427835"]] 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", "2015-10-30 22:49:50.430715"], ["updated_at", "2015-10-30 22:49:50.430715"]] 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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" = 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:49:50.481120"], ["updated_at", "2015-10-30 22:49:50.481120"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:49:50.483835"], ["updated_at", "2015-10-30 22:49:50.483835"]]  (0.0ms) 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", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 22:49:50.489772"], ["updated_at", "2015-10-30 22:49:50.489772"]] 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", "2015-10-30 22:49:50.492431"], ["updated_at", "2015-10-30 22:49:50.492431"]] 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" = 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.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", "2015-10-30 22:49:50.505149"], ["updated_at", "2015-10-30 22:49:50.505149"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:49:50.508179"], ["updated_at", "2015-10-30 22:49:50.508179"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:50.512388"], ["updated_at", "2015-10-30 22:49:50.512388"]] 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", "2015-10-30 22:49:50.514027"], ["updated_at", "2015-10-30 22:49:50.514027"]] 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" = 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"."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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_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", "2015-10-30 22:49:50.526255"], ["updated_at", "2015-10-30 22:49:50.526255"]]  (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", "2015-10-30 22:49:50.530180"], ["updated_at", "2015-10-30 22:49:50.530180"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:50.534580"], ["updated_at", "2015-10-30 22:49:50.534580"]] 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", "2015-10-30 22:49:50.536189"], ["updated_at", "2015-10-30 22:49:50.536189"]] 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" = 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"."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.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" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (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", "2015-10-30 22:49:50.552638"], ["updated_at", "2015-10-30 22:49:50.552638"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:49:50.555416"], ["updated_at", "2015-10-30 22:49:50.555416"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:50.558717"], ["updated_at", "2015-10-30 22:49:50.558717"]] 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", "2015-10-30 22:49:50.562301"], ["updated_at", "2015-10-30 22:49:50.562301"]] 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.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.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" = 1005 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (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", "2015-10-30 22:49:50.574608"], ["updated_at", "2015-10-30 22:49:50.574608"]]  (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", "2015-10-30 22:49:50.577624"], ["updated_at", "2015-10-30 22:49:50.577624"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:50.581987"], ["updated_at", "2015-10-30 22:49:50.581987"]] 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", "2015-10-30 22:49:50.583933"], ["updated_at", "2015-10-30 22:49:50.583933"]] 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.3ms) 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"]]  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:49:50.595920"], ["updated_at", "2015-10-30 22:49:50.595920"]]  (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", "2015-10-30 22:49:50.599466"], ["updated_at", "2015-10-30 22:49:50.599466"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:50.603522"], ["updated_at", "2015-10-30 22:49:50.603522"]] 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", "2015-10-30 22:49:50.604890"], ["updated_at", "2015-10-30 22:49:50.604890"]] 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" = 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:49:50.615987"], ["updated_at", "2015-10-30 22:49:50.615987"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:49:50.618540"], ["updated_at", "2015-10-30 22:49:50.618540"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:50.621924"], ["updated_at", "2015-10-30 22:49:50.621924"]] 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", "2015-10-30 22:49:50.624527"], ["updated_at", "2015-10-30 22:49:50.624527"]] 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" = 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"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:49:50.639461"], ["updated_at", "2015-10-30 22:49:50.639461"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:49:50.644757"], ["updated_at", "2015-10-30 22:49:50.644757"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 22:49:50.650794"], ["updated_at", "2015-10-30 22:49:50.650794"]] 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", "2015-10-30 22:49:50.652609"], ["updated_at", "2015-10-30 22:49:50.652609"]] 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.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.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"."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.9ms) 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", "2015-10-30 22:49:50.666133"], ["updated_at", "2015-10-30 22:49:50.666133"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:49:50.668977"], ["updated_at", "2015-10-30 22:49:50.668977"]]  (0.0ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:50.673510"], ["updated_at", "2015-10-30 22:49:50.673510"]] 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", "2015-10-30 22:49:50.676268"], ["updated_at", "2015-10-30 22:49:50.676268"]] 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" = 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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-30 22:49:50.694552"], ["updated_at", "2015-10-30 22:49:50.694552"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:49:50.704448"], ["updated_at", "2015-10-30 22:49:50.704448"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:50.707773"], ["updated_at", "2015-10-30 22:49:50.707773"]] 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", "2015-10-30 22:49:50.709554"], ["updated_at", "2015-10-30 22:49:50.709554"]] 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  (0.1ms) ROLLBACK TO 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 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", "2015-10-30 22:49:50.720846"], ["updated_at", "2015-10-30 22:49:50.720846"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:49:50.723431"], ["updated_at", "2015-10-30 22:49:50.723431"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:50.727047"], ["updated_at", "2015-10-30 22:49:50.727047"]] 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", "2015-10-30 22:49:50.729061"], ["updated_at", "2015-10-30 22:49:50.729061"]] 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" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1012 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:49:50.739378"], ["updated_at", "2015-10-30 22:49:50.739378"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:49:50.741989"], ["updated_at", "2015-10-30 22:49:50.741989"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:50.745494"], ["updated_at", "2015-10-30 22:49:50.745494"]] 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", "2015-10-30 22:49:50.747340"], ["updated_at", "2015-10-30 22:49:50.747340"]] 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.3ms) 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.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" = 1013 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" = 1013 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", "2015-10-30 22:49:50.764813"], ["updated_at", "2015-10-30 22:49:50.764813"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:49:50.767799"], ["updated_at", "2015-10-30 22:49:50.767799"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:50.771955"], ["updated_at", "2015-10-30 22:49:50.771955"]] 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", "2015-10-30 22:49:50.774219"], ["updated_at", "2015-10-30 22:49:50.774219"]] 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 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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 22:49:50.786964"], ["updated_at", "2015-10-30 22:49:50.786964"]]  (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.8ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:49:50.791673"], ["updated_at", "2015-10-30 22:49:50.791673"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:50.797545"], ["updated_at", "2015-10-30 22:49:50.797545"]] 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", "2015-10-30 22:49:50.799817"], ["updated_at", "2015-10-30 22:49:50.799817"]] 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" = 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"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:49:50.812885"], ["updated_at", "2015-10-30 22:49:50.812885"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:49:50.815731"], ["updated_at", "2015-10-30 22:49:50.815731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:50.820426"], ["updated_at", "2015-10-30 22:49:50.820426"]] 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", "2015-10-30 22:49:50.823148"], ["updated_at", "2015-10-30 22:49:50.823148"]] 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" = 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"."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.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" = 1020 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:49:50.838875"], ["updated_at", "2015-10-30 22:49:50.838875"]]  (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", "2015-10-30 22:49:50.843041"], ["updated_at", "2015-10-30 22:49:50.843041"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:50.847439"], ["updated_at", "2015-10-30 22:49:50.847439"]] 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", "2015-10-30 22:49:50.849718"], ["updated_at", "2015-10-30 22:49:50.849718"]] 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.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" = 1022 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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 22:49:50.865442"], ["updated_at", "2015-10-30 22:49:50.865442"]]  (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", "2015-10-30 22:49:50.869689"], ["updated_at", "2015-10-30 22:49:50.869689"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:49:50.874293"], ["updated_at", "2015-10-30 22:49:50.874293"]]  (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", "2015-10-30 22:49:50.876772"], ["updated_at", "2015-10-30 22:49:50.876772"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:50.879867"], ["updated_at", "2015-10-30 22:49:50.879867"]] 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", "2015-10-30 22:49:50.881594"], ["updated_at", "2015-10-30 22:49:50.881594"]] 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" = 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"."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.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$wIXXmwwIV4GX11e2RyzSLe0vJAcYqm4LuxoUmrVsYo3y3GpRla1jC"], ["remember_token", "ZzpRzAQD49U3KdoxTHhBAQ"], ["created_at", "2015-10-30 22:49:50.901526"], ["updated_at", "2015-10-30 22:49:50.901526"]]  (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", "2015-10-30 22:49:50.905853"], ["updated_at", "2015-10-30 22:49:50.905853"]]  (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", "2015-10-30 22:49:50.909119"], ["updated_at", "2015-10-30 22:49:50.909119"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:50.913282"], ["updated_at", "2015-10-30 22:49:50.913282"]] 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", "2015-10-30 22:49:50.915338"], ["updated_at", "2015-10-30 22:49:50.915338"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "ZzpRzAQD49U3KdoxTHhBAQ"]] 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.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" = '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 25ms (Views: 19.0ms | ActiveRecord: 0.8ms)  (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$PU3nrsXajzWJ9x4ItvXqI.gDyi3VepdiYRC0pvaNjEY9ebfudtDK6"], ["remember_token", "yA7XKgZ8bkrHMbEEVEapTQ"], ["created_at", "2015-10-30 22:49:50.951606"], ["updated_at", "2015-10-30 22:49:50.951606"]]  (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", "2015-10-30 22:49:50.954935"], ["updated_at", "2015-10-30 22:49:50.954935"]]  (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", "2015-10-30 22:49:50.959329"], ["updated_at", "2015-10-30 22:49:50.959329"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:50.962759"], ["updated_at", "2015-10-30 22:49:50.962759"]] 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", "2015-10-30 22:49:50.964212"], ["updated_at", "2015-10-30 22:49:50.964212"]] 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", "yA7XKgZ8bkrHMbEEVEapTQ"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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$k5epcmfKOqt7v2qm.yGK3uZVegFZBwS12zi2AA74htE4r3YmrHPeW"], ["remember_token", "0e2h3SzWtmvWnQnk5HRQtw"], ["created_at", "2015-10-30 22:49:50.978318"], ["updated_at", "2015-10-30 22:49:50.978318"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:49:50.982159"], ["updated_at", "2015-10-30 22:49:50.982159"]]  (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", "2015-10-30 22:49:50.986319"], ["updated_at", "2015-10-30 22:49:50.986319"]]  (0.0ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:50.996820"], ["updated_at", "2015-10-30 22:49:50.996820"]] 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", "2015-10-30 22:49:50.999478"], ["updated_at", "2015-10-30 22:49:50.999478"]] 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.2ms) 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$7OB7WuP/3o9LzvwKlqRa.OsLMJDbilowTFRi1TUPUFeYiTamVn5N6"], ["remember_token", "Kc4jpT9Nn-lQQqFoUCcLPQ"], ["created_at", "2015-10-30 22:49:51.015394"], ["updated_at", "2015-10-30 22:49:51.015394"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", "2015-10-30 22:49:51.019239"], ["updated_at", "2015-10-30 22:49:51.019239"]]  (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", "2015-10-30 22:49:51.022685"], ["updated_at", "2015-10-30 22:49:51.022685"]]  (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", "2015-10-30 22:49:51.024818"], ["updated_at", "2015-10-30 22:49:51.024818"]]  (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", "2015-10-30 22:49:51.026559"], ["updated_at", "2015-10-30 22:49:51.026559"]]  (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", "2015-10-30 22:49:51.028410"], ["updated_at", "2015-10-30 22:49:51.028410"]]  (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 1 [["remember_token", "0e2h3SzWtmvWnQnk5HRQtw"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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$wh4w4YBr1wcCixdC4fCIVeCzx01qtswdbvXHBwDzY6kvX8OhUO9yK"], ["remember_token", "gZ5j30A0pX2QeW53dqlTyg"], ["created_at", "2015-10-30 22:49:51.043179"], ["updated_at", "2015-10-30 22:49:51.043179"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:49:51.046400"], ["updated_at", "2015-10-30 22:49:51.046400"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:49:51.049846"], ["updated_at", "2015-10-30 22:49:51.049846"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:51.055375"], ["updated_at", "2015-10-30 22:49:51.055375"]] 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", "2015-10-30 22:49:51.056857"], ["updated_at", "2015-10-30 22:49:51.056857"]] 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.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", "2015-10-30 22:49:51.060196"], ["updated_at", "2015-10-30 22:49:51.060196"]]  (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", "2015-10-30 22:49:51.061942"], ["updated_at", "2015-10-30 22:49:51.061942"]]  (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", "2015-10-30 22:49:51.063651"], ["updated_at", "2015-10-30 22:49:51.063651"]]  (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", "2015-10-30 22:49:51.065289"], ["updated_at", "2015-10-30 22:49:51.065289"]]  (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", "2015-10-30 22:49:51.066884"], ["updated_at", "2015-10-30 22:49:51.066884"]]  (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$9kbLfRMna1pkfbKuLiCx5uGxP1Orev0m9izp13K6fJTeyjtP9DNOm"], ["remember_token", "84PJIBGXQTd8fv6JYk90Gg"], ["created_at", "2015-10-30 22:49:51.070858"], ["updated_at", "2015-10-30 22:49:51.070858"]]  (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", "2015-10-30 22:49:51.072336"], ["updated_at", "2015-10-30 22:49:51.072336"]]  (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", "2015-10-30 22:49:51.074590"], ["updated_at", "2015-10-30 22:49:51.074590"]]  (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", "2015-10-30 22:49:51.077470"], ["updated_at", "2015-10-30 22:49:51.077470"]]  (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", "2015-10-30 22:49:51.079747"], ["updated_at", "2015-10-30 22:49:51.079747"]]  (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", "2015-10-30 22:49:51.082796"], ["updated_at", "2015-10-30 22:49:51.082796"]]  (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", "gZ5j30A0pX2QeW53dqlTyg"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$CMJ4q1m6Y74vSZg3w5AemOGg2HGaUDZFZaDDsYL73eK9r8UNAH6ti"], ["remember_token", "fEdGqwm0qRujzF1GT3TL8g"], ["created_at", "2015-10-30 22:49:51.096081"], ["updated_at", "2015-10-30 22:49:51.096081"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:49:51.099363"], ["updated_at", "2015-10-30 22:49:51.099363"]]  (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", "2015-10-30 22:49:51.103068"], ["updated_at", "2015-10-30 22:49:51.103068"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:51.106778"], ["updated_at", "2015-10-30 22:49:51.106778"]] 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", "2015-10-30 22:49:51.108291"], ["updated_at", "2015-10-30 22:49:51.108291"]] 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", "2015-10-30 22:49:51.111648"], ["updated_at", "2015-10-30 22:49:51.111648"]]  (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", "2015-10-30 22:49:51.114089"], ["updated_at", "2015-10-30 22:49:51.114089"]]  (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", "2015-10-30 22:49:51.116117"], ["updated_at", "2015-10-30 22:49:51.116117"]]  (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", "2015-10-30 22:49:51.117812"], ["updated_at", "2015-10-30 22:49:51.117812"]]  (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", "2015-10-30 22:49:51.120351"], ["updated_at", "2015-10-30 22:49:51.120351"]]  (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$Xc5aWX4LwislRwptqfap9Orffs4yipMezb85mBVEllssJ/MGZ5w8e"], ["remember_token", "bocUVop81kuCcheR_etweQ"], ["created_at", "2015-10-30 22:49:51.124328"], ["updated_at", "2015-10-30 22:49:51.124328"]]  (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", "2015-10-30 22:49:51.125816"], ["updated_at", "2015-10-30 22:49:51.125816"]]  (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", "2015-10-30 22:49:51.128170"], ["updated_at", "2015-10-30 22:49:51.128170"]]  (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", "2015-10-30 22:49:51.131079"], ["updated_at", "2015-10-30 22:49:51.131079"]]  (0.0ms) 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", "2015-10-30 22:49:51.133063"], ["updated_at", "2015-10-30 22:49:51.133063"]]  (0.0ms) 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", "2015-10-30 22:49:51.134950"], ["updated_at", "2015-10-30 22:49:51.134950"]]  (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", "2015-10-30 22:49:51.136804"], ["updated_at", "2015-10-30 22:49:51.136804"]]  (0.0ms) 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.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_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:51.141804"], ["updated_at", "2015-10-30 22:49:51.141804"]] 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", "2015-10-30 22:49:51.143135"], ["updated_at", "2015-10-30 22:49:51.143135"]] 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 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "fEdGqwm0qRujzF1GT3TL8g"]] Adeia::Token Load (0.3ms) 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" = 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.4ms) Completed 200 OK in 10ms (Views: 1.5ms | ActiveRecord: 1.0ms) Article Load (0.3ms) 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$J7XzamdoEvYsIBMmCC.XE.U6W.9/7ghkYyhSqe/NM1eXe9TQFfQMu"], ["remember_token", "eL1HzOjqZnI6ln_2N_HeUQ"], ["created_at", "2015-10-30 22:49:51.165431"], ["updated_at", "2015-10-30 22:49:51.165431"]]  (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$9NcqxyCHSGMLGBExXS9UlOmoF6ZbVMQoeqK0fLzsjrAU/iWDFWu1O"], ["remember_token", "FWyqKcCazl5gbGNqePbH_w"], ["created_at", "2015-10-30 22:49:51.171119"], ["updated_at", "2015-10-30 22:49:51.171119"]]  (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", "2015-10-30 22:49:51.173076"], ["updated_at", "2015-10-30 22:49:51.173076"]]  (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", "2015-10-30 22:49:51.175056"], ["updated_at", "2015-10-30 22:49:51.175056"]]  (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", "2015-10-30 22:49:51.177033"], ["updated_at", "2015-10-30 22:49:51.177033"]]  (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", "2015-10-30 22:49:51.179172"], ["updated_at", "2015-10-30 22:49:51.179172"]]  (0.0ms) 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", "2015-10-30 22:49:51.181119"], ["updated_at", "2015-10-30 22:49:51.181119"]]  (0.0ms) 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", "2015-10-30 22:49:51.182949"], ["updated_at", "2015-10-30 22:49:51.182949"]]  (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", "2015-10-30 22:49:51.185594"], ["updated_at", "2015-10-30 22:49:51.185594"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:49:51.188602"], ["updated_at", "2015-10-30 22:49:51.188602"]]  (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", "2015-10-30 22:49:51.190926"], ["updated_at", "2015-10-30 22:49:51.190926"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:51.193947"], ["updated_at", "2015-10-30 22:49:51.193947"]] 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", "2015-10-30 22:49:51.195642"], ["updated_at", "2015-10-30 22:49:51.195642"]] 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.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_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:51.203099"], ["updated_at", "2015-10-30 22:49:51.203099"]] 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", "2015-10-30 22:49:51.204862"], ["updated_at", "2015-10-30 22:49:51.204862"]] 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", "eL1HzOjqZnI6ln_2N_HeUQ"]] 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: 1.0ms | ActiveRecord: 0.5ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (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$nNw/WBT4BNMRszwcGCAUEOycBUJUwqOaN25x/s.ikN8sax5aAqyEu"], ["remember_token", "P9oP8V4824ZxwyWrj50m-g"], ["created_at", "2015-10-30 22:49:51.220954"], ["updated_at", "2015-10-30 22:49:51.220954"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:49:51.224719"], ["updated_at", "2015-10-30 22:49:51.224719"]]  (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", "2015-10-30 22:49:51.228171"], ["updated_at", "2015-10-30 22:49:51.228171"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:51.231828"], ["updated_at", "2015-10-30 22:49:51.231828"]] 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", "2015-10-30 22:49:51.233354"], ["updated_at", "2015-10-30 22:49:51.233354"]] 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.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$1Augo1UQVtB004fSZ8lfuO.CNgtGK5SnwGBxFjO5wlu9Pyykcpkx6"], ["remember_token", "RYoPlrnWmFEsf5HBML_y4Q"], ["created_at", "2015-10-30 22:49:51.241477"], ["updated_at", "2015-10-30 22:49:51.241477"]]  (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", "2015-10-30 22:49:51.244083"], ["updated_at", "2015-10-30 22:49:51.244083"]]  (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 1 [["remember_token", "P9oP8V4824ZxwyWrj50m-g"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 9ms (Views: 3.3ms | ActiveRecord: 0.6ms)  (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$6iqj0WE0BypDPH9tS6kFmuNRPTTc/ppUIENvI6Dt1ilKcFOH7K/mG"], ["remember_token", "HwH8MHYsfRjGgpfEIYg1rg"], ["created_at", "2015-10-30 22:49:51.261139"], ["updated_at", "2015-10-30 22:49:51.261139"]]  (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", "2015-10-30 22:49:51.271064"], ["updated_at", "2015-10-30 22:49:51.271064"]]  (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", "2015-10-30 22:49:51.273794"], ["updated_at", "2015-10-30 22:49:51.273794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:51.276822"], ["updated_at", "2015-10-30 22:49:51.276822"]] 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", "2015-10-30 22:49:51.278820"], ["updated_at", "2015-10-30 22:49:51.278820"]] 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.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$Iq6lBIfunXXgVs9RWVQzy.SLrO0SeyhIGJ8x0FlPq6zsoFNXYdwHq"], ["remember_token", "0Glbm_I_dUzpM8O689mGLA"], ["created_at", "2015-10-30 22:49:51.286304"], ["updated_at", "2015-10-30 22:49:51.286304"]]  (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", "2015-10-30 22:49:51.289614"], ["updated_at", "2015-10-30 22:49:51.289614"]]  (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 1 [["remember_token", "HwH8MHYsfRjGgpfEIYg1rg"]] 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.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"]] Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.6ms)  (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$ewJVdFgBD7ffqZOb7w6bT.CSNdhUYpVxy7D12wYnib2WcIHI18Ore"], ["remember_token", "ph71eJ6hetjG2E93gNkcuQ"], ["created_at", "2015-10-30 22:49:51.305090"], ["updated_at", "2015-10-30 22:49:51.305090"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:49:51.308206"], ["updated_at", "2015-10-30 22:49:51.308206"]]  (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", "2015-10-30 22:49:51.311045"], ["updated_at", "2015-10-30 22:49:51.311045"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:51.314019"], ["updated_at", "2015-10-30 22:49:51.314019"]] 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", "2015-10-30 22:49:51.315989"], ["updated_at", "2015-10-30 22:49:51.315989"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "ph71eJ6hetjG2E93gNkcuQ"]] 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 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.3ms) Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.5ms)  (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$dGOv5HV8nKbEWkXULz4Riufa8iICaEVP2Kj5PVLWoZEEN/MF3SJ4u"], ["remember_token", "KP1U6gMbAL9L6s0GEInFHQ"], ["created_at", "2015-10-30 22:49:51.331602"], ["updated_at", "2015-10-30 22:49:51.331602"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:49:51.334727"], ["updated_at", "2015-10-30 22:49:51.334727"]]  (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", "2015-10-30 22:49:51.337313"], ["updated_at", "2015-10-30 22:49:51.337313"]]  (0.2ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:51.343340"], ["updated_at", "2015-10-30 22:49:51.343340"]] 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", "2015-10-30 22:49:51.345860"], ["updated_at", "2015-10-30 22:49:51.345860"]] 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.1ms) 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$Nq2zuO17od8y0ta1cPRNqul/qDkcLEYFM0Y98T6A58jq0/wf7x8Cq"], ["remember_token", "rQdSnOSaM51ZOBiyiacXFQ"], ["created_at", "2015-10-30 22:49:51.354587"], ["updated_at", "2015-10-30 22:49:51.354587"]]  (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", "2015-10-30 22:49:51.356619"], ["updated_at", "2015-10-30 22:49:51.356619"]]  (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", "KP1U6gMbAL9L6s0GEInFHQ"]] 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"."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.3ms) Completed 200 OK in 7ms (Views: 2.7ms | 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$8CTRWvEWSte.KnGdIyfJreiYW5TlrgtzVP5UOVqr4owMuj/BZYJ6."], ["remember_token", "i7ZxQyw_6ouwv_tZ8pD7PA"], ["created_at", "2015-10-30 22:49:51.372145"], ["updated_at", "2015-10-30 22:49:51.372145"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:49:51.375394"], ["updated_at", "2015-10-30 22:49:51.375394"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:49:51.379453"], ["updated_at", "2015-10-30 22:49:51.379453"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:49:51.383417"], ["updated_at", "2015-10-30 22:49:51.383417"]] 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", "2015-10-30 22:49:51.384947"], ["updated_at", "2015-10-30 22:49:51.384947"]] 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.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$FBBfJ6loUmfeZK8lVAfZT.ickrviaoOHIMl3T/ksDGGytB3IZRVeK"], ["remember_token", "chntjcTcOV5prqCVaPQY6Q"], ["created_at", "2015-10-30 22:49:51.391559"], ["updated_at", "2015-10-30 22:49:51.391559"]]  (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", "2015-10-30 22:49:51.394150"], ["updated_at", "2015-10-30 22:49:51.394150"]]  (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", "i7ZxQyw_6ouwv_tZ8pD7PA"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:49:51.406056"], ["updated_at", "2015-10-30 22:49:51.406056"]]  (0.0ms) 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", "2015-10-30 22:49:51.408301"], ["updated_at", "2015-10-30 22:49:51.408301"]]  (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", "2015-10-30 22:49:51.410813"], ["updated_at", "2015-10-30 22:49:51.410813"]]  (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", "2015-10-30 22:49:51.418747"], ["updated_at", "2015-10-30 22:49:51.418747"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:49:51.421532"], ["updated_at", "2015-10-30 22:49:51.421532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 22:49:51.443604"], ["updated_at", "2015-10-30 22:49:51.443604"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:49:51.446324"], ["updated_at", "2015-10-30 22:49:51.446324"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:49:51.454646"], ["updated_at", "2015-10-30 22:49:51.454646"]]  (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", "2015-10-30 22:49:51.456996"], ["updated_at", "2015-10-30 22:49:51.456996"]]  (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", "2015-10-30 22:49:51.459657"], ["updated_at", "2015-10-30 22:49:51.459657"]]  (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 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", "2015-10-30 22:49:51.469114"], ["updated_at", "2015-10-30 22:49:51.469114"]]  (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", "2015-10-30 22:49:51.471429"], ["updated_at", "2015-10-30 22:49:51.471429"]]  (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", "2015-10-30 22:49:51.474089"], ["updated_at", "2015-10-30 22:49:51.474089"]]  (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 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:49:51.481400"], ["updated_at", "2015-10-30 22:49:51.481400"]]  (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", "2015-10-30 22:49:51.483955"], ["updated_at", "2015-10-30 22:49:51.483955"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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 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.4ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:52:35.123309"], ["updated_at", "2015-10-30 22:52:35.123309"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.5ms) 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", "2015-10-30 22:52:35.146755"], ["updated_at", "2015-10-30 22:52:35.146755"]]  (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.8ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:35.164167"], ["updated_at", "2015-10-30 22:52:35.164167"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.206313"], ["updated_at", "2015-10-30 22:52:35.206313"]] 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", "2015-10-30 22:52:35.209029"], ["updated_at", "2015-10-30 22:52:35.209029"]] 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.4ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.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" = 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"."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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:52:35.258463"], ["updated_at", "2015-10-30 22:52:35.258463"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:35.261549"], ["updated_at", "2015-10-30 22:52:35.261549"]]  (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", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 22:52:35.267238"], ["updated_at", "2015-10-30 22:52:35.267238"]] 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", "2015-10-30 22:52:35.269012"], ["updated_at", "2015-10-30 22:52:35.269012"]] 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" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1002 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:52:35.279799"], ["updated_at", "2015-10-30 22:52:35.279799"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:35.282323"], ["updated_at", "2015-10-30 22:52:35.282323"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.285372"], ["updated_at", "2015-10-30 22:52:35.285372"]] 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", "2015-10-30 22:52:35.287440"], ["updated_at", "2015-10-30 22:52:35.287440"]] 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" = 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"."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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_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", "2015-10-30 22:52:35.298029"], ["updated_at", "2015-10-30 22:52:35.298029"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:35.300553"], ["updated_at", "2015-10-30 22:52:35.300553"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.304069"], ["updated_at", "2015-10-30 22:52:35.304069"]] 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", "2015-10-30 22:52:35.305959"], ["updated_at", "2015-10-30 22:52:35.305959"]] 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.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" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.2ms) 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", "2015-10-30 22:52:35.317911"], ["updated_at", "2015-10-30 22:52:35.317911"]]  (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", "2015-10-30 22:52:35.321429"], ["updated_at", "2015-10-30 22:52:35.321429"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.325410"], ["updated_at", "2015-10-30 22:52:35.325410"]] 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", "2015-10-30 22:52:35.326825"], ["updated_at", "2015-10-30 22:52:35.326825"]] 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" = 1005 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1005 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", "2015-10-30 22:52:35.338297"], ["updated_at", "2015-10-30 22:52:35.338297"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:35.342275"], ["updated_at", "2015-10-30 22:52:35.342275"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.347920"], ["updated_at", "2015-10-30 22:52:35.347920"]] 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", "2015-10-30 22:52:35.349581"], ["updated_at", "2015-10-30 22:52:35.349581"]] 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" = 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.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", "2015-10-30 22:52:35.361880"], ["updated_at", "2015-10-30 22:52:35.361880"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:35.364539"], ["updated_at", "2015-10-30 22:52:35.364539"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.367909"], ["updated_at", "2015-10-30 22:52:35.367909"]] 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", "2015-10-30 22:52:35.371384"], ["updated_at", "2015-10-30 22:52:35.371384"]] 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" = 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"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:52:35.384356"], ["updated_at", "2015-10-30 22:52:35.384356"]]  (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", "2015-10-30 22:52:35.387816"], ["updated_at", "2015-10-30 22:52:35.387816"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.391698"], ["updated_at", "2015-10-30 22:52:35.391698"]] 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", "2015-10-30 22:52:35.393152"], ["updated_at", "2015-10-30 22:52:35.393152"]] 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" = 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"."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.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" = 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", "2015-10-30 22:52:35.404130"], ["updated_at", "2015-10-30 22:52:35.404130"]]  (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", "2015-10-30 22:52:35.407669"], ["updated_at", "2015-10-30 22:52:35.407669"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 22:52:35.411670"], ["updated_at", "2015-10-30 22:52:35.411670"]] 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", "2015-10-30 22:52:35.413159"], ["updated_at", "2015-10-30 22:52:35.413159"]] 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.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"."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.2ms) 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:52:35.424907"], ["updated_at", "2015-10-30 22:52:35.424907"]]  (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", "2015-10-30 22:52:35.427602"], ["updated_at", "2015-10-30 22:52:35.427602"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.431035"], ["updated_at", "2015-10-30 22:52:35.431035"]] 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", "2015-10-30 22:52:35.433039"], ["updated_at", "2015-10-30 22:52:35.433039"]] 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" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."name" = 'share' Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."name" = 'share'  (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", "2015-10-30 22:52:35.444853"], ["updated_at", "2015-10-30 22:52:35.444853"]]  (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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:35.454893"], ["updated_at", "2015-10-30 22:52:35.454893"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.461057"], ["updated_at", "2015-10-30 22:52:35.461057"]] 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", "2015-10-30 22:52:35.462442"], ["updated_at", "2015-10-30 22:52:35.462442"]] 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  (0.0ms) ROLLBACK TO 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 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", "2015-10-30 22:52:35.471153"], ["updated_at", "2015-10-30 22:52:35.471153"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:35.473785"], ["updated_at", "2015-10-30 22:52:35.473785"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.478731"], ["updated_at", "2015-10-30 22:52:35.478731"]] 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", "2015-10-30 22:52:35.480484"], ["updated_at", "2015-10-30 22:52:35.480484"]] 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" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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"]]  (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", "2015-10-30 22:52:35.491100"], ["updated_at", "2015-10-30 22:52:35.491100"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:35.493677"], ["updated_at", "2015-10-30 22:52:35.493677"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.496876"], ["updated_at", "2015-10-30 22:52:35.496876"]] 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", "2015-10-30 22:52:35.499820"], ["updated_at", "2015-10-30 22:52:35.499820"]] 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.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" = 1013 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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.7ms) 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", "2015-10-30 22:52:35.517552"], ["updated_at", "2015-10-30 22:52:35.517552"]]  (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", "2015-10-30 22:52:35.520968"], ["updated_at", "2015-10-30 22:52:35.520968"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.524858"], ["updated_at", "2015-10-30 22:52:35.524858"]] 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", "2015-10-30 22:52:35.526298"], ["updated_at", "2015-10-30 22:52:35.526298"]] 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.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" = 1016 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", "2015-10-30 22:52:35.537987"], ["updated_at", "2015-10-30 22:52:35.537987"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:35.540615"], ["updated_at", "2015-10-30 22:52:35.540615"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.544521"], ["updated_at", "2015-10-30 22:52:35.544521"]] 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", "2015-10-30 22:52:35.546042"], ["updated_at", "2015-10-30 22:52:35.546042"]] 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" = 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:52:35.557148"], ["updated_at", "2015-10-30 22:52:35.557148"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:35.559950"], ["updated_at", "2015-10-30 22:52:35.559950"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.563927"], ["updated_at", "2015-10-30 22:52:35.563927"]] 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", "2015-10-30 22:52:35.565357"], ["updated_at", "2015-10-30 22:52:35.565357"]] 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" = 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"."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.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" = 1020 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:52:35.577499"], ["updated_at", "2015-10-30 22:52:35.577499"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:35.580096"], ["updated_at", "2015-10-30 22:52:35.580096"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.583855"], ["updated_at", "2015-10-30 22:52:35.583855"]] 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", "2015-10-30 22:52:35.585391"], ["updated_at", "2015-10-30 22:52:35.585391"]] 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.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" = 1022 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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 22:52:35.600067"], ["updated_at", "2015-10-30 22:52:35.600067"]]  (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", "2015-10-30 22:52:35.604251"], ["updated_at", "2015-10-30 22:52:35.604251"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:52:35.608428"], ["updated_at", "2015-10-30 22:52:35.608428"]]  (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", "2015-10-30 22:52:35.611560"], ["updated_at", "2015-10-30 22:52:35.611560"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.614927"], ["updated_at", "2015-10-30 22:52:35.614927"]] 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", "2015-10-30 22:52:35.617336"], ["updated_at", "2015-10-30 22:52:35.617336"]] 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" = 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"."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.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$Rf5SUbONUFpC426.EggRp.1f1/sB7.lEaJykwEzUCRYm1lsIiChDu"], ["remember_token", "xlY3kOjS_f61Y_s0zX_tsw"], ["created_at", "2015-10-30 22:52:35.640991"], ["updated_at", "2015-10-30 22:52:35.640991"]]  (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", "2015-10-30 22:52:35.645662"], ["updated_at", "2015-10-30 22:52:35.645662"]]  (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", "2015-10-30 22:52:35.648351"], ["updated_at", "2015-10-30 22:52:35.648351"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.651425"], ["updated_at", "2015-10-30 22:52:35.651425"]] 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", "2015-10-30 22:52:35.652739"], ["updated_at", "2015-10-30 22:52:35.652739"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "xlY3kOjS_f61Y_s0zX_tsw"]] 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" = 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"."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.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"]] 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 22ms (Views: 14.2ms | ActiveRecord: 1.2ms)  (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$g50AYJ5EDLmok.fkvZiqDuy1rjqpEJDgXNcKiwmLj.BqGGpMiVW56"], ["remember_token", "bL1RIfXP8_Glm-CQKEEwVw"], ["created_at", "2015-10-30 22:52:35.687247"], ["updated_at", "2015-10-30 22:52:35.687247"]]  (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", "2015-10-30 22:52:35.690536"], ["updated_at", "2015-10-30 22:52:35.690536"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:35.693163"], ["updated_at", "2015-10-30 22:52:35.693163"]]  (0.2ms) 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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.698673"], ["updated_at", "2015-10-30 22:52:35.698673"]] 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", "2015-10-30 22:52:35.700220"], ["updated_at", "2015-10-30 22:52:35.700220"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "bL1RIfXP8_Glm-CQKEEwVw"]] 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.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 8ms (Views: 1.3ms | ActiveRecord: 0.8ms)  (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$WcK3PiEdO6vvssgohmEgtelj2end8qcj1brYpC82y24FjpNKULwa6"], ["remember_token", "OwdHbQM6dShrO39tP9rqrw"], ["created_at", "2015-10-30 22:52:35.719639"], ["updated_at", "2015-10-30 22:52:35.719639"]]  (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", "2015-10-30 22:52:35.723446"], ["updated_at", "2015-10-30 22:52:35.723446"]]  (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", "2015-10-30 22:52:35.726511"], ["updated_at", "2015-10-30 22:52:35.726511"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.736588"], ["updated_at", "2015-10-30 22:52:35.736588"]] 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", "2015-10-30 22:52:35.738419"], ["updated_at", "2015-10-30 22:52:35.738419"]] 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.1ms) 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$W2oz2h5U51RSv6Ftgps6We/Um5G1ydOPQALKBa.P5sCXwzlkKIZyW"], ["remember_token", "T8lro_k6O0o6Oddke75PdQ"], ["created_at", "2015-10-30 22:52:35.749450"], ["updated_at", "2015-10-30 22:52:35.749450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", "2015-10-30 22:52:35.751806"], ["updated_at", "2015-10-30 22:52:35.751806"]]  (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 (?, ?, ?, ?, ?)[0m [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-30 22:52:35.755030"], ["updated_at", "2015-10-30 22:52:35.755030"]]  (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", "2015-10-30 22:52:35.757203"], ["updated_at", "2015-10-30 22:52:35.757203"]]  (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", "2015-10-30 22:52:35.759294"], ["updated_at", "2015-10-30 22:52:35.759294"]]  (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", "2015-10-30 22:52:35.761412"], ["updated_at", "2015-10-30 22:52:35.761412"]]  (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", "OwdHbQM6dShrO39tP9rqrw"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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$c7nGr6gJsaGQMEV.pq/iDuK3unpAmsvpQZCuqjvJob48iwc3wZ.Tm"], ["remember_token", "EvVCD40eQtAbNoDa66TQDw"], ["created_at", "2015-10-30 22:52:35.776187"], ["updated_at", "2015-10-30 22:52:35.776187"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:52:35.779534"], ["updated_at", "2015-10-30 22:52:35.779534"]]  (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", "2015-10-30 22:52:35.782752"], ["updated_at", "2015-10-30 22:52:35.782752"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.785785"], ["updated_at", "2015-10-30 22:52:35.785785"]] 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", "2015-10-30 22:52:35.787228"], ["updated_at", "2015-10-30 22:52:35.787228"]] 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.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", "2015-10-30 22:52:35.790806"], ["updated_at", "2015-10-30 22:52:35.790806"]]  (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", "2015-10-30 22:52:35.792770"], ["updated_at", "2015-10-30 22:52:35.792770"]]  (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", "2015-10-30 22:52:35.794369"], ["updated_at", "2015-10-30 22:52:35.794369"]]  (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", "2015-10-30 22:52:35.795905"], ["updated_at", "2015-10-30 22:52:35.795905"]]  (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", "2015-10-30 22:52:35.797414"], ["updated_at", "2015-10-30 22:52:35.797414"]]  (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$DD69voYjN.WSSJznauOlOePwCASRX6WAk1EZe2uCPmt8yrQyopJfm"], ["remember_token", "dOgrHVp8VvliAyU2b6NbUQ"], ["created_at", "2015-10-30 22:52:35.801235"], ["updated_at", "2015-10-30 22:52:35.801235"]]  (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", "2015-10-30 22:52:35.802702"], ["updated_at", "2015-10-30 22:52:35.802702"]]  (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", "2015-10-30 22:52:35.804827"], ["updated_at", "2015-10-30 22:52:35.804827"]]  (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.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", "2015-10-30 22:52:35.807180"], ["updated_at", "2015-10-30 22:52:35.807180"]]  (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", "2015-10-30 22:52:35.811011"], ["updated_at", "2015-10-30 22:52:35.811011"]]  (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.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", "2015-10-30 22:52:35.814202"], ["updated_at", "2015-10-30 22:52:35.814202"]]  (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", "EvVCD40eQtAbNoDa66TQDw"]] 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.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 8ms (Views: 1.1ms | ActiveRecord: 0.8ms) 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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$deXn496du5OlhErcGyTCeeV56IizEUP3Y6le7DXcsWJLTJcTz/Gku"], ["remember_token", "_JZwSsHEEGWr2uwWQZbeWA"], ["created_at", "2015-10-30 22:52:35.832182"], ["updated_at", "2015-10-30 22:52:35.832182"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:52:35.835934"], ["updated_at", "2015-10-30 22:52:35.835934"]]  (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", "2015-10-30 22:52:35.839029"], ["updated_at", "2015-10-30 22:52:35.839029"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.842320"], ["updated_at", "2015-10-30 22:52:35.842320"]] 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", "2015-10-30 22:52:35.843633"], ["updated_at", "2015-10-30 22:52:35.843633"]] 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.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", "2015-10-30 22:52:35.846836"], ["updated_at", "2015-10-30 22:52:35.846836"]]  (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", "2015-10-30 22:52:35.848764"], ["updated_at", "2015-10-30 22:52:35.848764"]]  (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", "2015-10-30 22:52:35.850507"], ["updated_at", "2015-10-30 22:52:35.850507"]]  (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", "2015-10-30 22:52:35.852059"], ["updated_at", "2015-10-30 22:52:35.852059"]]  (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", "2015-10-30 22:52:35.854835"], ["updated_at", "2015-10-30 22:52:35.854835"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$xS7UG5VZR75AvL.oe7Jc3enY48hpCaRtfzJfX6BBrwd5KUj556h92"], ["remember_token", "_GL3Cr5J3-DnG6S5KG-WCA"], ["created_at", "2015-10-30 22:52:35.861343"], ["updated_at", "2015-10-30 22:52:35.861343"]]  (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", "2015-10-30 22:52:35.863314"], ["updated_at", "2015-10-30 22:52:35.863314"]]  (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", "2015-10-30 22:52:35.866213"], ["updated_at", "2015-10-30 22:52:35.866213"]]  (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", "2015-10-30 22:52:35.868668"], ["updated_at", "2015-10-30 22:52:35.868668"]]  (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", "2015-10-30 22:52:35.870878"], ["updated_at", "2015-10-30 22:52:35.870878"]]  (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", "2015-10-30 22:52:35.873299"], ["updated_at", "2015-10-30 22:52:35.873299"]]  (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", "2015-10-30 22:52:35.875168"], ["updated_at", "2015-10-30 22:52:35.875168"]]  (0.0ms) 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.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.880585"], ["updated_at", "2015-10-30 22:52:35.880585"]] 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", "2015-10-30 22:52:35.881904"], ["updated_at", "2015-10-30 22:52:35.881904"]] 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", "_JZwSsHEEGWr2uwWQZbeWA"]] 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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (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$qeszlUQd6pkow/PLzonKEODK/NDSWzHOCFV0pUdoPNqVmvWQpE41K"], ["remember_token", "mQP1NWhzxYA9QixHleilkQ"], ["created_at", "2015-10-30 22:52:35.898390"], ["updated_at", "2015-10-30 22:52:35.898390"]]  (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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$60YQVUJjQYRy808stILYqOJrAL1Rc1gPDtyh7nele3GhsFVA/1o4a"], ["remember_token", "f7bnTIGfAoHYNN5OAMBZrw"], ["created_at", "2015-10-30 22:52:35.903257"], ["updated_at", "2015-10-30 22:52:35.903257"]]  (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", "2015-10-30 22:52:35.905410"], ["updated_at", "2015-10-30 22:52:35.905410"]]  (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", "2015-10-30 22:52:35.907435"], ["updated_at", "2015-10-30 22:52:35.907435"]]  (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", "2015-10-30 22:52:35.909206"], ["updated_at", "2015-10-30 22:52:35.909206"]]  (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", "2015-10-30 22:52:35.911056"], ["updated_at", "2015-10-30 22:52:35.911056"]]  (0.0ms) 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", "2015-10-30 22:52:35.912962"], ["updated_at", "2015-10-30 22:52:35.912962"]]  (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.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", "2015-10-30 22:52:35.914769"], ["updated_at", "2015-10-30 22:52:35.914769"]]  (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", "2015-10-30 22:52:35.918345"], ["updated_at", "2015-10-30 22:52:35.918345"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:52:35.923657"], ["updated_at", "2015-10-30 22:52:35.923657"]]  (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", "2015-10-30 22:52:35.927416"], ["updated_at", "2015-10-30 22:52:35.927416"]]  (0.2ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.934606"], ["updated_at", "2015-10-30 22:52:35.934606"]] 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", "2015-10-30 22:52:35.936303"], ["updated_at", "2015-10-30 22:52:35.936303"]] 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.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_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.943802"], ["updated_at", "2015-10-30 22:52:35.943802"]] 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", "2015-10-30 22:52:35.945261"], ["updated_at", "2015-10-30 22:52:35.945261"]] 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 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "mQP1NWhzxYA9QixHleilkQ"]] 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.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (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$shO38NgGp6.IMfgT1ArkP.dqvbTls3yvd2fa4.836bpXGqLMGa1yG"], ["remember_token", "UWCqeZLLamK-RlMf4AOEOQ"], ["created_at", "2015-10-30 22:52:35.960474"], ["updated_at", "2015-10-30 22:52:35.960474"]]  (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", "2015-10-30 22:52:35.963740"], ["updated_at", "2015-10-30 22:52:35.963740"]]  (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", "2015-10-30 22:52:35.966845"], ["updated_at", "2015-10-30 22:52:35.966845"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:35.969944"], ["updated_at", "2015-10-30 22:52:35.969944"]] 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", "2015-10-30 22:52:35.971237"], ["updated_at", "2015-10-30 22:52:35.971237"]] 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.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$a3.aAqoDXDn3Zqswpo6.VOt5p0T2llOuRKapV9/pEej2yBTa1nUeG"], ["remember_token", "1GAjICHnyLsQk7zEKoABDw"], ["created_at", "2015-10-30 22:52:35.976837"], ["updated_at", "2015-10-30 22:52:35.976837"]]  (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", "2015-10-30 22:52:35.978503"], ["updated_at", "2015-10-30 22:52:35.978503"]]  (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 1 [["remember_token", "UWCqeZLLamK-RlMf4AOEOQ"]] 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.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 articles/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 9ms (Views: 4.6ms | ActiveRecord: 0.5ms)  (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$CHc9VYJn8pp3EqdekfzyHup./pBxndgwc96NquH1JwT9IzjAsBGzy"], ["remember_token", "3MNkZB94k4FGj8H5mKxy6g"], ["created_at", "2015-10-30 22:52:35.997444"], ["updated_at", "2015-10-30 22:52:35.997444"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:52:36.007256"], ["updated_at", "2015-10-30 22:52:36.007256"]]  (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", "2015-10-30 22:52:36.011525"], ["updated_at", "2015-10-30 22:52:36.011525"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:36.015182"], ["updated_at", "2015-10-30 22:52:36.015182"]] 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", "2015-10-30 22:52:36.016714"], ["updated_at", "2015-10-30 22:52:36.016714"]] 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.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$2OICaLESvI/8mIThXuZzMe.12Tmd2afC3Mb7SVkw/vVmCl7oNQHb2"], ["remember_token", "L5dyEn4rP53LY_nPkKmPBg"], ["created_at", "2015-10-30 22:52:36.023011"], ["updated_at", "2015-10-30 22:52:36.023011"]]  (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", "2015-10-30 22:52:36.024699"], ["updated_at", "2015-10-30 22:52:36.024699"]]  (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", "3MNkZB94k4FGj8H5mKxy6g"]] 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"."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"]] Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 5ms (Views: 0.9ms | 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$aaAVD0T/X00suned.3dDEOPCkcM4/Nsy3u0wRDia7r5rNGdwTmR0C"], ["remember_token", "IHJcqk16EguzUPoMohIzIg"], ["created_at", "2015-10-30 22:52:36.037496"], ["updated_at", "2015-10-30 22:52:36.037496"]]  (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", "2015-10-30 22:52:36.041377"], ["updated_at", "2015-10-30 22:52:36.041377"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:36.045172"], ["updated_at", "2015-10-30 22:52:36.045172"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:36.048735"], ["updated_at", "2015-10-30 22:52:36.048735"]] 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", "2015-10-30 22:52:36.050063"], ["updated_at", "2015-10-30 22:52:36.050063"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "IHJcqk16EguzUPoMohIzIg"]] 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.5ms) Completed 200 OK in 7ms (Views: 3.4ms | ActiveRecord: 0.6ms)  (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$flKUv6Wesbnk/YN.r0aKaOSN1Vwva5h7nuNtoTYZG4WQbL.zMoiw2"], ["remember_token", "EuKEsYZI0WNEBSnbt8Dv1w"], ["created_at", "2015-10-30 22:52:36.068856"], ["updated_at", "2015-10-30 22:52:36.068856"]]  (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", "2015-10-30 22:52:36.072610"], ["updated_at", "2015-10-30 22:52:36.072610"]]  (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", "2015-10-30 22:52:36.075881"], ["updated_at", "2015-10-30 22:52:36.075881"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:36.079034"], ["updated_at", "2015-10-30 22:52:36.079034"]] 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", "2015-10-30 22:52:36.080293"], ["updated_at", "2015-10-30 22:52:36.080293"]] 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.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$h8z85yt8haiyf5aLqKQQXeyrXDk5sERVx5lyb70GmF60smgph2WUC"], ["remember_token", "ejLVJzrpMkzFdXswkzQv1Q"], ["created_at", "2015-10-30 22:52:36.085697"], ["updated_at", "2015-10-30 22:52:36.085697"]]  (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", "2015-10-30 22:52:36.087270"], ["updated_at", "2015-10-30 22:52:36.087270"]]  (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", "EuKEsYZI0WNEBSnbt8Dv1w"]] 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.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.6ms) Completed 200 OK in 8ms (Views: 3.7ms | ActiveRecord: 0.6ms)  (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$5KEkXgzXz73WkO4ePQHI2eOdFYJP4wjj6s6GIOaGfN/XgN5Vv/dmG"], ["remember_token", "54Bw4k7qcRZjAP9mjTz7bQ"], ["created_at", "2015-10-30 22:52:36.103338"], ["updated_at", "2015-10-30 22:52:36.103338"]]  (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", "2015-10-30 22:52:36.107122"], ["updated_at", "2015-10-30 22:52:36.107122"]]  (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", "2015-10-30 22:52:36.110560"], ["updated_at", "2015-10-30 22:52:36.110560"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:36.113623"], ["updated_at", "2015-10-30 22:52:36.113623"]] 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", "2015-10-30 22:52:36.114882"], ["updated_at", "2015-10-30 22:52:36.114882"]] 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.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$sY2YGdQPnySFNEt/lzNLCOGyi1XHpLU3GiRgeuWHHeXspTQoco.DW"], ["remember_token", "agMSDr_ClQqBYQHT7H-W8g"], ["created_at", "2015-10-30 22:52:36.120367"], ["updated_at", "2015-10-30 22:52:36.120367"]]  (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", "2015-10-30 22:52:36.121949"], ["updated_at", "2015-10-30 22:52:36.121949"]]  (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", "54Bw4k7qcRZjAP9mjTz7bQ"]] 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.4ms) Completed 200 OK in 7ms (Views: 1.4ms | ActiveRecord: 0.6ms)  (1.2ms) 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", "2015-10-30 22:52:36.137056"], ["updated_at", "2015-10-30 22:52:36.137056"]]  (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", "2015-10-30 22:52:36.139789"], ["updated_at", "2015-10-30 22:52:36.139789"]]  (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.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:36.143889"], ["updated_at", "2015-10-30 22:52:36.143889"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:52:36.151234"], ["updated_at", "2015-10-30 22:52:36.151234"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:36.153930"], ["updated_at", "2015-10-30 22:52:36.153930"]]  (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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 22:52:36.175185"], ["updated_at", "2015-10-30 22:52:36.175185"]]  (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", "2015-10-30 22:52:36.177851"], ["updated_at", "2015-10-30 22:52:36.177851"]]  (0.0ms) 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 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", "2015-10-30 22:52:36.185674"], ["updated_at", "2015-10-30 22:52:36.185674"]]  (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", "2015-10-30 22:52:36.188722"], ["updated_at", "2015-10-30 22:52:36.188722"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:36.191386"], ["updated_at", "2015-10-30 22:52:36.191386"]]  (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 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:52:36.199670"], ["updated_at", "2015-10-30 22:52:36.199670"]]  (0.0ms) 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 22:52:36.201853"], ["updated_at", "2015-10-30 22:52:36.201853"]]  (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", "2015-10-30 22:52:36.204228"], ["updated_at", "2015-10-30 22:52:36.204228"]]  (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 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", "2015-10-30 22:52:36.213006"], ["updated_at", "2015-10-30 22:52:36.213006"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 22:52:36.216428"], ["updated_at", "2015-10-30 22:52:36.216428"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.2ms) 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.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", "2015-10-30 22:52:55.566136"], ["updated_at", "2015-10-30 22:52:55.566136"]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.2ms) 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", "2015-10-30 22:52:55.588572"], ["updated_at", "2015-10-30 22:52:55.588572"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:55.599407"], ["updated_at", "2015-10-30 22:52:55.599407"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:55.637136"], ["updated_at", "2015-10-30 22:52:55.637136"]] 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", "2015-10-30 22:52:55.639556"], ["updated_at", "2015-10-30 22:52:55.639556"]] 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.4ms) 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" = 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:52:55.682015"], ["updated_at", "2015-10-30 22:52:55.682015"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:55.684556"], ["updated_at", "2015-10-30 22:52:55.684556"]]  (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", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 22:52:55.688276"], ["updated_at", "2015-10-30 22:52:55.688276"]] 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", "2015-10-30 22:52:55.689640"], ["updated_at", "2015-10-30 22:52:55.689640"]] 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" = 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:52:55.701596"], ["updated_at", "2015-10-30 22:52:55.701596"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:55.704133"], ["updated_at", "2015-10-30 22:52:55.704133"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:55.707968"], ["updated_at", "2015-10-30 22:52:55.707968"]] 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", "2015-10-30 22:52:55.709375"], ["updated_at", "2015-10-30 22:52:55.709375"]] 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" = 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"."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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.2ms) 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", "2015-10-30 22:52:55.721045"], ["updated_at", "2015-10-30 22:52:55.721045"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:55.724028"], ["updated_at", "2015-10-30 22:52:55.724028"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:55.727672"], ["updated_at", "2015-10-30 22:52:55.727672"]] 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", "2015-10-30 22:52:55.729195"], ["updated_at", "2015-10-30 22:52:55.729195"]] 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.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"."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.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" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:52:55.741999"], ["updated_at", "2015-10-30 22:52:55.741999"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:55.745028"], ["updated_at", "2015-10-30 22:52:55.745028"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:55.749393"], ["updated_at", "2015-10-30 22:52:55.749393"]] 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", "2015-10-30 22:52:55.750819"], ["updated_at", "2015-10-30 22:52:55.750819"]] 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.1ms) 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"]]  (1.2ms) 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", "2015-10-30 22:52:55.762515"], ["updated_at", "2015-10-30 22:52:55.762515"]]  (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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:55.766193"], ["updated_at", "2015-10-30 22:52:55.766193"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:55.770563"], ["updated_at", "2015-10-30 22:52:55.770563"]] 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", "2015-10-30 22:52:55.772197"], ["updated_at", "2015-10-30 22:52:55.772197"]] 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.1ms) 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"]]  (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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:52:55.783523"], ["updated_at", "2015-10-30 22:52:55.783523"]]  (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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:55.788387"], ["updated_at", "2015-10-30 22:52:55.788387"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:55.794113"], ["updated_at", "2015-10-30 22:52:55.794113"]] 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", "2015-10-30 22:52:55.796084"], ["updated_at", "2015-10-30 22:52:55.796084"]] 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" = 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:52:55.808475"], ["updated_at", "2015-10-30 22:52:55.808475"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:55.811182"], ["updated_at", "2015-10-30 22:52:55.811182"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:55.815714"], ["updated_at", "2015-10-30 22:52:55.815714"]] 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", "2015-10-30 22:52:55.817575"], ["updated_at", "2015-10-30 22:52:55.817575"]] 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" = 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"]]  (1.5ms) 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", "2015-10-30 22:52:55.829688"], ["updated_at", "2015-10-30 22:52:55.829688"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:55.832308"], ["updated_at", "2015-10-30 22:52:55.832308"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 22:52:55.836198"], ["updated_at", "2015-10-30 22:52:55.836198"]] 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", "2015-10-30 22:52:55.837906"], ["updated_at", "2015-10-30 22:52:55.837906"]] 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.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"."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.1ms) 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"]]  (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", "2015-10-30 22:52:55.849254"], ["updated_at", "2015-10-30 22:52:55.849254"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:55.851929"], ["updated_at", "2015-10-30 22:52:55.851929"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:55.855531"], ["updated_at", "2015-10-30 22:52:55.855531"]] 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", "2015-10-30 22:52:55.856970"], ["updated_at", "2015-10-30 22:52:55.856970"]] 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" = 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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-30 22:52:55.869155"], ["updated_at", "2015-10-30 22:52:55.869155"]]  (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", "2015-10-30 22:52:55.879050"], ["updated_at", "2015-10-30 22:52:55.879050"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:55.882897"], ["updated_at", "2015-10-30 22:52:55.882897"]] 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", "2015-10-30 22:52:55.884240"], ["updated_at", "2015-10-30 22:52:55.884240"]] 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.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:52:55.893360"], ["updated_at", "2015-10-30 22:52:55.893360"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:55.895962"], ["updated_at", "2015-10-30 22:52:55.895962"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:55.899802"], ["updated_at", "2015-10-30 22:52:55.899802"]] 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", "2015-10-30 22:52:55.901821"], ["updated_at", "2015-10-30 22:52:55.901821"]] 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"]]  (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", "2015-10-30 22:52:55.914483"], ["updated_at", "2015-10-30 22:52:55.914483"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:55.917247"], ["updated_at", "2015-10-30 22:52:55.917247"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:55.920447"], ["updated_at", "2015-10-30 22:52:55.920447"]] 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", "2015-10-30 22:52:55.922872"], ["updated_at", "2015-10-30 22:52:55.922872"]] 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" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1013 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:52:55.941192"], ["updated_at", "2015-10-30 22:52:55.941192"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:55.944123"], ["updated_at", "2015-10-30 22:52:55.944123"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:55.948229"], ["updated_at", "2015-10-30 22:52:55.948229"]] 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", "2015-10-30 22:52:55.950113"], ["updated_at", "2015-10-30 22:52:55.950113"]] 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" = 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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:52:55.961607"], ["updated_at", "2015-10-30 22:52:55.961607"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:55.964944"], ["updated_at", "2015-10-30 22:52:55.964944"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:55.971099"], ["updated_at", "2015-10-30 22:52:55.971099"]] 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", "2015-10-30 22:52:55.973328"], ["updated_at", "2015-10-30 22:52:55.973328"]] 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" = 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.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" = 1018 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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", "2015-10-30 22:52:55.988570"], ["updated_at", "2015-10-30 22:52:55.988570"]]  (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", "2015-10-30 22:52:55.993007"], ["updated_at", "2015-10-30 22:52:55.993007"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:55.997682"], ["updated_at", "2015-10-30 22:52:55.997682"]] 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", "2015-10-30 22:52:55.999363"], ["updated_at", "2015-10-30 22:52:55.999363"]] 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" = 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.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" = 1020 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", "2015-10-30 22:52:56.011543"], ["updated_at", "2015-10-30 22:52:56.011543"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:56.015473"], ["updated_at", "2015-10-30 22:52:56.015473"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:56.022029"], ["updated_at", "2015-10-30 22:52:56.022029"]] 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", "2015-10-30 22:52:56.024294"], ["updated_at", "2015-10-30 22:52:56.024294"]] 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.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" = 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", "2015-10-30 22:52:56.040489"], ["updated_at", "2015-10-30 22:52:56.040489"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_group_users" ("adeia_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_group_id", 1], ["user_id", 1023], ["created_at", "2015-10-30 22:52:56.045757"], ["updated_at", "2015-10-30 22:52:56.045757"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:52:56.049063"], ["updated_at", "2015-10-30 22:52:56.049063"]]  (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", "2015-10-30 22:52:56.051453"], ["updated_at", "2015-10-30 22:52:56.051453"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:56.054422"], ["updated_at", "2015-10-30 22:52:56.054422"]] 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", "2015-10-30 22:52:56.055882"], ["updated_at", "2015-10-30 22:52:56.055882"]] 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" = 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  (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$DWUUxFp1mWy97HXKgGhrVugfVG7ywHsO2aGZmt3oSinhKpPoo.BvW"], ["remember_token", "gNETNZ4_BUow6r5p7F8rCA"], ["created_at", "2015-10-30 22:52:56.078466"], ["updated_at", "2015-10-30 22:52:56.078466"]]  (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", "2015-10-30 22:52:56.083645"], ["updated_at", "2015-10-30 22:52:56.083645"]]  (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", "2015-10-30 22:52:56.087094"], ["updated_at", "2015-10-30 22:52:56.087094"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:56.090798"], ["updated_at", "2015-10-30 22:52:56.090798"]] 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", "2015-10-30 22:52:56.092996"], ["updated_at", "2015-10-30 22:52:56.092996"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "gNETNZ4_BUow6r5p7F8rCA"]] 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" = 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" = 'articles' [["read_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"."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 17ms (Views: 10.3ms | ActiveRecord: 0.9ms)  (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$QFW26yswoQ10vCKSZetd/.NC0UaSpjw4rybZjDeQhB0QSOLQbNl/u"], ["remember_token", "q4zCCsNbvvxeb1gsNZXsFg"], ["created_at", "2015-10-30 22:52:56.123155"], ["updated_at", "2015-10-30 22:52:56.123155"]]  (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", "2015-10-30 22:52:56.127681"], ["updated_at", "2015-10-30 22:52:56.127681"]]  (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", "2015-10-30 22:52:56.131155"], ["updated_at", "2015-10-30 22:52:56.131155"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:56.134344"], ["updated_at", "2015-10-30 22:52:56.134344"]] 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", "2015-10-30 22:52:56.135651"], ["updated_at", "2015-10-30 22:52:56.135651"]] 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", "q4zCCsNbvvxeb1gsNZXsFg"]] Adeia::Token Load (0.3ms) 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 7ms (Views: 1.1ms | 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$juycKEFvDeSG3Fs93ojwj.uzXS7LNRWIAvow4Hsgy4y.T4FWlWwvG"], ["remember_token", "QzjlM6dIbxhwKFbzKWnKvg"], ["created_at", "2015-10-30 22:52:56.152982"], ["updated_at", "2015-10-30 22:52:56.152982"]]  (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", "2015-10-30 22:52:56.158851"], ["updated_at", "2015-10-30 22:52:56.158851"]]  (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", "2015-10-30 22:52:56.161597"], ["updated_at", "2015-10-30 22:52:56.161597"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:56.170555"], ["updated_at", "2015-10-30 22:52:56.170555"]] 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", "2015-10-30 22:52:56.172564"], ["updated_at", "2015-10-30 22:52:56.172564"]] 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.2ms) 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$oEcjQ48nKXfUCMTmaYtNh..8BUPAkrp0mFBt0Y5eubaVzFuxqh4z."], ["remember_token", "yghE22DAbeOU8QS0jPWkIA"], ["created_at", "2015-10-30 22:52:56.184471"], ["updated_at", "2015-10-30 22:52:56.184471"]]  (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", "2015-10-30 22:52:56.187017"], ["updated_at", "2015-10-30 22:52:56.187017"]]  (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", "2015-10-30 22:52:56.189152"], ["updated_at", "2015-10-30 22:52:56.189152"]]  (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", "2015-10-30 22:52:56.190939"], ["updated_at", "2015-10-30 22:52:56.190939"]]  (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", "2015-10-30 22:52:56.193996"], ["updated_at", "2015-10-30 22:52:56.193996"]]  (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", "2015-10-30 22:52:56.197471"], ["updated_at", "2015-10-30 22:52:56.197471"]]  (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", "QzjlM6dIbxhwKFbzKWnKvg"]] 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.1ms | ActiveRecord: 0.6ms)  (2.3ms) 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$qdjdmBVbrAQtPWrMZZMG1e4GyuYhLc6k9uwgjdpyjPS8dPyVfGLzG"], ["remember_token", "idbhhbYPk6HZxMoixNDjZg"], ["created_at", "2015-10-30 22:52:56.214718"], ["updated_at", "2015-10-30 22:52:56.214718"]]  (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", "2015-10-30 22:52:56.220442"], ["updated_at", "2015-10-30 22:52:56.220442"]]  (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", "2015-10-30 22:52:56.223269"], ["updated_at", "2015-10-30 22:52:56.223269"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:56.226255"], ["updated_at", "2015-10-30 22:52:56.226255"]] 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", "2015-10-30 22:52:56.227678"], ["updated_at", "2015-10-30 22:52:56.227678"]] 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.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", "2015-10-30 22:52:56.231046"], ["updated_at", "2015-10-30 22:52:56.231046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", 1], ["created_at", "2015-10-30 22:52:56.233551"], ["updated_at", "2015-10-30 22:52:56.233551"]]  (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", "2015-10-30 22:52:56.235535"], ["updated_at", "2015-10-30 22:52:56.235535"]]  (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", "2015-10-30 22:52:56.237299"], ["updated_at", "2015-10-30 22:52:56.237299"]]  (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", "2015-10-30 22:52:56.238903"], ["updated_at", "2015-10-30 22:52:56.238903"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$4pHEoO/HpGYI.g7M6vvqwOirmEgS7XcDbQjlygKCVUezfyohHD6Oi"], ["remember_token", "-_4IroHc30QvWGOlcMWKWw"], ["created_at", "2015-10-30 22:52:56.243000"], ["updated_at", "2015-10-30 22:52:56.243000"]]  (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", "2015-10-30 22:52:56.244887"], ["updated_at", "2015-10-30 22:52:56.244887"]]  (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", "2015-10-30 22:52:56.248170"], ["updated_at", "2015-10-30 22:52:56.248170"]]  (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", "2015-10-30 22:52:56.251539"], ["updated_at", "2015-10-30 22:52:56.251539"]]  (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", "2015-10-30 22:52:56.253973"], ["updated_at", "2015-10-30 22:52:56.253973"]]  (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", "2015-10-30 22:52:56.256168"], ["updated_at", "2015-10-30 22:52:56.256168"]]  (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", "idbhhbYPk6HZxMoixNDjZg"]] 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"]] 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: 1.0ms | ActiveRecord: 0.5ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$btOIvLMnryCkaPBdCd4gSekqTGt9iYFqB8ja/kO5OmYU2CZPk.9L6"], ["remember_token", "Xo2ZK6CQZGlPofJkEXKtcw"], ["created_at", "2015-10-30 22:52:56.269892"], ["updated_at", "2015-10-30 22:52:56.269892"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:52:56.273163"], ["updated_at", "2015-10-30 22:52:56.273163"]]  (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", "2015-10-30 22:52:56.275838"], ["updated_at", "2015-10-30 22:52:56.275838"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:56.279371"], ["updated_at", "2015-10-30 22:52:56.279371"]] 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", "2015-10-30 22:52:56.280641"], ["updated_at", "2015-10-30 22:52:56.280641"]] 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", "2015-10-30 22:52:56.284328"], ["updated_at", "2015-10-30 22:52:56.284328"]]  (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", "2015-10-30 22:52:56.286058"], ["updated_at", "2015-10-30 22:52:56.286058"]]  (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", "2015-10-30 22:52:56.287762"], ["updated_at", "2015-10-30 22:52:56.287762"]]  (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", "2015-10-30 22:52:56.289340"], ["updated_at", "2015-10-30 22:52:56.289340"]]  (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", "2015-10-30 22:52:56.291064"], ["updated_at", "2015-10-30 22:52:56.291064"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$7cQzBKV9Rg1dDxbwMLHgOup.yuq5MS95C3mMJuGeKo2flkPFfgR3u"], ["remember_token", "ov0NDQGWe1QjbScohoIiZQ"], ["created_at", "2015-10-30 22:52:56.295023"], ["updated_at", "2015-10-30 22:52:56.295023"]]  (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", 2], ["created_at", "2015-10-30 22:52:56.296610"], ["updated_at", "2015-10-30 22:52:56.296610"]]  (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", "2015-10-30 22:52:56.298474"], ["updated_at", "2015-10-30 22:52:56.298474"]]  (0.0ms) 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", "2015-10-30 22:52:56.300204"], ["updated_at", "2015-10-30 22:52:56.300204"]]  (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.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", "2015-10-30 22:52:56.302395"], ["updated_at", "2015-10-30 22:52:56.302395"]]  (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", "2015-10-30 22:52:56.304752"], ["updated_at", "2015-10-30 22:52:56.304752"]]  (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", "2015-10-30 22:52:56.306639"], ["updated_at", "2015-10-30 22:52:56.306639"]]  (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.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_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:56.312042"], ["updated_at", "2015-10-30 22:52:56.312042"]] 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", "2015-10-30 22:52:56.313386"], ["updated_at", "2015-10-30 22:52:56.313386"]] 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", "Xo2ZK6CQZGlPofJkEXKtcw"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (5.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$eJYiXiyT0H02XdM/cM6EoeKjNDOTkykwr.Z4bxLieNMbfsz4CYYw."], ["remember_token", "WvG81iFlqiZUKORUE1BSnw"], ["created_at", "2015-10-30 22:52:56.336021"], ["updated_at", "2015-10-30 22:52:56.336021"]]  (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$aUKGS3VptqUxOJkHdBZXqe/ruolnVJ0J66N/QkU0IGQU2IOTn.GJa"], ["remember_token", "ufLaCZBv8Cl16Q5VTniQig"], ["created_at", "2015-10-30 22:52:56.342224"], ["updated_at", "2015-10-30 22:52:56.342224"]]  (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", "2015-10-30 22:52:56.344330"], ["updated_at", "2015-10-30 22:52:56.344330"]]  (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.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", "2015-10-30 22:52:56.347024"], ["updated_at", "2015-10-30 22:52:56.347024"]]  (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", "2015-10-30 22:52:56.350980"], ["updated_at", "2015-10-30 22:52:56.350980"]]  (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", "2015-10-30 22:52:56.353880"], ["updated_at", "2015-10-30 22:52:56.353880"]]  (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", "2015-10-30 22:52:56.356339"], ["updated_at", "2015-10-30 22:52:56.356339"]]  (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", "2015-10-30 22:52:56.358907"], ["updated_at", "2015-10-30 22:52:56.358907"]]  (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", "2015-10-30 22:52:56.361171"], ["updated_at", "2015-10-30 22:52:56.361171"]]  (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", "2015-10-30 22:52:56.364951"], ["updated_at", "2015-10-30 22:52:56.364951"]]  (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", "2015-10-30 22:52:56.368855"], ["updated_at", "2015-10-30 22:52:56.368855"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:56.372277"], ["updated_at", "2015-10-30 22:52:56.372277"]] 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", "2015-10-30 22:52:56.373651"], ["updated_at", "2015-10-30 22:52:56.373651"]] 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.0ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:56.380576"], ["updated_at", "2015-10-30 22:52:56.380576"]] 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", "2015-10-30 22:52:56.382292"], ["updated_at", "2015-10-30 22:52:56.382292"]] 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", "WvG81iFlqiZUKORUE1BSnw"]] 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) Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (2.7ms) 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$s71IpnsROuWkta0choDG.uRg7oWxcjb1T6U63S/FnnkC6aQU0wODO"], ["remember_token", "DAGjgh_Q1E-xwfkDHtkWEA"], ["created_at", "2015-10-30 22:52:56.401459"], ["updated_at", "2015-10-30 22:52:56.401459"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:52:56.404869"], ["updated_at", "2015-10-30 22:52:56.404869"]]  (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", "2015-10-30 22:52:56.408353"], ["updated_at", "2015-10-30 22:52:56.408353"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:56.411684"], ["updated_at", "2015-10-30 22:52:56.411684"]] 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", "2015-10-30 22:52:56.413022"], ["updated_at", "2015-10-30 22:52:56.413022"]] 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.1ms) 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$hD0Klyz/X0ZdOrpu6exkLe7TIwgfsBgWJ76cO57/0zaV8jr8rEpBK"], ["remember_token", "9UmvxtEPR-J4a8bA5Xp6Nw"], ["created_at", "2015-10-30 22:52:56.418566"], ["updated_at", "2015-10-30 22:52:56.418566"]]  (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", "2015-10-30 22:52:56.420121"], ["updated_at", "2015-10-30 22:52:56.420121"]]  (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 1 [["remember_token", "DAGjgh_Q1E-xwfkDHtkWEA"]] Article Load (0.3ms) 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.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.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" = 'articles' [["read_right", "t"]] Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 9ms (Views: 2.2ms | ActiveRecord: 0.9ms)  (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$azkv0iu8mhOwTPPOCEv3vOTD55TNbUV7DMEMlxQrO34y6rCgEWKGe"], ["remember_token", "n7XODyQWTxjUy4kWAFkDlA"], ["created_at", "2015-10-30 22:52:56.437436"], ["updated_at", "2015-10-30 22:52:56.437436"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:52:56.446738"], ["updated_at", "2015-10-30 22:52:56.446738"]]  (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", "2015-10-30 22:52:56.450237"], ["updated_at", "2015-10-30 22:52:56.450237"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:56.453242"], ["updated_at", "2015-10-30 22:52:56.453242"]] 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", "2015-10-30 22:52:56.454508"], ["updated_at", "2015-10-30 22:52:56.454508"]] 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.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$KGr5mqVZYllUGRzoSv1KiOD9tpZbYCClgWVxkqGzpdM.z1F/o1k7m"], ["remember_token", "ljMFE4CdxrWmsu2DoiG_YA"], ["created_at", "2015-10-30 22:52:56.460322"], ["updated_at", "2015-10-30 22:52:56.460322"]]  (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", "2015-10-30 22:52:56.462177"], ["updated_at", "2015-10-30 22:52:56.462177"]]  (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 1 [["remember_token", "n7XODyQWTxjUy4kWAFkDlA"]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]] Adeia::Token Load (0.3ms) 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.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"]] Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 8ms (Views: 1.2ms | ActiveRecord: 0.8ms)  (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$eviQWLpsiGhBgpASbD.zDuZzFAUjDIo5PRJZfWPbADm3ohiW1XM56"], ["remember_token", "FlmmMg_GZKZJFKihWQ2RFQ"], ["created_at", "2015-10-30 22:52:56.478188"], ["updated_at", "2015-10-30 22:52:56.478188"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:52:56.481252"], ["updated_at", "2015-10-30 22:52:56.481252"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:56.484862"], ["updated_at", "2015-10-30 22:52:56.484862"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:56.488477"], ["updated_at", "2015-10-30 22:52:56.488477"]] 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", "2015-10-30 22:52:56.489805"], ["updated_at", "2015-10-30 22:52:56.489805"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "FlmmMg_GZKZJFKihWQ2RFQ"]] 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 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"."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.3ms) Completed 200 OK in 9ms (Views: 3.3ms | ActiveRecord: 0.7ms)  (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$EoqR4uqF8ZIb/8yUfYsDluTgWoadtIqzFhrSuzDtJ4UH.G1R.hACK"], ["remember_token", "Jt2d9QeOgvSGKXo-uewguQ"], ["created_at", "2015-10-30 22:52:56.508464"], ["updated_at", "2015-10-30 22:52:56.508464"]]  (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", "2015-10-30 22:52:56.513100"], ["updated_at", "2015-10-30 22:52:56.513100"]]  (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", "2015-10-30 22:52:56.516429"], ["updated_at", "2015-10-30 22:52:56.516429"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:56.520070"], ["updated_at", "2015-10-30 22:52:56.520070"]] 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", "2015-10-30 22:52:56.521429"], ["updated_at", "2015-10-30 22:52:56.521429"]] 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$o2E2XNziUMwxgK2e9XOJ2edEiVPLleSsd3D6f0I8zJjTwZlG1tP1S"], ["remember_token", "IRXvEX0fUGZBpwAC960p_Q"], ["created_at", "2015-10-30 22:52:56.528738"], ["updated_at", "2015-10-30 22:52:56.528738"]]  (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", "2015-10-30 22:52:56.531621"], ["updated_at", "2015-10-30 22:52:56.531621"]]  (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", "Jt2d9QeOgvSGKXo-uewguQ"]] 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.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.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.3ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.8ms)  (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$5e0JBus.EtuMCqX3ixHyT.xg99aAzFFjMCPryi42gfvedBqKCyi6a"], ["remember_token", "0Jt2HCyS51i6_gHlZmgufQ"], ["created_at", "2015-10-30 22:52:56.548474"], ["updated_at", "2015-10-30 22:52:56.548474"]]  (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", "2015-10-30 22:52:56.551816"], ["updated_at", "2015-10-30 22:52:56.551816"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:56.554937"], ["updated_at", "2015-10-30 22:52:56.554937"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:52:56.559101"], ["updated_at", "2015-10-30 22:52:56.559101"]] 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", "2015-10-30 22:52:56.560580"], ["updated_at", "2015-10-30 22:52:56.560580"]] 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.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$VQo542d0B4dXVAz760bH2Oy7MrhbS4BdObFaiYqVC/bCfU2S0kS8q"], ["remember_token", "MXyKFA5ofXWOIkTV4OdzGg"], ["created_at", "2015-10-30 22:52:56.566676"], ["updated_at", "2015-10-30 22:52:56.566676"]]  (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", "2015-10-30 22:52:56.568396"], ["updated_at", "2015-10-30 22:52:56.568396"]]  (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", "0Jt2HCyS51i6_gHlZmgufQ"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:52:56.581123"], ["updated_at", "2015-10-30 22:52:56.581123"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 22:52:56.584166"], ["updated_at", "2015-10-30 22:52:56.584166"]]  (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", "2015-10-30 22:52:56.586973"], ["updated_at", "2015-10-30 22:52:56.586973"]]  (0.2ms) 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 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", "2015-10-30 22:52:56.593950"], ["updated_at", "2015-10-30 22:52:56.593950"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:56.596584"], ["updated_at", "2015-10-30 22:52:56.596584"]]  (0.0ms) 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 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 22:52:56.612217"], ["updated_at", "2015-10-30 22:52:56.612217"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:52:56.614753"], ["updated_at", "2015-10-30 22:52:56.614753"]]  (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 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", "2015-10-30 22:52:56.623667"], ["updated_at", "2015-10-30 22:52:56.623667"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 22:52:56.626961"], ["updated_at", "2015-10-30 22:52:56.626961"]]  (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", "2015-10-30 22:52:56.630723"], ["updated_at", "2015-10-30 22:52:56.630723"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:52:56.638128"], ["updated_at", "2015-10-30 22:52:56.638128"]]  (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", "2015-10-30 22:52:56.640406"], ["updated_at", "2015-10-30 22:52:56.640406"]]  (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", "2015-10-30 22:52:56.642822"], ["updated_at", "2015-10-30 22:52:56.642822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.2ms) 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", "2015-10-30 22:52:56.649940"], ["updated_at", "2015-10-30 22:52:56.649940"]]  (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", "2015-10-30 22:52:56.652323"], ["updated_at", "2015-10-30 22:52:56.652323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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 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 (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:14.460418"], ["updated_at", "2015-10-30 22:54:14.460418"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.5ms) 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", "2015-10-30 22:54:14.483214"], ["updated_at", "2015-10-30 22:54:14.483214"]]  (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", "2015-10-30 22:54:14.496699"], ["updated_at", "2015-10-30 22:54:14.496699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:14.540286"], ["updated_at", "2015-10-30 22:54:14.540286"]] 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", "2015-10-30 22:54:14.543345"], ["updated_at", "2015-10-30 22:54:14.543345"]] 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:14.591028"], ["updated_at", "2015-10-30 22:54:14.591028"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:14.593786"], ["updated_at", "2015-10-30 22:54:14.593786"]]  (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", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 22:54:14.599257"], ["updated_at", "2015-10-30 22:54:14.599257"]] 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", "2015-10-30 22:54:14.601451"], ["updated_at", "2015-10-30 22:54:14.601451"]] 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" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1002 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:14.612554"], ["updated_at", "2015-10-30 22:54:14.612554"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:14.616059"], ["updated_at", "2015-10-30 22:54:14.616059"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:14.620183"], ["updated_at", "2015-10-30 22:54:14.620183"]] 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", "2015-10-30 22:54:14.621739"], ["updated_at", "2015-10-30 22:54:14.621739"]] 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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_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", "2015-10-30 22:54:14.632424"], ["updated_at", "2015-10-30 22:54:14.632424"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:14.635437"], ["updated_at", "2015-10-30 22:54:14.635437"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:14.639219"], ["updated_at", "2015-10-30 22:54:14.639219"]] 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", "2015-10-30 22:54:14.640762"], ["updated_at", "2015-10-30 22:54:14.640762"]] 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.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" = 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:14.652135"], ["updated_at", "2015-10-30 22:54:14.652135"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:14.654705"], ["updated_at", "2015-10-30 22:54:14.654705"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:14.659114"], ["updated_at", "2015-10-30 22:54:14.659114"]] 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", "2015-10-30 22:54:14.661796"], ["updated_at", "2015-10-30 22:54:14.661796"]] 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.1ms) 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"]]  (0.9ms) 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", "2015-10-30 22:54:14.672879"], ["updated_at", "2015-10-30 22:54:14.672879"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:14.675880"], ["updated_at", "2015-10-30 22:54:14.675880"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:14.680012"], ["updated_at", "2015-10-30 22:54:14.680012"]] 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", "2015-10-30 22:54:14.682383"], ["updated_at", "2015-10-30 22:54:14.682383"]] 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" = 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:14.694612"], ["updated_at", "2015-10-30 22:54:14.694612"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:14.697561"], ["updated_at", "2015-10-30 22:54:14.697561"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:14.702029"], ["updated_at", "2015-10-30 22:54:14.702029"]] 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", "2015-10-30 22:54:14.703513"], ["updated_at", "2015-10-30 22:54:14.703513"]] 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" = 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"."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.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" = 1007 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.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", "2015-10-30 22:54:14.715441"], ["updated_at", "2015-10-30 22:54:14.715441"]]  (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", "2015-10-30 22:54:14.719950"], ["updated_at", "2015-10-30 22:54:14.719950"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:14.723539"], ["updated_at", "2015-10-30 22:54:14.723539"]] 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", "2015-10-30 22:54:14.724935"], ["updated_at", "2015-10-30 22:54:14.724935"]] 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" = 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.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" = 1008 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:14.738975"], ["updated_at", "2015-10-30 22:54:14.738975"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:14.741610"], ["updated_at", "2015-10-30 22:54:14.741610"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 22:54:14.745535"], ["updated_at", "2015-10-30 22:54:14.745535"]] 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", "2015-10-30 22:54:14.747254"], ["updated_at", "2015-10-30 22:54:14.747254"]] 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.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"."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.1ms) 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.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", "2015-10-30 22:54:14.759639"], ["updated_at", "2015-10-30 22:54:14.759639"]]  (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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:14.762696"], ["updated_at", "2015-10-30 22:54:14.762696"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:14.768104"], ["updated_at", "2015-10-30 22:54:14.768104"]] 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", "2015-10-30 22:54:14.770082"], ["updated_at", "2015-10-30 22:54:14.770082"]] 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" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."name" = 'share' Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-30 22:54:14.784207"], ["updated_at", "2015-10-30 22:54:14.784207"]]  (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", "2015-10-30 22:54:14.795319"], ["updated_at", "2015-10-30 22:54:14.795319"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:14.799939"], ["updated_at", "2015-10-30 22:54:14.799939"]] 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", "2015-10-30 22:54:14.802314"], ["updated_at", "2015-10-30 22:54:14.802314"]] 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  (0.1ms) ROLLBACK TO 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 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", "2015-10-30 22:54:14.813540"], ["updated_at", "2015-10-30 22:54:14.813540"]]  (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", "2015-10-30 22:54:14.817043"], ["updated_at", "2015-10-30 22:54:14.817043"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:14.821258"], ["updated_at", "2015-10-30 22:54:14.821258"]] 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", "2015-10-30 22:54:14.822804"], ["updated_at", "2015-10-30 22:54:14.822804"]] 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" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1012 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:14.832520"], ["updated_at", "2015-10-30 22:54:14.832520"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:14.835219"], ["updated_at", "2015-10-30 22:54:14.835219"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:14.838408"], ["updated_at", "2015-10-30 22:54:14.838408"]] 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", "2015-10-30 22:54:14.841031"], ["updated_at", "2015-10-30 22:54:14.841031"]] 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.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" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1013 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", "2015-10-30 22:54:14.860176"], ["updated_at", "2015-10-30 22:54:14.860176"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:14.862907"], ["updated_at", "2015-10-30 22:54:14.862907"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:14.867196"], ["updated_at", "2015-10-30 22:54:14.867196"]] 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", "2015-10-30 22:54:14.868720"], ["updated_at", "2015-10-30 22:54:14.868720"]] 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" = 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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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", "2015-10-30 22:54:14.880909"], ["updated_at", "2015-10-30 22:54:14.880909"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:14.883575"], ["updated_at", "2015-10-30 22:54:14.883575"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:14.887878"], ["updated_at", "2015-10-30 22:54:14.887878"]] 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", "2015-10-30 22:54:14.889389"], ["updated_at", "2015-10-30 22:54:14.889389"]] 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" = 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"."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.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" = 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:14.901558"], ["updated_at", "2015-10-30 22:54:14.901558"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:14.904154"], ["updated_at", "2015-10-30 22:54:14.904154"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:14.909241"], ["updated_at", "2015-10-30 22:54:14.909241"]] 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", "2015-10-30 22:54:14.911626"], ["updated_at", "2015-10-30 22:54:14.911626"]] 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" = 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.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" = 1020 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:14.924059"], ["updated_at", "2015-10-30 22:54:14.924059"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:14.926691"], ["updated_at", "2015-10-30 22:54:14.926691"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:14.930970"], ["updated_at", "2015-10-30 22:54:14.930970"]] 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", "2015-10-30 22:54:14.932668"], ["updated_at", "2015-10-30 22:54:14.932668"]] 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.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" = 1022 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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) 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", "2015-10-30 22:54:14.947471"], ["updated_at", "2015-10-30 22:54:14.947471"]]  (0.0ms) 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", "2015-10-30 22:54:14.953575"], ["updated_at", "2015-10-30 22:54:14.953575"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:14.959916"], ["updated_at", "2015-10-30 22:54:14.959916"]]  (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", "2015-10-30 22:54:14.963152"], ["updated_at", "2015-10-30 22:54:14.963152"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:14.967491"], ["updated_at", "2015-10-30 22:54:14.967491"]] 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", "2015-10-30 22:54:14.969396"], ["updated_at", "2015-10-30 22:54:14.969396"]] 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" = 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"."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.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$JrJfj2rHL0Bu1cFFKIBSDuKrsszpp.poofhDN/tLfxSCtXqLs2.EC"], ["remember_token", "9Sah5h85bIQAQm557hJvng"], ["created_at", "2015-10-30 22:54:14.990276"], ["updated_at", "2015-10-30 22:54:14.990276"]]  (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", "2015-10-30 22:54:14.996522"], ["updated_at", "2015-10-30 22:54:14.996522"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:15.000787"], ["updated_at", "2015-10-30 22:54:15.000787"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:15.005853"], ["updated_at", "2015-10-30 22:54:15.005853"]] 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", "2015-10-30 22:54:15.008014"], ["updated_at", "2015-10-30 22:54:15.008014"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "9Sah5h85bIQAQm557hJvng"]] 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.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.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" = '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 25ms (Views: 17.6ms | ActiveRecord: 1.0ms)  (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$fejoFUAFaCoqlffenYvl8.ZHN7YFEtOo1ENzmtmG6TdxPFSRgQpiy"], ["remember_token", "unLI1r3FWXXgjP8uYOtwTw"], ["created_at", "2015-10-30 22:54:15.046010"], ["updated_at", "2015-10-30 22:54:15.046010"]]  (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", "2015-10-30 22:54:15.049721"], ["updated_at", "2015-10-30 22:54:15.049721"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:15.052799"], ["updated_at", "2015-10-30 22:54:15.052799"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:15.057007"], ["updated_at", "2015-10-30 22:54:15.057007"]] 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", "2015-10-30 22:54:15.058457"], ["updated_at", "2015-10-30 22:54:15.058457"]] 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", "unLI1r3FWXXgjP8uYOtwTw"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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$wWt1C10nU8veciEQRyarMes0tATfc8.9n/F4HYqwbRlddCrDEEusq"], ["remember_token", "ZAZnLQcVg2tdHvqoQvTw7g"], ["created_at", "2015-10-30 22:54:15.072558"], ["updated_at", "2015-10-30 22:54:15.072558"]]  (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", "2015-10-30 22:54:15.076037"], ["updated_at", "2015-10-30 22:54:15.076037"]]  (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", "2015-10-30 22:54:15.079665"], ["updated_at", "2015-10-30 22:54:15.079665"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:15.090626"], ["updated_at", "2015-10-30 22:54:15.090626"]] 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", "2015-10-30 22:54:15.092113"], ["updated_at", "2015-10-30 22:54:15.092113"]] 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.2ms) 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$.5IMYzvcew0BeZqdDZMbb.b44mXcRtq10yiLng1O0fd/SUUdbHi/C"], ["remember_token", "FriJQO6fak7kBk6gpFtfpQ"], ["created_at", "2015-10-30 22:54:15.104109"], ["updated_at", "2015-10-30 22:54:15.104109"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-30 22:54:15.106638"], ["updated_at", "2015-10-30 22:54:15.106638"]]  (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", "2015-10-30 22:54:15.109701"], ["updated_at", "2015-10-30 22:54:15.109701"]]  (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", "2015-10-30 22:54:15.111573"], ["updated_at", "2015-10-30 22:54:15.111573"]]  (0.0ms) 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", "2015-10-30 22:54:15.113447"], ["updated_at", "2015-10-30 22:54:15.113447"]]  (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", "2015-10-30 22:54:15.115942"], ["updated_at", "2015-10-30 22:54:15.115942"]]  (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", "ZAZnLQcVg2tdHvqoQvTw7g"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | 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$FAE5lEJyhJqG8E/ZcuMLwuzIAL3AQCtbmERL59MNXWhIk67OV4Y32"], ["remember_token", "4PU6SZCMOUhgP6E4Jti8gw"], ["created_at", "2015-10-30 22:54:15.130322"], ["updated_at", "2015-10-30 22:54:15.130322"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:54:15.133774"], ["updated_at", "2015-10-30 22:54:15.133774"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:15.138467"], ["updated_at", "2015-10-30 22:54:15.138467"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:15.143605"], ["updated_at", "2015-10-30 22:54:15.143605"]] 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", "2015-10-30 22:54:15.145569"], ["updated_at", "2015-10-30 22:54:15.145569"]] 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 "articles" ("title", "content", "user_id", "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", "2015-10-30 22:54:15.151850"], ["updated_at", "2015-10-30 22:54:15.151850"]]  (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", "2015-10-30 22:54:15.154591"], ["updated_at", "2015-10-30 22:54:15.154591"]]  (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", "2015-10-30 22:54:15.156900"], ["updated_at", "2015-10-30 22:54:15.156900"]]  (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", "2015-10-30 22:54:15.159200"], ["updated_at", "2015-10-30 22:54:15.159200"]]  (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", "2015-10-30 22:54:15.161244"], ["updated_at", "2015-10-30 22:54:15.161244"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$3NJgVwiIVH9kcRYAXVOQN.BSfAokRs0RvnDGk0zixIMMFlgXu1KYC"], ["remember_token", "O2yJf0cq-TQF9quKmGzA3Q"], ["created_at", "2015-10-30 22:54:15.167223"], ["updated_at", "2015-10-30 22:54:15.167223"]]  (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", "2015-10-30 22:54:15.169083"], ["updated_at", "2015-10-30 22:54:15.169083"]]  (0.0ms) 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", "2015-10-30 22:54:15.171122"], ["updated_at", "2015-10-30 22:54:15.171122"]]  (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", "2015-10-30 22:54:15.173010"], ["updated_at", "2015-10-30 22:54:15.173010"]]  (0.0ms) 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", "2015-10-30 22:54:15.174785"], ["updated_at", "2015-10-30 22:54:15.174785"]]  (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", "2015-10-30 22:54:15.176567"], ["updated_at", "2015-10-30 22:54:15.176567"]]  (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", "4PU6SZCMOUhgP6E4Jti8gw"]] 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.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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$gJBcGRH.3E4ECHROb1rFG.F7WzGpHyADXxqk8DJzVgoR6E21kCUAK"], ["remember_token", "gOf9DEKX6-2cDyY3Yq3Z6w"], ["created_at", "2015-10-30 22:54:15.191077"], ["updated_at", "2015-10-30 22:54:15.191077"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:54:15.194443"], ["updated_at", "2015-10-30 22:54:15.194443"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:15.198671"], ["updated_at", "2015-10-30 22:54:15.198671"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:15.203770"], ["updated_at", "2015-10-30 22:54:15.203770"]] 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", "2015-10-30 22:54:15.205715"], ["updated_at", "2015-10-30 22:54:15.205715"]] 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.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", "2015-10-30 22:54:15.209608"], ["updated_at", "2015-10-30 22:54:15.209608"]]  (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", "2015-10-30 22:54:15.211778"], ["updated_at", "2015-10-30 22:54:15.211778"]]  (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", "2015-10-30 22:54:15.213464"], ["updated_at", "2015-10-30 22:54:15.213464"]]  (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", "2015-10-30 22:54:15.215048"], ["updated_at", "2015-10-30 22:54:15.215048"]]  (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", "2015-10-30 22:54:15.216732"], ["updated_at", "2015-10-30 22:54:15.216732"]]  (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$jP6gtSHrzQRaYnsaGzXsqeugFCZ/I5wdlP9MrWCIqYeWzbruP3qky"], ["remember_token", "M3aIoJHVh1HxulsAGxqPdQ"], ["created_at", "2015-10-30 22:54:15.221034"], ["updated_at", "2015-10-30 22:54:15.221034"]]  (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", "2015-10-30 22:54:15.223179"], ["updated_at", "2015-10-30 22:54:15.223179"]]  (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", "2015-10-30 22:54:15.225349"], ["updated_at", "2015-10-30 22:54:15.225349"]]  (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", "2015-10-30 22:54:15.227135"], ["updated_at", "2015-10-30 22:54:15.227135"]]  (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", "2015-10-30 22:54:15.229007"], ["updated_at", "2015-10-30 22:54:15.229007"]]  (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", "2015-10-30 22:54:15.231336"], ["updated_at", "2015-10-30 22:54:15.231336"]]  (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", "2015-10-30 22:54:15.233859"], ["updated_at", "2015-10-30 22:54:15.233859"]]  (0.0ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:15.240597"], ["updated_at", "2015-10-30 22:54:15.240597"]] 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", "2015-10-30 22:54:15.242209"], ["updated_at", "2015-10-30 22:54:15.242209"]] 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", "gOf9DEKX6-2cDyY3Yq3Z6w"]] 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" = 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 9ms (Views: 1.4ms | ActiveRecord: 0.8ms) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (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$YvSzw2Hfg7x4wN9T0xxiqOWkTgXMEYRVqVK/cO3PNPZUAwU14hcqe"], ["remember_token", "4NQu2gbHYYrQReyRKyjtkQ"], ["created_at", "2015-10-30 22:54:15.263578"], ["updated_at", "2015-10-30 22:54:15.263578"]]  (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$Ycy9j/JlLRtpY.EWtYdyaOUZzxVygHWCzsJwoS/YaEIer4M/OW4zq"], ["remember_token", "O-F0w6ZA3NG6LMGSR_8ITw"], ["created_at", "2015-10-30 22:54:15.268967"], ["updated_at", "2015-10-30 22:54:15.268967"]]  (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", "2015-10-30 22:54:15.271319"], ["updated_at", "2015-10-30 22:54:15.271319"]]  (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", "2015-10-30 22:54:15.273558"], ["updated_at", "2015-10-30 22:54:15.273558"]]  (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", "2015-10-30 22:54:15.275372"], ["updated_at", "2015-10-30 22:54:15.275372"]]  (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", "2015-10-30 22:54:15.277135"], ["updated_at", "2015-10-30 22:54:15.277135"]]  (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", "2015-10-30 22:54:15.279126"], ["updated_at", "2015-10-30 22:54:15.279126"]]  (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", "2015-10-30 22:54:15.280967"], ["updated_at", "2015-10-30 22:54:15.280967"]]  (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", "2015-10-30 22:54:15.283595"], ["updated_at", "2015-10-30 22:54:15.283595"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:54:15.286617"], ["updated_at", "2015-10-30 22:54:15.286617"]]  (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", "2015-10-30 22:54:15.289017"], ["updated_at", "2015-10-30 22:54:15.289017"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:15.292342"], ["updated_at", "2015-10-30 22:54:15.292342"]] 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", "2015-10-30 22:54:15.293946"], ["updated_at", "2015-10-30 22:54:15.293946"]] 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:15.302518"], ["updated_at", "2015-10-30 22:54:15.302518"]] 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", "2015-10-30 22:54:15.304228"], ["updated_at", "2015-10-30 22:54:15.304228"]] 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", "4NQu2gbHYYrQReyRKyjtkQ"]] 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) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (1.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$2NA1GCT6wdN6KV2aBwLuNeZ4iXGWWpzU6jmhxFWzwj/nvTBcrZfa."], ["remember_token", "FEDvyY1zkTXZ9NMIE3AfzQ"], ["created_at", "2015-10-30 22:54:15.323056"], ["updated_at", "2015-10-30 22:54:15.323056"]]  (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", "2015-10-30 22:54:15.328575"], ["updated_at", "2015-10-30 22:54:15.328575"]]  (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", "2015-10-30 22:54:15.332000"], ["updated_at", "2015-10-30 22:54:15.332000"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:15.335887"], ["updated_at", "2015-10-30 22:54:15.335887"]] 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", "2015-10-30 22:54:15.337355"], ["updated_at", "2015-10-30 22:54:15.337355"]] 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.1ms) 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$usTffIIV0sLsvVx4FD8KmenZavMZ8A5Nvod9tZ6tbbMlnBoChFFEe"], ["remember_token", "ljdWhtmoxMCx5sNlWv5zcg"], ["created_at", "2015-10-30 22:54:15.343815"], ["updated_at", "2015-10-30 22:54:15.343815"]]  (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", "2015-10-30 22:54:15.345661"], ["updated_at", "2015-10-30 22:54:15.345661"]]  (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 1 [["remember_token", "FEDvyY1zkTXZ9NMIE3AfzQ"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 9ms (Views: 3.8ms | 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$kvtgXvzUBcza4zvHY5CZg.pggc5KwNeeryvl6xK2g/A7Zmu3lBQwW"], ["remember_token", "-u6JRJhomThM7DtAK-OY3g"], ["created_at", "2015-10-30 22:54:15.363653"], ["updated_at", "2015-10-30 22:54:15.363653"]]  (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", "2015-10-30 22:54:15.373779"], ["updated_at", "2015-10-30 22:54:15.373779"]]  (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", "2015-10-30 22:54:15.376492"], ["updated_at", "2015-10-30 22:54:15.376492"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:15.379521"], ["updated_at", "2015-10-30 22:54:15.379521"]] 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", "2015-10-30 22:54:15.380823"], ["updated_at", "2015-10-30 22:54:15.380823"]] 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.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$UUfgijdRlMX1YcLQHC7CheExCv8QIk1BQZ1vCBTvf37t2OJs.ROwy"], ["remember_token", "ItHNTswY6PQIgwuReMS5lw"], ["created_at", "2015-10-30 22:54:15.387978"], ["updated_at", "2015-10-30 22:54:15.387978"]]  (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", "2015-10-30 22:54:15.390940"], ["updated_at", "2015-10-30 22:54:15.390940"]]  (0.1ms) 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 1 [["remember_token", "-u6JRJhomThM7DtAK-OY3g"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 6ms (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$m68D7YwAT.TFfASJ5FKlCOE8p7PokFsNOxLJUrSxD4PsKnI5CEztW"], ["remember_token", "KztU6073UyPFgmwO457F_A"], ["created_at", "2015-10-30 22:54:15.406097"], ["updated_at", "2015-10-30 22:54:15.406097"]]  (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", "2015-10-30 22:54:15.409308"], ["updated_at", "2015-10-30 22:54:15.409308"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:15.413828"], ["updated_at", "2015-10-30 22:54:15.413828"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:15.419110"], ["updated_at", "2015-10-30 22:54:15.419110"]] 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", "2015-10-30 22:54:15.420773"], ["updated_at", "2015-10-30 22:54:15.420773"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "KztU6073UyPFgmwO457F_A"]] 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 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.5ms) Completed 200 OK in 7ms (Views: 3.6ms | ActiveRecord: 0.5ms)  (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$bPDgjpAEsD6b8cPALIZO5ebE0X6db3nYxCivtO0zc3K9tD1utjtIq"], ["remember_token", "M6sVCEzyjy1P-r3ZHPq8zw"], ["created_at", "2015-10-30 22:54:15.437394"], ["updated_at", "2015-10-30 22:54:15.437394"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:54:15.440546"], ["updated_at", "2015-10-30 22:54:15.440546"]]  (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", "2015-10-30 22:54:15.443192"], ["updated_at", "2015-10-30 22:54:15.443192"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:15.447029"], ["updated_at", "2015-10-30 22:54:15.447029"]] 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", "2015-10-30 22:54:15.448413"], ["updated_at", "2015-10-30 22:54:15.448413"]] 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.0ms) 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$peEXgbVVTNJQm2xWbTsgOeXBibndJ3kBR5EWzPd.WibMlfdaI6Dfm"], ["remember_token", "BMtT5bQHmU6yvhwYDCa68w"], ["created_at", "2015-10-30 22:54:15.455716"], ["updated_at", "2015-10-30 22:54:15.455716"]]  (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", "2015-10-30 22:54:15.459399"], ["updated_at", "2015-10-30 22:54:15.459399"]]  (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", "M6sVCEzyjy1P-r3ZHPq8zw"]] 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.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.3ms) Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 0.6ms)  (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$n4/5pFsIZXyLjVmQ6d.23eJr1vM6QbOOYBiOjx9K8K3EQhBc9HDs6"], ["remember_token", "BB8Co3ErZ8_un9AisTv8Wg"], ["created_at", "2015-10-30 22:54:15.476196"], ["updated_at", "2015-10-30 22:54:15.476196"]]  (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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:54:15.479219"], ["updated_at", "2015-10-30 22:54:15.479219"]]  (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", "2015-10-30 22:54:15.482639"], ["updated_at", "2015-10-30 22:54:15.482639"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:15.486537"], ["updated_at", "2015-10-30 22:54:15.486537"]] 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", "2015-10-30 22:54:15.487869"], ["updated_at", "2015-10-30 22:54:15.487869"]] 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.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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$IAyKGjsXQgN7Z6.TVfkeHO9mTatgqFsDGc5ZsJeD0nhGPsRbLYRuG"], ["remember_token", "gaiJvrs1FjPf0hKZkSHl9g"], ["created_at", "2015-10-30 22:54:15.493254"], ["updated_at", "2015-10-30 22:54:15.493254"]]  (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", "2015-10-30 22:54:15.496297"], ["updated_at", "2015-10-30 22:54:15.496297"]]  (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", "BB8Co3ErZ8_un9AisTv8Wg"]] 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.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 6ms (Views: 1.0ms | ActiveRecord: 0.6ms)  (1.2ms) 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", "2015-10-30 22:54:15.511204"], ["updated_at", "2015-10-30 22:54:15.511204"]]  (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", "2015-10-30 22:54:15.513961"], ["updated_at", "2015-10-30 22:54:15.513961"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:15.516785"], ["updated_at", "2015-10-30 22:54:15.516785"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:15.523991"], ["updated_at", "2015-10-30 22:54:15.523991"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:15.526569"], ["updated_at", "2015-10-30 22:54:15.526569"]]  (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 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", "2015-10-30 22:54:15.546896"], ["updated_at", "2015-10-30 22:54:15.546896"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:15.549969"], ["updated_at", "2015-10-30 22:54:15.549969"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:15.557879"], ["updated_at", "2015-10-30 22:54:15.557879"]]  (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", "2015-10-30 22:54:15.560149"], ["updated_at", "2015-10-30 22:54:15.560149"]]  (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", "2015-10-30 22:54:15.563001"], ["updated_at", "2015-10-30 22:54:15.563001"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:15.570865"], ["updated_at", "2015-10-30 22:54:15.570865"]]  (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", "2015-10-30 22:54:15.573167"], ["updated_at", "2015-10-30 22:54:15.573167"]]  (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", "2015-10-30 22:54:15.575890"], ["updated_at", "2015-10-30 22:54:15.575890"]]  (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", "2015-10-30 22:54:15.582954"], ["updated_at", "2015-10-30 22:54:15.582954"]]  (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", "2015-10-30 22:54:15.585252"], ["updated_at", "2015-10-30 22:54:15.585252"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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 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 (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:33.414285"], ["updated_at", "2015-10-30 22:54:33.414285"]]  (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", "2015-10-30 22:54:33.444988"], ["updated_at", "2015-10-30 22:54:33.444988"]]  (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", "2015-10-30 22:54:33.456627"], ["updated_at", "2015-10-30 22:54:33.456627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:33.483705"], ["updated_at", "2015-10-30 22:54:33.483705"]] 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", "2015-10-30 22:54:33.486738"], ["updated_at", "2015-10-30 22:54:33.486738"]] 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 1 Adeia::Group Load (0.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" = 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:33.536435"], ["updated_at", "2015-10-30 22:54:33.536435"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:33.539095"], ["updated_at", "2015-10-30 22:54:33.539095"]]  (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", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 22:54:33.542595"], ["updated_at", "2015-10-30 22:54:33.542595"]] 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", "2015-10-30 22:54:33.543904"], ["updated_at", "2015-10-30 22:54:33.543904"]] 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.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", "2015-10-30 22:54:33.559164"], ["updated_at", "2015-10-30 22:54:33.559164"]]  (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", "2015-10-30 22:54:33.562435"], ["updated_at", "2015-10-30 22:54:33.562435"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:33.567160"], ["updated_at", "2015-10-30 22:54:33.567160"]] 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", "2015-10-30 22:54:33.568546"], ["updated_at", "2015-10-30 22:54:33.568546"]] 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.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" = 1003 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:33.579228"], ["updated_at", "2015-10-30 22:54:33.579228"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:33.582256"], ["updated_at", "2015-10-30 22:54:33.582256"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:33.585570"], ["updated_at", "2015-10-30 22:54:33.585570"]] 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", "2015-10-30 22:54:33.588490"], ["updated_at", "2015-10-30 22:54:33.588490"]] 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.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" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:33.603571"], ["updated_at", "2015-10-30 22:54:33.603571"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:33.606629"], ["updated_at", "2015-10-30 22:54:33.606629"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:33.610173"], ["updated_at", "2015-10-30 22:54:33.610173"]] 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", "2015-10-30 22:54:33.611752"], ["updated_at", "2015-10-30 22:54:33.611752"]] 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 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.1ms) 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"]]  (0.9ms) 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", "2015-10-30 22:54:33.622415"], ["updated_at", "2015-10-30 22:54:33.622415"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:33.625108"], ["updated_at", "2015-10-30 22:54:33.625108"]]  (0.0ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:33.628411"], ["updated_at", "2015-10-30 22:54:33.628411"]] 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", "2015-10-30 22:54:33.631228"], ["updated_at", "2015-10-30 22:54:33.631228"]] 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:33.644749"], ["updated_at", "2015-10-30 22:54:33.644749"]]  (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", "2015-10-30 22:54:33.647962"], ["updated_at", "2015-10-30 22:54:33.647962"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:33.651834"], ["updated_at", "2015-10-30 22:54:33.651834"]] 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", "2015-10-30 22:54:33.653271"], ["updated_at", "2015-10-30 22:54:33.653271"]] 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" = 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"."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.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" = 1007 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) 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", "2015-10-30 22:54:33.665721"], ["updated_at", "2015-10-30 22:54:33.665721"]]  (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", "2015-10-30 22:54:33.670246"], ["updated_at", "2015-10-30 22:54:33.670246"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:33.674659"], ["updated_at", "2015-10-30 22:54:33.674659"]] 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", "2015-10-30 22:54:33.676248"], ["updated_at", "2015-10-30 22:54:33.676248"]] 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" = 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.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" = 1008 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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", "2015-10-30 22:54:33.688092"], ["updated_at", "2015-10-30 22:54:33.688092"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:33.690975"], ["updated_at", "2015-10-30 22:54:33.690975"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 22:54:33.694716"], ["updated_at", "2015-10-30 22:54:33.694716"]] 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", "2015-10-30 22:54:33.696225"], ["updated_at", "2015-10-30 22:54:33.696225"]] 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.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.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"."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.1ms) 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"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:33.715334"], ["updated_at", "2015-10-30 22:54:33.715334"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:33.718387"], ["updated_at", "2015-10-30 22:54:33.718387"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:33.722035"], ["updated_at", "2015-10-30 22:54:33.722035"]] 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", "2015-10-30 22:54:33.723958"], ["updated_at", "2015-10-30 22:54:33.723958"]] 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" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."name" = 'share' Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-30 22:54:33.735581"], ["updated_at", "2015-10-30 22:54:33.735581"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:33.738542"], ["updated_at", "2015-10-30 22:54:33.738542"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:33.742336"], ["updated_at", "2015-10-30 22:54:33.742336"]] 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", "2015-10-30 22:54:33.743679"], ["updated_at", "2015-10-30 22:54:33.743679"]] 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.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:33.752340"], ["updated_at", "2015-10-30 22:54:33.752340"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:33.755002"], ["updated_at", "2015-10-30 22:54:33.755002"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:33.759010"], ["updated_at", "2015-10-30 22:54:33.759010"]] 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", "2015-10-30 22:54:33.760515"], ["updated_at", "2015-10-30 22:54:33.760515"]] 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" = 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.9ms) 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", "2015-10-30 22:54:33.771625"], ["updated_at", "2015-10-30 22:54:33.771625"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:33.774270"], ["updated_at", "2015-10-30 22:54:33.774270"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:33.777372"], ["updated_at", "2015-10-30 22:54:33.777372"]] 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", "2015-10-30 22:54:33.779924"], ["updated_at", "2015-10-30 22:54:33.779924"]] 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.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" = 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"."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.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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_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", "2015-10-30 22:54:33.800699"], ["updated_at", "2015-10-30 22:54:33.800699"]]  (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", "2015-10-30 22:54:33.804112"], ["updated_at", "2015-10-30 22:54:33.804112"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:33.808266"], ["updated_at", "2015-10-30 22:54:33.808266"]] 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", "2015-10-30 22:54:33.809613"], ["updated_at", "2015-10-30 22:54:33.809613"]] 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" = 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"."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.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", "2015-10-30 22:54:33.823342"], ["updated_at", "2015-10-30 22:54:33.823342"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:33.825883"], ["updated_at", "2015-10-30 22:54:33.825883"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:33.829821"], ["updated_at", "2015-10-30 22:54:33.829821"]] 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", "2015-10-30 22:54:33.831569"], ["updated_at", "2015-10-30 22:54:33.831569"]] 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" = 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"."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.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" = 1018 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.8ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:33.844853"], ["updated_at", "2015-10-30 22:54:33.844853"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:33.847601"], ["updated_at", "2015-10-30 22:54:33.847601"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:33.852961"], ["updated_at", "2015-10-30 22:54:33.852961"]] 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", "2015-10-30 22:54:33.855513"], ["updated_at", "2015-10-30 22:54:33.855513"]] 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" = 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.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" = 1020 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 22:54:33.869604"], ["updated_at", "2015-10-30 22:54:33.869604"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:33.872141"], ["updated_at", "2015-10-30 22:54:33.872141"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:33.875196"], ["updated_at", "2015-10-30 22:54:33.875196"]] 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", "2015-10-30 22:54:33.877194"], ["updated_at", "2015-10-30 22:54:33.877194"]] 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.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" = 1022 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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) 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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 22:54:33.893298"], ["updated_at", "2015-10-30 22:54:33.893298"]]  (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", "2015-10-30 22:54:33.900539"], ["updated_at", "2015-10-30 22:54:33.900539"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:33.906564"], ["updated_at", "2015-10-30 22:54:33.906564"]]  (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", "2015-10-30 22:54:33.910204"], ["updated_at", "2015-10-30 22:54:33.910204"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:33.913431"], ["updated_at", "2015-10-30 22:54:33.913431"]] 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", "2015-10-30 22:54:33.914818"], ["updated_at", "2015-10-30 22:54:33.914818"]] 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" = 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"."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  (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$XmdIeJlb3Jc8eZJiFzmbtOMqW859PgSRQm.7ZhyK2mwLRXHICV..2"], ["remember_token", "fwL2uvPLkotwHLrM3sdNHQ"], ["created_at", "2015-10-30 22:54:33.934705"], ["updated_at", "2015-10-30 22:54:33.934705"]]  (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", "2015-10-30 22:54:33.938768"], ["updated_at", "2015-10-30 22:54:33.938768"]]  (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", "2015-10-30 22:54:33.941589"], ["updated_at", "2015-10-30 22:54:33.941589"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:33.944756"], ["updated_at", "2015-10-30 22:54:33.944756"]] 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", "2015-10-30 22:54:33.946198"], ["updated_at", "2015-10-30 22:54:33.946198"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "fwL2uvPLkotwHLrM3sdNHQ"]] 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" = 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"."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.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"]] 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 21ms (Views: 13.5ms | ActiveRecord: 1.2ms)  (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$98rw3CjSbp8qRaXHu0TC8eJyQor9KO5QxScYq8knoTp0yY3oSAhpS"], ["remember_token", "jG6sJBXBDISHB9nXWM1Svw"], ["created_at", "2015-10-30 22:54:33.978914"], ["updated_at", "2015-10-30 22:54:33.978914"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:54:33.981953"], ["updated_at", "2015-10-30 22:54:33.981953"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:33.984766"], ["updated_at", "2015-10-30 22:54:33.984766"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:33.994605"], ["updated_at", "2015-10-30 22:54:33.994605"]] 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", "2015-10-30 22:54:33.996235"], ["updated_at", "2015-10-30 22:54:33.996235"]] 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", "jG6sJBXBDISHB9nXWM1Svw"]] 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" = 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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (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$/iRpIpCB5K4X7fFyo8oBY.rPDAdPI2eOC7aQHdOU6n8aYndNwjG0."], ["remember_token", "kKQ3lSA7yFYkriuSHE4Y3A"], ["created_at", "2015-10-30 22:54:34.012013"], ["updated_at", "2015-10-30 22:54:34.012013"]]  (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", "2015-10-30 22:54:34.015804"], ["updated_at", "2015-10-30 22:54:34.015804"]]  (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", "2015-10-30 22:54:34.020413"], ["updated_at", "2015-10-30 22:54:34.020413"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:34.023737"], ["updated_at", "2015-10-30 22:54:34.023737"]] 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", "2015-10-30 22:54:34.025000"], ["updated_at", "2015-10-30 22:54:34.025000"]] 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.2ms) 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$foIVNzhJQ9SXU78ff3FvcO8JiiEbEslkMYjFh0HxaY.fnTVlkY/eu"], ["remember_token", "zIbQfpGdC37kujOs92TpZw"], ["created_at", "2015-10-30 22:54:34.036221"], ["updated_at", "2015-10-30 22:54:34.036221"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", "2015-10-30 22:54:34.038997"], ["updated_at", "2015-10-30 22:54:34.038997"]]  (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", "2015-10-30 22:54:34.042346"], ["updated_at", "2015-10-30 22:54:34.042346"]]  (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", "2015-10-30 22:54:34.044237"], ["updated_at", "2015-10-30 22:54:34.044237"]]  (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", "2015-10-30 22:54:34.045983"], ["updated_at", "2015-10-30 22:54:34.045983"]]  (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", "2015-10-30 22:54:34.048209"], ["updated_at", "2015-10-30 22:54:34.048209"]]  (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", "kKQ3lSA7yFYkriuSHE4Y3A"]] 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.2ms) Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.5ms)  (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$STvhQvEddO95qqBVhIuhGehJ/ibRBzincrqnKSHJE6Hub11RkRKt6"], ["remember_token", "TpT8CP5QATIfVXFg1JuOqw"], ["created_at", "2015-10-30 22:54:34.066870"], ["updated_at", "2015-10-30 22:54:34.066870"]]  (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", "2015-10-30 22:54:34.071602"], ["updated_at", "2015-10-30 22:54:34.071602"]]  (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", "2015-10-30 22:54:34.074757"], ["updated_at", "2015-10-30 22:54:34.074757"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:34.078079"], ["updated_at", "2015-10-30 22:54:34.078079"]] 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", "2015-10-30 22:54:34.079517"], ["updated_at", "2015-10-30 22:54:34.079517"]] 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.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", "2015-10-30 22:54:34.082822"], ["updated_at", "2015-10-30 22:54:34.082822"]]  (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", "2015-10-30 22:54:34.084915"], ["updated_at", "2015-10-30 22:54:34.084915"]]  (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", "2015-10-30 22:54:34.086608"], ["updated_at", "2015-10-30 22:54:34.086608"]]  (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", "2015-10-30 22:54:34.088261"], ["updated_at", "2015-10-30 22:54:34.088261"]]  (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", "2015-10-30 22:54:34.089956"], ["updated_at", "2015-10-30 22:54:34.089956"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$1qcfNgUZO0cYL6GS9gZoZOnBHqHXIMiAFwALFI.Hk4Kl71s.IWLJe"], ["remember_token", "-cXcUqtZw3tgsyQyATuxEg"], ["created_at", "2015-10-30 22:54:34.094698"], ["updated_at", "2015-10-30 22:54:34.094698"]]  (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", "2015-10-30 22:54:34.096484"], ["updated_at", "2015-10-30 22:54:34.096484"]]  (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", "2015-10-30 22:54:34.099176"], ["updated_at", "2015-10-30 22:54:34.099176"]]  (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", "2015-10-30 22:54:34.101837"], ["updated_at", "2015-10-30 22:54:34.101837"]]  (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", "2015-10-30 22:54:34.103782"], ["updated_at", "2015-10-30 22:54:34.103782"]]  (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", "2015-10-30 22:54:34.105515"], ["updated_at", "2015-10-30 22:54:34.105515"]]  (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 1 [["remember_token", "TpT8CP5QATIfVXFg1JuOqw"]] 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.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.2ms) Completed 200 OK in 8ms (Views: 1.0ms | ActiveRecord: 0.9ms) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (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$kZ4zftsLAQce0kKHwx0zf.tLqGdxbYNiZb20p7Hswr5Qqpqb9Xsxm"], ["remember_token", "yVxORXBCdcuCRWGJUze_UA"], ["created_at", "2015-10-30 22:54:34.122120"], ["updated_at", "2015-10-30 22:54:34.122120"]]  (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", "2015-10-30 22:54:34.125531"], ["updated_at", "2015-10-30 22:54:34.125531"]]  (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", "2015-10-30 22:54:34.128098"], ["updated_at", "2015-10-30 22:54:34.128098"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:34.132069"], ["updated_at", "2015-10-30 22:54:34.132069"]] 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", "2015-10-30 22:54:34.133377"], ["updated_at", "2015-10-30 22:54:34.133377"]] 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", "2015-10-30 22:54:34.136602"], ["updated_at", "2015-10-30 22:54:34.136602"]]  (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", "2015-10-30 22:54:34.138411"], ["updated_at", "2015-10-30 22:54:34.138411"]]  (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", "2015-10-30 22:54:34.140002"], ["updated_at", "2015-10-30 22:54:34.140002"]]  (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", "2015-10-30 22:54:34.141747"], ["updated_at", "2015-10-30 22:54:34.141747"]]  (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", "2015-10-30 22:54:34.143402"], ["updated_at", "2015-10-30 22:54:34.143402"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$YeRcHyAHwH7ExsfAT09UzO1qj3tMJPewfnndA/4IyzJFNW3ZI92kW"], ["remember_token", "_2jHu9Ok70ol8A6MmnZf2Q"], ["created_at", "2015-10-30 22:54:34.148040"], ["updated_at", "2015-10-30 22:54:34.148040"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "2015-10-30 22:54:34.150720"], ["updated_at", "2015-10-30 22:54:34.150720"]]  (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", "2015-10-30 22:54:34.152889"], ["updated_at", "2015-10-30 22:54:34.152889"]]  (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.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", "2015-10-30 22:54:34.156117"], ["updated_at", "2015-10-30 22:54:34.156117"]]  (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", "2015-10-30 22:54:34.159413"], ["updated_at", "2015-10-30 22:54:34.159413"]]  (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", "2015-10-30 22:54:34.162099"], ["updated_at", "2015-10-30 22:54:34.162099"]]  (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", "2015-10-30 22:54:34.164186"], ["updated_at", "2015-10-30 22:54:34.164186"]]  (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", "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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:34.173817"], ["updated_at", "2015-10-30 22:54:34.173817"]] 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", "2015-10-30 22:54:34.175734"], ["updated_at", "2015-10-30 22:54:34.175734"]] 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", "yVxORXBCdcuCRWGJUze_UA"]] 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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (2.6ms) 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$Bmod0J81GcbM3L1DK9Fy/.trWLoWKxHp9UTFspatOsDtFxrJy.YJm"], ["remember_token", "IzOjiF4t_qC4ntHpektOEg"], ["created_at", "2015-10-30 22:54:34.196936"], ["updated_at", "2015-10-30 22:54:34.196936"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$vSGIwGR8Q5h9d74p4fhBJOHXOgtOMSkAHfjxzOCt6qqBJcx.LqmCC"], ["remember_token", "0JkZPkOcYvIHg2LPDIaOrw"], ["created_at", "2015-10-30 22:54:34.204025"], ["updated_at", "2015-10-30 22:54:34.204025"]]  (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", "2015-10-30 22:54:34.206225"], ["updated_at", "2015-10-30 22:54:34.206225"]]  (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", "2015-10-30 22:54:34.208611"], ["updated_at", "2015-10-30 22:54:34.208611"]]  (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", "2015-10-30 22:54:34.210443"], ["updated_at", "2015-10-30 22:54:34.210443"]]  (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", "2015-10-30 22:54:34.212224"], ["updated_at", "2015-10-30 22:54:34.212224"]]  (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", "2015-10-30 22:54:34.214017"], ["updated_at", "2015-10-30 22:54:34.214017"]]  (0.0ms) 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", "2015-10-30 22:54:34.215782"], ["updated_at", "2015-10-30 22:54:34.215782"]]  (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", "2015-10-30 22:54:34.218297"], ["updated_at", "2015-10-30 22:54:34.218297"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:54:34.221268"], ["updated_at", "2015-10-30 22:54:34.221268"]]  (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", "2015-10-30 22:54:34.223711"], ["updated_at", "2015-10-30 22:54:34.223711"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:34.227210"], ["updated_at", "2015-10-30 22:54:34.227210"]] 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", "2015-10-30 22:54:34.228993"], ["updated_at", "2015-10-30 22:54:34.228993"]] 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:34.236456"], ["updated_at", "2015-10-30 22:54:34.236456"]] 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", "2015-10-30 22:54:34.237941"], ["updated_at", "2015-10-30 22:54:34.237941"]] 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", "IzOjiF4t_qC4ntHpektOEg"]] 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: 1.0ms | ActiveRecord: 0.5ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (4.5ms) 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$.w/PLNT84SzlfvKqQNPf9u9D/BgEfIaKViP.JnQKtQpV49OlFRnQG"], ["remember_token", "iQTb8XavChD3vQnO4sO_HQ"], ["created_at", "2015-10-30 22:54:34.259632"], ["updated_at", "2015-10-30 22:54:34.259632"]]  (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", "2015-10-30 22:54:34.263786"], ["updated_at", "2015-10-30 22:54:34.263786"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:34.266941"], ["updated_at", "2015-10-30 22:54:34.266941"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:34.276120"], ["updated_at", "2015-10-30 22:54:34.276120"]] 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", "2015-10-30 22:54:34.277396"], ["updated_at", "2015-10-30 22:54:34.277396"]] 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.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$CVcgQ.Oxo75D7V/etyIVHu53HPE36bgiJcDXBRQaOH8zHvbgW38OG"], ["remember_token", "oF4WiLtU5yTVIQ2zlTLqSg"], ["created_at", "2015-10-30 22:54:34.282637"], ["updated_at", "2015-10-30 22:54:34.282637"]]  (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", "2015-10-30 22:54:34.284395"], ["updated_at", "2015-10-30 22:54:34.284395"]]  (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 1 [["remember_token", "iQTb8XavChD3vQnO4sO_HQ"]] 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.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"]] Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 9ms (Views: 3.0ms | ActiveRecord: 0.8ms)  (0.9ms) 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$ZJmiyNr7aICPONlaVGX5L.7/23d8vGguMXNM9xTBwLo7DJbGagWhC"], ["remember_token", "303TbhM9j593l4JixauTUA"], ["created_at", "2015-10-30 22:54:34.302013"], ["updated_at", "2015-10-30 22:54:34.302013"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:54:34.305334"], ["updated_at", "2015-10-30 22:54:34.305334"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:34.308992"], ["updated_at", "2015-10-30 22:54:34.308992"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:34.314574"], ["updated_at", "2015-10-30 22:54:34.314574"]] 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", "2015-10-30 22:54:34.316545"], ["updated_at", "2015-10-30 22:54:34.316545"]] 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.1ms) 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$yolMwiSoPtRV.8Z4Z6MbDO2VDhPA7cCLZQsB187O6LOw.0zlHlr5q"], ["remember_token", "VEw2oHGVRL_1zQido50zQw"], ["created_at", "2015-10-30 22:54:34.324157"], ["updated_at", "2015-10-30 22:54:34.324157"]]  (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", "2015-10-30 22:54:34.325986"], ["updated_at", "2015-10-30 22:54:34.325986"]]  (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", "303TbhM9j593l4JixauTUA"]] 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"."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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (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$T1yiU8dlEe2qNCmzQ9VbwO6XclR3k8H5Xwe8WOZNahnQUTOLNPUBC"], ["remember_token", "SdxVDZnuB9iEMF5FzCvnDA"], ["created_at", "2015-10-30 22:54:34.338800"], ["updated_at", "2015-10-30 22:54:34.338800"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:54:34.341971"], ["updated_at", "2015-10-30 22:54:34.341971"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:34.344754"], ["updated_at", "2015-10-30 22:54:34.344754"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:34.348016"], ["updated_at", "2015-10-30 22:54:34.348016"]] 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", "2015-10-30 22:54:34.349368"], ["updated_at", "2015-10-30 22:54:34.349368"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "SdxVDZnuB9iEMF5FzCvnDA"]] 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 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.3ms) Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 0.5ms)  (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$k759s7axMLpHgbyrEz.vsObnZDVtgWBTjiYeES82OD74S/tYxuWYW"], ["remember_token", "2gIEslyBC6psp-EaGfBQ7Q"], ["created_at", "2015-10-30 22:54:34.367630"], ["updated_at", "2015-10-30 22:54:34.367630"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:54:34.370920"], ["updated_at", "2015-10-30 22:54:34.370920"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:34.374100"], ["updated_at", "2015-10-30 22:54:34.374100"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:34.377261"], ["updated_at", "2015-10-30 22:54:34.377261"]] 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", "2015-10-30 22:54:34.378512"], ["updated_at", "2015-10-30 22:54:34.378512"]] 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$QdkA//T8gdlRjX3MrY8EEeFP0A18JyY6lO2uJTRYc6tAjyv2fQVuq"], ["remember_token", "v9xsSBmM-ynqGLlCMfwS8w"], ["created_at", "2015-10-30 22:54:34.383833"], ["updated_at", "2015-10-30 22:54:34.383833"]]  (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", "2015-10-30 22:54:34.385357"], ["updated_at", "2015-10-30 22:54:34.385357"]]  (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", "2gIEslyBC6psp-EaGfBQ7Q"]] Article Load (0.0ms) 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.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 7ms (Views: 2.7ms | 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$Zg/agIKpm76lPJJ9qy6Bie0pGJ3FKi2qvkQ2hIvma8VestsEfjc2K"], ["remember_token", "k_wi05h7bDwZmhvER4nJUQ"], ["created_at", "2015-10-30 22:54:34.399981"], ["updated_at", "2015-10-30 22:54:34.399981"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:54:34.403754"], ["updated_at", "2015-10-30 22:54:34.403754"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:34.406708"], ["updated_at", "2015-10-30 22:54:34.406708"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:54:34.409698"], ["updated_at", "2015-10-30 22:54:34.409698"]] 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", "2015-10-30 22:54:34.411004"], ["updated_at", "2015-10-30 22:54:34.411004"]] 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.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$6LJCAqomnTb.2JPfSZ.uCeA5s5ycyOOoh5b6.tZSnIO01UnHLI1c."], ["remember_token", "5zLLMGhBWn0BsUUZV-19_A"], ["created_at", "2015-10-30 22:54:34.416646"], ["updated_at", "2015-10-30 22:54:34.416646"]]  (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", "2015-10-30 22:54:34.419052"], ["updated_at", "2015-10-30 22:54:34.419052"]]  (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", "k_wi05h7bDwZmhvER4nJUQ"]] 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.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"."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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (1.2ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:34.432205"], ["updated_at", "2015-10-30 22:54:34.432205"]]  (0.0ms) 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", "2015-10-30 22:54:34.434438"], ["updated_at", "2015-10-30 22:54:34.434438"]]  (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", "2015-10-30 22:54:34.437329"], ["updated_at", "2015-10-30 22:54:34.437329"]]  (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 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:34.444099"], ["updated_at", "2015-10-30 22:54:34.444099"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:34.446563"], ["updated_at", "2015-10-30 22:54:34.446563"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.2ms) 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", "2015-10-30 22:54:34.467974"], ["updated_at", "2015-10-30 22:54:34.467974"]]  (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", "2015-10-30 22:54:34.471079"], ["updated_at", "2015-10-30 22:54:34.471079"]]  (0.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:54:34.478589"], ["updated_at", "2015-10-30 22:54:34.478589"]]  (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", "2015-10-30 22:54:34.480948"], ["updated_at", "2015-10-30 22:54:34.480948"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:54:34.483911"], ["updated_at", "2015-10-30 22:54:34.483911"]]  (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 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", "2015-10-30 22:54:34.492863"], ["updated_at", "2015-10-30 22:54:34.492863"]]  (0.0ms) 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", "2015-10-30 22:54:34.494979"], ["updated_at", "2015-10-30 22:54:34.494979"]]  (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", "2015-10-30 22:54:34.497406"], ["updated_at", "2015-10-30 22:54:34.497406"]]  (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 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", "2015-10-30 22:54:34.505967"], ["updated_at", "2015-10-30 22:54:34.505967"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 22:54:34.509378"], ["updated_at", "2015-10-30 22:54:34.509378"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (1.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.4ms) 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 (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:55:35.001695"], ["updated_at", "2015-10-30 22:55:35.001695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) 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", "2015-10-30 22:55:35.025032"], ["updated_at", "2015-10-30 22:55:35.025032"]]  (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", "2015-10-30 22:55:35.038214"], ["updated_at", "2015-10-30 22:55:35.038214"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.078192"], ["updated_at", "2015-10-30 22:55:35.078192"]] 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", "2015-10-30 22:55:35.080959"], ["updated_at", "2015-10-30 22:55:35.080959"]] 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.2ms) 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.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" = 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:55:35.126993"], ["updated_at", "2015-10-30 22:55:35.126993"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:55:35.129649"], ["updated_at", "2015-10-30 22:55:35.129649"]]  (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", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 22:55:35.134076"], ["updated_at", "2015-10-30 22:55:35.134076"]] 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", "2015-10-30 22:55:35.137258"], ["updated_at", "2015-10-30 22:55:35.137258"]] 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" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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", "2015-10-30 22:55:35.150844"], ["updated_at", "2015-10-30 22:55:35.150844"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:55:35.153522"], ["updated_at", "2015-10-30 22:55:35.153522"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.157584"], ["updated_at", "2015-10-30 22:55:35.157584"]] 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", "2015-10-30 22:55:35.159113"], ["updated_at", "2015-10-30 22:55:35.159113"]] 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" = 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"."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.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" = 1003 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:55:35.169978"], ["updated_at", "2015-10-30 22:55:35.169978"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:55:35.172995"], ["updated_at", "2015-10-30 22:55:35.172995"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.176970"], ["updated_at", "2015-10-30 22:55:35.176970"]] 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", "2015-10-30 22:55:35.178341"], ["updated_at", "2015-10-30 22:55:35.178341"]] 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.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"]]  (0.9ms) 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", "2015-10-30 22:55:35.190295"], ["updated_at", "2015-10-30 22:55:35.190295"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:55:35.193644"], ["updated_at", "2015-10-30 22:55:35.193644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.197989"], ["updated_at", "2015-10-30 22:55:35.197989"]] 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", "2015-10-30 22:55:35.200624"], ["updated_at", "2015-10-30 22:55:35.200624"]] 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" = 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"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1005 AND "adeia_elements"."name" = 'admin/articles' [["create_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", "2015-10-30 22:55:35.213681"], ["updated_at", "2015-10-30 22:55:35.213681"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:55:35.216720"], ["updated_at", "2015-10-30 22:55:35.216720"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.220075"], ["updated_at", "2015-10-30 22:55:35.220075"]] 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", "2015-10-30 22:55:35.221461"], ["updated_at", "2015-10-30 22:55:35.221461"]] 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" = 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:55:35.232083"], ["updated_at", "2015-10-30 22:55:35.232083"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:55:35.236404"], ["updated_at", "2015-10-30 22:55:35.236404"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.240991"], ["updated_at", "2015-10-30 22:55:35.240991"]] 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", "2015-10-30 22:55:35.242809"], ["updated_at", "2015-10-30 22:55:35.242809"]] 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" = 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"."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.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" = 1007 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:55:35.254449"], ["updated_at", "2015-10-30 22:55:35.254449"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:55:35.257216"], ["updated_at", "2015-10-30 22:55:35.257216"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.260714"], ["updated_at", "2015-10-30 22:55:35.260714"]] 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", "2015-10-30 22:55:35.263569"], ["updated_at", "2015-10-30 22:55:35.263569"]] 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" = 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"]]  (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", "2015-10-30 22:55:35.279844"], ["updated_at", "2015-10-30 22:55:35.279844"]]  (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", "2015-10-30 22:55:35.283184"], ["updated_at", "2015-10-30 22:55:35.283184"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 22:55:35.287089"], ["updated_at", "2015-10-30 22:55:35.287089"]] 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", "2015-10-30 22:55:35.288474"], ["updated_at", "2015-10-30 22:55:35.288474"]] 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.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"."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.1ms) 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.9ms) 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", "2015-10-30 22:55:35.300121"], ["updated_at", "2015-10-30 22:55:35.300121"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:55:35.303494"], ["updated_at", "2015-10-30 22:55:35.303494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.308326"], ["updated_at", "2015-10-30 22:55:35.308326"]] 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", "2015-10-30 22:55:35.311050"], ["updated_at", "2015-10-30 22:55:35.311050"]] 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" = 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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-30 22:55:35.327073"], ["updated_at", "2015-10-30 22:55:35.327073"]]  (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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:55:35.338663"], ["updated_at", "2015-10-30 22:55:35.338663"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.344746"], ["updated_at", "2015-10-30 22:55:35.344746"]] 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", "2015-10-30 22:55:35.347135"], ["updated_at", "2015-10-30 22:55:35.347135"]] 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  (0.1ms) ROLLBACK TO 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", "2015-10-30 22:55:35.357516"], ["updated_at", "2015-10-30 22:55:35.357516"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:55:35.360568"], ["updated_at", "2015-10-30 22:55:35.360568"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.364249"], ["updated_at", "2015-10-30 22:55:35.364249"]] 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", "2015-10-30 22:55:35.365707"], ["updated_at", "2015-10-30 22:55:35.365707"]] 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" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1012 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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", "2015-10-30 22:55:35.376203"], ["updated_at", "2015-10-30 22:55:35.376203"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:55:35.378737"], ["updated_at", "2015-10-30 22:55:35.378737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.382045"], ["updated_at", "2015-10-30 22:55:35.382045"]] 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", "2015-10-30 22:55:35.385155"], ["updated_at", "2015-10-30 22:55:35.385155"]] 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.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" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:55:35.403316"], ["updated_at", "2015-10-30 22:55:35.403316"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:55:35.405940"], ["updated_at", "2015-10-30 22:55:35.405940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.410207"], ["updated_at", "2015-10-30 22:55:35.410207"]] 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", "2015-10-30 22:55:35.411780"], ["updated_at", "2015-10-30 22:55:35.411780"]] 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" = 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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:55:35.426862"], ["updated_at", "2015-10-30 22:55:35.426862"]]  (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", "2015-10-30 22:55:35.430432"], ["updated_at", "2015-10-30 22:55:35.430432"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.434403"], ["updated_at", "2015-10-30 22:55:35.434403"]] 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", "2015-10-30 22:55:35.436192"], ["updated_at", "2015-10-30 22:55:35.436192"]] 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" = 1018  (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" = 1018 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" = 1018 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:55:35.448810"], ["updated_at", "2015-10-30 22:55:35.448810"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:55:35.451343"], ["updated_at", "2015-10-30 22:55:35.451343"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.454984"], ["updated_at", "2015-10-30 22:55:35.454984"]] 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", "2015-10-30 22:55:35.456521"], ["updated_at", "2015-10-30 22:55:35.456521"]] 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.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.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" = 1020 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 22:55:35.468203"], ["updated_at", "2015-10-30 22:55:35.468203"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:55:35.470829"], ["updated_at", "2015-10-30 22:55:35.470829"]]  (0.0ms) 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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.474732"], ["updated_at", "2015-10-30 22:55:35.474732"]] 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", "2015-10-30 22:55:35.477586"], ["updated_at", "2015-10-30 22:55:35.477586"]] 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" = 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"."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.1ms) 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", "2015-10-30 22:55:35.497700"], ["updated_at", "2015-10-30 22:55:35.497700"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", "2015-10-30 22:55:35.501647"], ["updated_at", "2015-10-30 22:55:35.501647"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:55:35.507980"], ["updated_at", "2015-10-30 22:55:35.507980"]]  (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", "2015-10-30 22:55:35.512471"], ["updated_at", "2015-10-30 22:55:35.512471"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.516085"], ["updated_at", "2015-10-30 22:55:35.516085"]] 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", "2015-10-30 22:55:35.517718"], ["updated_at", "2015-10-30 22:55:35.517718"]] 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" = 1023 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" = 'Adeia::Group' AND "adeia_permissions"."owner_id" IN (1, 1023) AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (1.3ms) 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$VzNyi7lyVnU0JQIrEy4Oje0jWNgFbNOG3NPpvk0X8/rCxjToIyrPu"], ["remember_token", "VHRbjfVabQc2bEUI_87slg"], ["created_at", "2015-10-30 22:55:35.542372"], ["updated_at", "2015-10-30 22:55:35.542372"]]  (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", "2015-10-30 22:55:35.546522"], ["updated_at", "2015-10-30 22:55:35.546522"]]  (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", "2015-10-30 22:55:35.549728"], ["updated_at", "2015-10-30 22:55:35.549728"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.553561"], ["updated_at", "2015-10-30 22:55:35.553561"]] 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", "2015-10-30 22:55:35.555466"], ["updated_at", "2015-10-30 22:55:35.555466"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "VHRbjfVabQc2bEUI_87slg"]] 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.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" = '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.5ms) Completed 200 OK in 26ms (Views: 19.8ms | ActiveRecord: 0.9ms)  (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$UfGOSyqj42QU2HX2uJinJ.S0glFzTSy.Tpd4sEZsWSkJiDmUyMECy"], ["remember_token", "t15gnKEDBQOWE87PKWp7JA"], ["created_at", "2015-10-30 22:55:35.595004"], ["updated_at", "2015-10-30 22:55:35.595004"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:55:35.598519"], ["updated_at", "2015-10-30 22:55:35.598519"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:55:35.601564"], ["updated_at", "2015-10-30 22:55:35.601564"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.604947"], ["updated_at", "2015-10-30 22:55:35.604947"]] 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", "2015-10-30 22:55:35.606234"], ["updated_at", "2015-10-30 22:55:35.606234"]] 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 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "t15gnKEDBQOWE87PKWp7JA"]] 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.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 9ms (Views: 1.4ms | ActiveRecord: 0.9ms)  (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$IK1a8kBiT.cExKM0fz2souw3/k37xcKXL5.SN7uyD1WDVmAML5cEG"], ["remember_token", "Odo6S7F9ktSrs3ALVKxhtQ"], ["created_at", "2015-10-30 22:55:35.625972"], ["updated_at", "2015-10-30 22:55:35.625972"]]  (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", "2015-10-30 22:55:35.630339"], ["updated_at", "2015-10-30 22:55:35.630339"]]  (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", "2015-10-30 22:55:35.633725"], ["updated_at", "2015-10-30 22:55:35.633725"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.643102"], ["updated_at", "2015-10-30 22:55:35.643102"]] 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", "2015-10-30 22:55:35.645382"], ["updated_at", "2015-10-30 22:55:35.645382"]] 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.1ms) 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$ZcgpoQ1THvaGU11Fd5TPGuYqAuFL6MfM3baNDmrqIrN6IghuYBoNG"], ["remember_token", "MqMFTv7IoYshvlQsK6SaJQ"], ["created_at", "2015-10-30 22:55:35.659432"], ["updated_at", "2015-10-30 22:55:35.659432"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-30 22:55:35.663280"], ["updated_at", "2015-10-30 22:55:35.663280"]]  (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", "2015-10-30 22:55:35.666936"], ["updated_at", "2015-10-30 22:55:35.666936"]]  (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", "2015-10-30 22:55:35.669202"], ["updated_at", "2015-10-30 22:55:35.669202"]]  (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", "2015-10-30 22:55:35.671224"], ["updated_at", "2015-10-30 22:55:35.671224"]]  (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", "2015-10-30 22:55:35.673105"], ["updated_at", "2015-10-30 22:55:35.673105"]]  (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", "Odo6S7F9ktSrs3ALVKxhtQ"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | 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$wOE.fBR06c8ucnDraJolp.eot3lNt85aQJbuf3pa75kPtouE8BepO"], ["remember_token", "KT-ykF_DMU0HGwIaRwL_Sg"], ["created_at", "2015-10-30 22:55:35.687597"], ["updated_at", "2015-10-30 22:55:35.687597"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:55:35.690816"], ["updated_at", "2015-10-30 22:55:35.690816"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:55:35.694126"], ["updated_at", "2015-10-30 22:55:35.694126"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.697434"], ["updated_at", "2015-10-30 22:55:35.697434"]] 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", "2015-10-30 22:55:35.698815"], ["updated_at", "2015-10-30 22:55:35.698815"]] 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", "2015-10-30 22:55:35.702053"], ["updated_at", "2015-10-30 22:55:35.702053"]]  (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", "2015-10-30 22:55:35.704331"], ["updated_at", "2015-10-30 22:55:35.704331"]]  (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", "2015-10-30 22:55:35.707864"], ["updated_at", "2015-10-30 22:55:35.707864"]]  (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", "2015-10-30 22:55:35.710587"], ["updated_at", "2015-10-30 22:55:35.710587"]]  (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", "2015-10-30 22:55:35.712776"], ["updated_at", "2015-10-30 22:55:35.712776"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$uQriGbDKGMxDrTVuuRQrpezWJK8K5AbtMG8eZcTu1NMZlKHNsNKFu"], ["remember_token", "KrtH7xKTHDBBrCDsavUDCw"], ["created_at", "2015-10-30 22:55:35.716907"], ["updated_at", "2015-10-30 22:55:35.716907"]]  (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", "2015-10-30 22:55:35.718393"], ["updated_at", "2015-10-30 22:55:35.718393"]]  (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", "2015-10-30 22:55:35.721253"], ["updated_at", "2015-10-30 22:55:35.721253"]]  (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", "2015-10-30 22:55:35.723428"], ["updated_at", "2015-10-30 22:55:35.723428"]]  (0.0ms) 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", "2015-10-30 22:55:35.725309"], ["updated_at", "2015-10-30 22:55:35.725309"]]  (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", "2015-10-30 22:55:35.728035"], ["updated_at", "2015-10-30 22:55:35.728035"]]  (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", "KT-ykF_DMU0HGwIaRwL_Sg"]] 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.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (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$kDCke4mtVAOoP/6ubU0PWOl26.iofBXQ1cWYLbj50pBq8hek9rA9."], ["remember_token", "O6IVipptpjU3XLwpniNZMQ"], ["created_at", "2015-10-30 22:55:35.741607"], ["updated_at", "2015-10-30 22:55:35.741607"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:55:35.745264"], ["updated_at", "2015-10-30 22:55:35.745264"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:55:35.748419"], ["updated_at", "2015-10-30 22:55:35.748419"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.752321"], ["updated_at", "2015-10-30 22:55:35.752321"]] 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", "2015-10-30 22:55:35.753614"], ["updated_at", "2015-10-30 22:55:35.753614"]] 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 "articles" ("title", "content", "user_id", "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", "2015-10-30 22:55:35.759722"], ["updated_at", "2015-10-30 22:55:35.759722"]]  (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", "2015-10-30 22:55:35.762428"], ["updated_at", "2015-10-30 22:55:35.762428"]]  (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", "2015-10-30 22:55:35.764626"], ["updated_at", "2015-10-30 22:55:35.764626"]]  (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", "2015-10-30 22:55:35.766503"], ["updated_at", "2015-10-30 22:55:35.766503"]]  (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", "2015-10-30 22:55:35.769016"], ["updated_at", "2015-10-30 22:55:35.769016"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$5syab2HBlzF1nZam0X0rHOzvwlBPbV12zjSSFgAWbQbI13XZ6l.Gy"], ["remember_token", "sRrNejippIK6JP7w3FE4yQ"], ["created_at", "2015-10-30 22:55:35.774325"], ["updated_at", "2015-10-30 22:55:35.774325"]]  (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", "2015-10-30 22:55:35.776641"], ["updated_at", "2015-10-30 22:55:35.776641"]]  (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", "2015-10-30 22:55:35.779112"], ["updated_at", "2015-10-30 22:55:35.779112"]]  (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", "2015-10-30 22:55:35.780955"], ["updated_at", "2015-10-30 22:55:35.780955"]]  (0.0ms) 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", "2015-10-30 22:55:35.782708"], ["updated_at", "2015-10-30 22:55:35.782708"]]  (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", "2015-10-30 22:55:35.784445"], ["updated_at", "2015-10-30 22:55:35.784445"]]  (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", "2015-10-30 22:55:35.786287"], ["updated_at", "2015-10-30 22:55:35.786287"]]  (0.0ms) 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.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_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.791386"], ["updated_at", "2015-10-30 22:55:35.791386"]] 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", "2015-10-30 22:55:35.792772"], ["updated_at", "2015-10-30 22:55:35.792772"]] 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", "O6IVipptpjU3XLwpniNZMQ"]] 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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (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$jgJ8e.S1s1JYMJRlu2TGme0pDggee3.4ZY01XjM0aYKgrNZ4ibNN."], ["remember_token", "ER-cdVqj_xogaGX5vYR9YQ"], ["created_at", "2015-10-30 22:55:35.813308"], ["updated_at", "2015-10-30 22:55:35.813308"]]  (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$loPkQlurtD4lJhTURz9nguqdSOC9/OIzPMGltgN.e1NiWgxxh7jeO"], ["remember_token", "CaQlSsxUuDbX7bBTyNR_4Q"], ["created_at", "2015-10-30 22:55:35.820107"], ["updated_at", "2015-10-30 22:55:35.820107"]]  (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", "2015-10-30 22:55:35.822285"], ["updated_at", "2015-10-30 22:55:35.822285"]]  (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", "2015-10-30 22:55:35.824470"], ["updated_at", "2015-10-30 22:55:35.824470"]]  (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", "2015-10-30 22:55:35.826283"], ["updated_at", "2015-10-30 22:55:35.826283"]]  (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", "2015-10-30 22:55:35.828093"], ["updated_at", "2015-10-30 22:55:35.828093"]]  (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", "2015-10-30 22:55:35.830167"], ["updated_at", "2015-10-30 22:55:35.830167"]]  (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", "2015-10-30 22:55:35.832710"], ["updated_at", "2015-10-30 22:55:35.832710"]]  (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", "2015-10-30 22:55:35.834769"], ["updated_at", "2015-10-30 22:55:35.834769"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:55:35.837529"], ["updated_at", "2015-10-30 22:55:35.837529"]]  (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", "2015-10-30 22:55:35.839876"], ["updated_at", "2015-10-30 22:55:35.839876"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.843536"], ["updated_at", "2015-10-30 22:55:35.843536"]] 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", "2015-10-30 22:55:35.845794"], ["updated_at", "2015-10-30 22:55:35.845794"]] 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.856332"], ["updated_at", "2015-10-30 22:55:35.856332"]] 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", "2015-10-30 22:55:35.857950"], ["updated_at", "2015-10-30 22:55:35.857950"]] 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", "ER-cdVqj_xogaGX5vYR9YQ"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms) 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$D6iPVHIMz2hHO.QTyXH.Y.WkwPw5yiR3Uv4PSRm5kOoKjZtoqYcPW"], ["remember_token", "G4-WHfc2kJjfO9XnL4wGRQ"], ["created_at", "2015-10-30 22:55:35.874387"], ["updated_at", "2015-10-30 22:55:35.874387"]]  (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", "2015-10-30 22:55:35.877771"], ["updated_at", "2015-10-30 22:55:35.877771"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:55:35.881501"], ["updated_at", "2015-10-30 22:55:35.881501"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.886990"], ["updated_at", "2015-10-30 22:55:35.886990"]] 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", "2015-10-30 22:55:35.888995"], ["updated_at", "2015-10-30 22:55:35.888995"]] 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.1ms) 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$2ahxEbgmIEpvJtcVfe6AaeGnaXWxAxmAEq69ei27v3zyGDutWK9oO"], ["remember_token", "Dvf9VL6UwpJ-3yLut9b9-A"], ["created_at", "2015-10-30 22:55:35.896777"], ["updated_at", "2015-10-30 22:55:35.896777"]]  (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", "2015-10-30 22:55:35.898677"], ["updated_at", "2015-10-30 22:55:35.898677"]]  (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", "G4-WHfc2kJjfO9XnL4wGRQ"]] 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.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 articles/show.html.erb within layouts/application (0.4ms) Completed 200 OK in 8ms (Views: 3.3ms | ActiveRecord: 0.5ms)  (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$PosVqZyDttmmvEV7PnuvVO07iQ8GhyNrs6tkZVL4FBGRpGS50V5IG"], ["remember_token", "ZwwN8W9-7IVGcQ6DqNH9ng"], ["created_at", "2015-10-30 22:55:35.915043"], ["updated_at", "2015-10-30 22:55:35.915043"]]  (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", "2015-10-30 22:55:35.924962"], ["updated_at", "2015-10-30 22:55:35.924962"]]  (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", "2015-10-30 22:55:35.928080"], ["updated_at", "2015-10-30 22:55:35.928080"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.931130"], ["updated_at", "2015-10-30 22:55:35.931130"]] 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", "2015-10-30 22:55:35.932501"], ["updated_at", "2015-10-30 22:55:35.932501"]] 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.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$y5FMk4GO5z2piV4Q1WLvfuLZXaVi/Pcs4RP7UNT4jgxksjN5Ep61O"], ["remember_token", "LU_LPMABZxCiQfkN6W2osw"], ["created_at", "2015-10-30 22:55:35.938587"], ["updated_at", "2015-10-30 22:55:35.938587"]]  (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", "2015-10-30 22:55:35.940446"], ["updated_at", "2015-10-30 22:55:35.940446"]]  (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", "ZwwN8W9-7IVGcQ6DqNH9ng"]] 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"."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"]] Rendered articles/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 6ms (Views: 1.8ms | ActiveRecord: 0.4ms)  (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$BPsV7NHoilg/uYR6K3U3M.QrHsVbuFYu5ncssYdBw/pImDHVNBlkG"], ["remember_token", "2XyCsaO1t_tWFYbL9zit6g"], ["created_at", "2015-10-30 22:55:35.955530"], ["updated_at", "2015-10-30 22:55:35.955530"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:55:35.958829"], ["updated_at", "2015-10-30 22:55:35.958829"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:55:35.963299"], ["updated_at", "2015-10-30 22:55:35.963299"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.968450"], ["updated_at", "2015-10-30 22:55:35.968450"]] 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", "2015-10-30 22:55:35.970369"], ["updated_at", "2015-10-30 22:55:35.970369"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "2XyCsaO1t_tWFYbL9zit6g"]] 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 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.3ms) Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.5ms)  (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$KNSmikx.y8.h0/JVQx/bYeB1Ucot1CSsObP2efmr/X9nTIH3p801y"], ["remember_token", "EFuYE4cxZl4j8hSm_Ngvng"], ["created_at", "2015-10-30 22:55:35.986696"], ["updated_at", "2015-10-30 22:55:35.986696"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:55:35.989839"], ["updated_at", "2015-10-30 22:55:35.989839"]]  (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", "2015-10-30 22:55:35.992606"], ["updated_at", "2015-10-30 22:55:35.992606"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:35.998037"], ["updated_at", "2015-10-30 22:55:35.998037"]] 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", "2015-10-30 22:55:36.000520"], ["updated_at", "2015-10-30 22:55:36.000520"]] 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.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$eJkuSSDk6fUWUlvnpyAdOe/PssDmYYkUSEHxeEKmBmwG0X4EvlE26"], ["remember_token", "3CuUGjORvcnFXSDI8I0plw"], ["created_at", "2015-10-30 22:55:36.006770"], ["updated_at", "2015-10-30 22:55:36.006770"]]  (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", "2015-10-30 22:55:36.008401"], ["updated_at", "2015-10-30 22:55:36.008401"]]  (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", "EFuYE4cxZl4j8hSm_Ngvng"]] 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.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.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" = 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.3ms) Completed 200 OK in 10ms (Views: 3.5ms | ActiveRecord: 1.0ms)  (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$YW7EZZXfDdlrnkXq7m3NVupA5KEk6UUBdFHLdVMoRPz8Lbt3mCnE."], ["remember_token", "-qT_V7eV3GqZGPe8KJPCGQ"], ["created_at", "2015-10-30 22:55:36.028863"], ["updated_at", "2015-10-30 22:55:36.028863"]]  (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", "2015-10-30 22:55:36.034098"], ["updated_at", "2015-10-30 22:55:36.034098"]]  (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", "2015-10-30 22:55:36.037432"], ["updated_at", "2015-10-30 22:55:36.037432"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:55:36.040569"], ["updated_at", "2015-10-30 22:55:36.040569"]] 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", "2015-10-30 22:55:36.041850"], ["updated_at", "2015-10-30 22:55:36.041850"]] 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.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$meJ3UUpUmnrrALassONpQeI33BhOYZLfE01F6gB/.gGS0.Sg.vGwy"], ["remember_token", "UrF3qa98xD3fYUHnwjupPQ"], ["created_at", "2015-10-30 22:55:36.047759"], ["updated_at", "2015-10-30 22:55:36.047759"]]  (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", "2015-10-30 22:55:36.049664"], ["updated_at", "2015-10-30 22:55:36.049664"]]  (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", "-qT_V7eV3GqZGPe8KJPCGQ"]] 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.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"."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 7ms (Views: 1.2ms | ActiveRecord: 0.6ms)  (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", "2015-10-30 22:55:36.063562"], ["updated_at", "2015-10-30 22:55:36.063562"]]  (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", "2015-10-30 22:55:36.065902"], ["updated_at", "2015-10-30 22:55:36.065902"]]  (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", "2015-10-30 22:55:36.068435"], ["updated_at", "2015-10-30 22:55:36.068435"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:55:36.075093"], ["updated_at", "2015-10-30 22:55:36.075093"]]  (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", "2015-10-30 22:55:36.079169"], ["updated_at", "2015-10-30 22:55:36.079169"]]  (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", "2015-10-30 22:55:36.100267"], ["updated_at", "2015-10-30 22:55:36.100267"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:55:36.103431"], ["updated_at", "2015-10-30 22:55:36.103431"]]  (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 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", "2015-10-30 22:55:36.110981"], ["updated_at", "2015-10-30 22:55:36.110981"]]  (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.7ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 22:55:36.113352"], ["updated_at", "2015-10-30 22:55:36.113352"]]  (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", "2015-10-30 22:55:36.118384"], ["updated_at", "2015-10-30 22:55:36.118384"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:55:36.125317"], ["updated_at", "2015-10-30 22:55:36.125317"]]  (0.0ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 22:55:36.127583"], ["updated_at", "2015-10-30 22:55:36.127583"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:55:36.131035"], ["updated_at", "2015-10-30 22:55:36.131035"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:55:36.138612"], ["updated_at", "2015-10-30 22:55:36.138612"]]  (0.0ms) 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", "2015-10-30 22:55:36.141009"], ["updated_at", "2015-10-30 22:55:36.141009"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.5ms) 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 (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:56:47.512469"], ["updated_at", "2015-10-30 22:56:47.512469"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) 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", "2015-10-30 22:56:47.535844"], ["updated_at", "2015-10-30 22:56:47.535844"]]  (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", "2015-10-30 22:56:47.549406"], ["updated_at", "2015-10-30 22:56:47.549406"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:47.590034"], ["updated_at", "2015-10-30 22:56:47.590034"]] 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", "2015-10-30 22:56:47.593749"], ["updated_at", "2015-10-30 22:56:47.593749"]] 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  (1.0ms) 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.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" = 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:56:47.636789"], ["updated_at", "2015-10-30 22:56:47.636789"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:56:47.641239"], ["updated_at", "2015-10-30 22:56:47.641239"]]  (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", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 22:56:47.647011"], ["updated_at", "2015-10-30 22:56:47.647011"]] 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", "2015-10-30 22:56:47.648659"], ["updated_at", "2015-10-30 22:56:47.648659"]] 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" = 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"]]  (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", "2015-10-30 22:56:47.660759"], ["updated_at", "2015-10-30 22:56:47.660759"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:56:47.663801"], ["updated_at", "2015-10-30 22:56:47.663801"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:47.667663"], ["updated_at", "2015-10-30 22:56:47.667663"]] 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", "2015-10-30 22:56:47.669005"], ["updated_at", "2015-10-30 22:56:47.669005"]] 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" = 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"."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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_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", "2015-10-30 22:56:47.679879"], ["updated_at", "2015-10-30 22:56:47.679879"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:56:47.682633"], ["updated_at", "2015-10-30 22:56:47.682633"]]  (0.0ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:47.686024"], ["updated_at", "2015-10-30 22:56:47.686024"]] 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", "2015-10-30 22:56:47.689293"], ["updated_at", "2015-10-30 22:56:47.689293"]] 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" = 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"."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.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" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.1ms) 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", "2015-10-30 22:56:47.704301"], ["updated_at", "2015-10-30 22:56:47.704301"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:56:47.707215"], ["updated_at", "2015-10-30 22:56:47.707215"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:47.711653"], ["updated_at", "2015-10-30 22:56:47.711653"]] 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", "2015-10-30 22:56:47.713095"], ["updated_at", "2015-10-30 22:56:47.713095"]] 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" = 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"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1005 AND "adeia_elements"."name" = 'admin/articles' [["create_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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:56:47.722739"], ["updated_at", "2015-10-30 22:56:47.722739"]]  (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", "2015-10-30 22:56:47.725803"], ["updated_at", "2015-10-30 22:56:47.725803"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:47.729945"], ["updated_at", "2015-10-30 22:56:47.729945"]] 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", "2015-10-30 22:56:47.731415"], ["updated_at", "2015-10-30 22:56:47.731415"]] 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"]]  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:56:47.742421"], ["updated_at", "2015-10-30 22:56:47.742421"]]  (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", "2015-10-30 22:56:47.746087"], ["updated_at", "2015-10-30 22:56:47.746087"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:47.751561"], ["updated_at", "2015-10-30 22:56:47.751561"]] 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", "2015-10-30 22:56:47.753645"], ["updated_at", "2015-10-30 22:56:47.753645"]] 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" = 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"."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"]]  (1.2ms) 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", "2015-10-30 22:56:47.765802"], ["updated_at", "2015-10-30 22:56:47.765802"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:56:47.768404"], ["updated_at", "2015-10-30 22:56:47.768404"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:47.772348"], ["updated_at", "2015-10-30 22:56:47.772348"]] 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", "2015-10-30 22:56:47.773869"], ["updated_at", "2015-10-30 22:56:47.773869"]] 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" = 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"."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.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" = 1008 AND "adeia_elements"."name" = 'admin/articles' [["update_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", "2015-10-30 22:56:47.787621"], ["updated_at", "2015-10-30 22:56:47.787621"]]  (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", "2015-10-30 22:56:47.791834"], ["updated_at", "2015-10-30 22:56:47.791834"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 22:56:47.796462"], ["updated_at", "2015-10-30 22:56:47.796462"]] 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", "2015-10-30 22:56:47.798565"], ["updated_at", "2015-10-30 22:56:47.798565"]] 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.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"."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.2ms) 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.9ms) 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", "2015-10-30 22:56:47.810129"], ["updated_at", "2015-10-30 22:56:47.810129"]]  (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", "2015-10-30 22:56:47.813718"], ["updated_at", "2015-10-30 22:56:47.813718"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:47.819272"], ["updated_at", "2015-10-30 22:56:47.819272"]] 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", "2015-10-30 22:56:47.821639"], ["updated_at", "2015-10-30 22:56:47.821639"]] 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" = 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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-30 22:56:47.834936"], ["updated_at", "2015-10-30 22:56:47.834936"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:56:47.837624"], ["updated_at", "2015-10-30 22:56:47.837624"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:47.840859"], ["updated_at", "2015-10-30 22:56:47.840859"]] 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", "2015-10-30 22:56:47.843002"], ["updated_at", "2015-10-30 22:56:47.843002"]] 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.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", "2015-10-30 22:56:47.856595"], ["updated_at", "2015-10-30 22:56:47.856595"]]  (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", "2015-10-30 22:56:47.860647"], ["updated_at", "2015-10-30 22:56:47.860647"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:47.865441"], ["updated_at", "2015-10-30 22:56:47.865441"]] 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", "2015-10-30 22:56:47.866765"], ["updated_at", "2015-10-30 22:56:47.866765"]] 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" = 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"]]  (1.2ms) 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", "2015-10-30 22:56:47.881842"], ["updated_at", "2015-10-30 22:56:47.881842"]]  (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", "2015-10-30 22:56:47.884896"], ["updated_at", "2015-10-30 22:56:47.884896"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:47.888636"], ["updated_at", "2015-10-30 22:56:47.888636"]] 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", "2015-10-30 22:56:47.890125"], ["updated_at", "2015-10-30 22:56:47.890125"]] 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.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" = 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"."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.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" = 1013 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:56:47.905169"], ["updated_at", "2015-10-30 22:56:47.905169"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:56:47.907794"], ["updated_at", "2015-10-30 22:56:47.907794"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:47.911804"], ["updated_at", "2015-10-30 22:56:47.911804"]] 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", "2015-10-30 22:56:47.913465"], ["updated_at", "2015-10-30 22:56:47.913465"]] 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" = 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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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", "2015-10-30 22:56:47.926900"], ["updated_at", "2015-10-30 22:56:47.926900"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:56:47.929957"], ["updated_at", "2015-10-30 22:56:47.929957"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:47.934017"], ["updated_at", "2015-10-30 22:56:47.934017"]] 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", "2015-10-30 22:56:47.935471"], ["updated_at", "2015-10-30 22:56:47.935471"]] 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" = 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.2ms) 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", "2015-10-30 22:56:47.946843"], ["updated_at", "2015-10-30 22:56:47.946843"]]  (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", "2015-10-30 22:56:47.950205"], ["updated_at", "2015-10-30 22:56:47.950205"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:47.954229"], ["updated_at", "2015-10-30 22:56:47.954229"]] 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", "2015-10-30 22:56:47.955726"], ["updated_at", "2015-10-30 22:56:47.955726"]] 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" = 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.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" = 1020 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:56:47.967011"], ["updated_at", "2015-10-30 22:56:47.967011"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:56:47.969602"], ["updated_at", "2015-10-30 22:56:47.969602"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:47.972765"], ["updated_at", "2015-10-30 22:56:47.972765"]] 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", "2015-10-30 22:56:47.975725"], ["updated_at", "2015-10-30 22:56:47.975725"]] 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"]]  (0.9ms) 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 22:56:47.992434"], ["updated_at", "2015-10-30 22:56:47.992434"]]  (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", "2015-10-30 22:56:47.996949"], ["updated_at", "2015-10-30 22:56:47.996949"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:56:48.002126"], ["updated_at", "2015-10-30 22:56:48.002126"]]  (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", "2015-10-30 22:56:48.004615"], ["updated_at", "2015-10-30 22:56:48.004615"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:48.007539"], ["updated_at", "2015-10-30 22:56:48.007539"]] 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", "2015-10-30 22:56:48.008818"], ["updated_at", "2015-10-30 22:56:48.008818"]] 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" = 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  (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$GjDluU1iWpBycFvF0erm3.tx3192veU3j607jEicfcL3ML1k8.Waa"], ["remember_token", "KFQjAVj911WsU018LS37Hw"], ["created_at", "2015-10-30 22:56:48.032324"], ["updated_at", "2015-10-30 22:56:48.032324"]]  (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", "2015-10-30 22:56:48.036520"], ["updated_at", "2015-10-30 22:56:48.036520"]]  (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", "2015-10-30 22:56:48.039263"], ["updated_at", "2015-10-30 22:56:48.039263"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:48.042350"], ["updated_at", "2015-10-30 22:56:48.042350"]] 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", "2015-10-30 22:56:48.043638"], ["updated_at", "2015-10-30 22:56:48.043638"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "KFQjAVj911WsU018LS37Hw"]] 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.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" = '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.6ms) Completed 200 OK in 22ms (Views: 14.9ms | ActiveRecord: 0.9ms)  (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$9eFZ5StcagSZgUnZ8qk.Xe2jOovZt/n1iPa0QAfve9EsZ.7DFqHbG"], ["remember_token", "5El1SfwtDpGih5wrxE-isA"], ["created_at", "2015-10-30 22:56:48.080694"], ["updated_at", "2015-10-30 22:56:48.080694"]]  (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", "2015-10-30 22:56:48.085396"], ["updated_at", "2015-10-30 22:56:48.085396"]]  (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", "2015-10-30 22:56:48.089554"], ["updated_at", "2015-10-30 22:56:48.089554"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:48.092996"], ["updated_at", "2015-10-30 22:56:48.092996"]] 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", "2015-10-30 22:56:48.094387"], ["updated_at", "2015-10-30 22:56:48.094387"]] 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 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "5El1SfwtDpGih5wrxE-isA"]] 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.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 8ms (Views: 1.3ms | ActiveRecord: 0.8ms)  (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$VuYdhm6WLf0QBW/Z3.4r5OqzjxebuiQEL..g9SpvtpK47tZmj.ury"], ["remember_token", "DKrf7mbdRcwe3_Q1Xir6Qg"], ["created_at", "2015-10-30 22:56:48.115818"], ["updated_at", "2015-10-30 22:56:48.115818"]]  (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", "2015-10-30 22:56:48.119175"], ["updated_at", "2015-10-30 22:56:48.119175"]]  (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", "2015-10-30 22:56:48.123030"], ["updated_at", "2015-10-30 22:56:48.123030"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:48.126336"], ["updated_at", "2015-10-30 22:56:48.126336"]] 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", "2015-10-30 22:56:48.127647"], ["updated_at", "2015-10-30 22:56:48.127647"]] 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.2ms) 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$bWbFjeBirjN.zOMws2o74OBoioP.F6vf1CJZYgGcBxi9/Davmo8CG"], ["remember_token", "ULRBHp7NRU8zIp4UCK3DaQ"], ["created_at", "2015-10-30 22:56:48.145737"], ["updated_at", "2015-10-30 22:56:48.145737"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", "2015-10-30 22:56:48.148226"], ["updated_at", "2015-10-30 22:56:48.148226"]]  (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", "2015-10-30 22:56:48.151234"], ["updated_at", "2015-10-30 22:56:48.151234"]]  (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", "2015-10-30 22:56:48.153268"], ["updated_at", "2015-10-30 22:56:48.153268"]]  (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", "2015-10-30 22:56:48.155012"], ["updated_at", "2015-10-30 22:56:48.155012"]]  (0.0ms) 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", "2015-10-30 22:56:48.156699"], ["updated_at", "2015-10-30 22:56:48.156699"]]  (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", "DKrf7mbdRcwe3_Q1Xir6Qg"]] 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: 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$yKgs4tBQHjcXzhAE32b8TeNiCcVqvBHosEyv0nPCqQQmqWcNJop0O"], ["remember_token", "yvKrpG2PXtdnY_iRerCIKA"], ["created_at", "2015-10-30 22:56:48.173189"], ["updated_at", "2015-10-30 22:56:48.173189"]]  (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", "2015-10-30 22:56:48.177211"], ["updated_at", "2015-10-30 22:56:48.177211"]]  (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", "2015-10-30 22:56:48.181272"], ["updated_at", "2015-10-30 22:56:48.181272"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:48.184685"], ["updated_at", "2015-10-30 22:56:48.184685"]] 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", "2015-10-30 22:56:48.186065"], ["updated_at", "2015-10-30 22:56:48.186065"]] 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.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", "2015-10-30 22:56:48.189433"], ["updated_at", "2015-10-30 22:56:48.189433"]]  (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", "2015-10-30 22:56:48.192003"], ["updated_at", "2015-10-30 22:56:48.192003"]]  (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", "2015-10-30 22:56:48.193705"], ["updated_at", "2015-10-30 22:56:48.193705"]]  (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", "2015-10-30 22:56:48.195241"], ["updated_at", "2015-10-30 22:56:48.195241"]]  (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", "2015-10-30 22:56:48.196798"], ["updated_at", "2015-10-30 22:56:48.196798"]]  (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$gVyJQFt.XLO4hsvP4X18Deh13yNcnJrGrf15DL8AsoHtkerLouYXy"], ["remember_token", "7q2U6ssZP9bqRkuRcKiueA"], ["created_at", "2015-10-30 22:56:48.200645"], ["updated_at", "2015-10-30 22:56:48.200645"]]  (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", "2015-10-30 22:56:48.202084"], ["updated_at", "2015-10-30 22:56:48.202084"]]  (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", "2015-10-30 22:56:48.204094"], ["updated_at", "2015-10-30 22:56:48.204094"]]  (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", "2015-10-30 22:56:48.205958"], ["updated_at", "2015-10-30 22:56:48.205958"]]  (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.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", "2015-10-30 22:56:48.208506"], ["updated_at", "2015-10-30 22:56:48.208506"]]  (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", "2015-10-30 22:56:48.212049"], ["updated_at", "2015-10-30 22:56:48.212049"]]  (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", "yvKrpG2PXtdnY_iRerCIKA"]] 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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms) Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (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$JDpVqJlhIngGumf7a5ul8ujf7ckHwXBR9uu9raVeyAYY6PiDJ1Rc2"], ["remember_token", "u39q_uaalfd6j1A8qFDrkA"], ["created_at", "2015-10-30 22:56:48.229239"], ["updated_at", "2015-10-30 22:56:48.229239"]]  (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", "2015-10-30 22:56:48.234469"], ["updated_at", "2015-10-30 22:56:48.234469"]]  (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", "2015-10-30 22:56:48.237894"], ["updated_at", "2015-10-30 22:56:48.237894"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:48.241519"], ["updated_at", "2015-10-30 22:56:48.241519"]] 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", "2015-10-30 22:56:48.242788"], ["updated_at", "2015-10-30 22:56:48.242788"]] 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.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", "2015-10-30 22:56:48.246006"], ["updated_at", "2015-10-30 22:56:48.246006"]]  (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", "2015-10-30 22:56:48.248107"], ["updated_at", "2015-10-30 22:56:48.248107"]]  (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", "2015-10-30 22:56:48.250020"], ["updated_at", "2015-10-30 22:56:48.250020"]]  (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", "2015-10-30 22:56:48.251635"], ["updated_at", "2015-10-30 22:56:48.251635"]]  (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", "2015-10-30 22:56:48.253700"], ["updated_at", "2015-10-30 22:56:48.253700"]]  (0.0ms) 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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$vH3UiFKEuGOc2VAytLRxX.Hf8z01N5icKJyP8yFaGEDZbj.diOZqG"], ["remember_token", "kW7hcDNgPFkqpVcjdNVp-A"], ["created_at", "2015-10-30 22:56:48.257677"], ["updated_at", "2015-10-30 22:56:48.257677"]]  (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", 2], ["created_at", "2015-10-30 22:56:48.259142"], ["updated_at", "2015-10-30 22:56:48.259142"]]  (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", "2015-10-30 22:56:48.260953"], ["updated_at", "2015-10-30 22:56:48.260953"]]  (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", "2015-10-30 22:56:48.262693"], ["updated_at", "2015-10-30 22:56:48.262693"]]  (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", "2015-10-30 22:56:48.264850"], ["updated_at", "2015-10-30 22:56:48.264850"]]  (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", "2015-10-30 22:56:48.268025"], ["updated_at", "2015-10-30 22:56:48.268025"]]  (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", "2015-10-30 22:56:48.271063"], ["updated_at", "2015-10-30 22:56:48.271063"]]  (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.0ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:48.276186"], ["updated_at", "2015-10-30 22:56:48.276186"]] 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", "2015-10-30 22:56:48.277512"], ["updated_at", "2015-10-30 22:56:48.277512"]] 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", "u39q_uaalfd6j1A8qFDrkA"]] 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.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (2.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$7AsK4AjIRTBH1JuZxq6jVOIWoGNsITM4nISuPiubU93WCt804tu9W"], ["remember_token", "-fUc93oxzfDQOovkgYprvw"], ["created_at", "2015-10-30 22:56:48.295092"], ["updated_at", "2015-10-30 22:56:48.295092"]]  (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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$i6aeKLcDnIFy80i53EQEMOUXCrO0gLLZPkBHhNHzsoBQY6qM6a3MS"], ["remember_token", "GmXwdQyR_q1Vj4A84egFDA"], ["created_at", "2015-10-30 22:56:48.300188"], ["updated_at", "2015-10-30 22:56:48.300188"]]  (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", "2015-10-30 22:56:48.302541"], ["updated_at", "2015-10-30 22:56:48.302541"]]  (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", "2015-10-30 22:56:48.304607"], ["updated_at", "2015-10-30 22:56:48.304607"]]  (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", "2015-10-30 22:56:48.306574"], ["updated_at", "2015-10-30 22:56:48.306574"]]  (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", "2015-10-30 22:56:48.308316"], ["updated_at", "2015-10-30 22:56:48.308316"]]  (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", "2015-10-30 22:56:48.310079"], ["updated_at", "2015-10-30 22:56:48.310079"]]  (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.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", "2015-10-30 22:56:48.312107"], ["updated_at", "2015-10-30 22:56:48.312107"]]  (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", "2015-10-30 22:56:48.316140"], ["updated_at", "2015-10-30 22:56:48.316140"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:56:48.320671"], ["updated_at", "2015-10-30 22:56:48.320671"]]  (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", "2015-10-30 22:56:48.323833"], ["updated_at", "2015-10-30 22:56:48.323833"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:48.328005"], ["updated_at", "2015-10-30 22:56:48.328005"]] 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", "2015-10-30 22:56:48.329728"], ["updated_at", "2015-10-30 22:56:48.329728"]] 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.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:48.336682"], ["updated_at", "2015-10-30 22:56:48.336682"]] 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", "2015-10-30 22:56:48.337976"], ["updated_at", "2015-10-30 22:56:48.337976"]] 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", "-fUc93oxzfDQOovkgYprvw"]] 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.2ms | ActiveRecord: 0.5ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (5.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$A/ddus9/AvtZoxSJVu2gqOj/n0AUG9O5oXt4sMg7K079zj43OJtj2"], ["remember_token", "ML1nRe9dDBrxrFxbAPOskg"], ["created_at", "2015-10-30 22:56:48.358452"], ["updated_at", "2015-10-30 22:56:48.358452"]]  (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", "2015-10-30 22:56:48.362123"], ["updated_at", "2015-10-30 22:56:48.362123"]]  (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", "2015-10-30 22:56:48.364891"], ["updated_at", "2015-10-30 22:56:48.364891"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:48.367868"], ["updated_at", "2015-10-30 22:56:48.367868"]] 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", "2015-10-30 22:56:48.369186"], ["updated_at", "2015-10-30 22:56:48.369186"]] 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.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$gQqTUGAHUlDmbjjYCaHr0uROmCtHjCE3yEWe99c51tMdTD0H6YmFy"], ["remember_token", "d-NBYPqkc5psBW-bSnlXrw"], ["created_at", "2015-10-30 22:56:48.374927"], ["updated_at", "2015-10-30 22:56:48.374927"]]  (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", "2015-10-30 22:56:48.376662"], ["updated_at", "2015-10-30 22:56:48.376662"]]  (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", "ML1nRe9dDBrxrFxbAPOskg"]] 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.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 articles/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 8ms (Views: 3.4ms | 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$uvyGykusjpflUSDswrx.LunIn7pfw5C21CpyUi3XK5fjwkMM3Dbde"], ["remember_token", "0J8H0Wf0QqJf-z3AMNikUQ"], ["created_at", "2015-10-30 22:56:48.393879"], ["updated_at", "2015-10-30 22:56:48.393879"]]  (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", "2015-10-30 22:56:48.398995"], ["updated_at", "2015-10-30 22:56:48.398995"]]  (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", "2015-10-30 22:56:48.401947"], ["updated_at", "2015-10-30 22:56:48.401947"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:48.404996"], ["updated_at", "2015-10-30 22:56:48.404996"]] 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", "2015-10-30 22:56:48.406901"], ["updated_at", "2015-10-30 22:56:48.406901"]] 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.1ms) 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$3j.1XabUK7LQ1giho7vK9ex383yOGdWPiX3Rd62Woi6iRWBLshiFC"], ["remember_token", "49ZdQvXfhaLKJm6faoKTpA"], ["created_at", "2015-10-30 22:56:48.414970"], ["updated_at", "2015-10-30 22:56:48.414970"]]  (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", "2015-10-30 22:56:48.423983"], ["updated_at", "2015-10-30 22:56:48.423983"]]  (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 1 [["remember_token", "0J8H0Wf0QqJf-z3AMNikUQ"]] 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"."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"]] Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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$hrqLQl6174C./ANenqBYPuNvEXlBxPuIFFUWBqQDmH6RCqbM3M8G2"], ["remember_token", "N9g16VcY55DxTsvwnal42w"], ["created_at", "2015-10-30 22:56:48.437739"], ["updated_at", "2015-10-30 22:56:48.437739"]]  (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", "2015-10-30 22:56:48.440996"], ["updated_at", "2015-10-30 22:56:48.440996"]]  (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", "2015-10-30 22:56:48.444064"], ["updated_at", "2015-10-30 22:56:48.444064"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:48.447920"], ["updated_at", "2015-10-30 22:56:48.447920"]] 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", "2015-10-30 22:56:48.449507"], ["updated_at", "2015-10-30 22:56:48.449507"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "N9g16VcY55DxTsvwnal42w"]] 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 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.3ms) Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 0.5ms)  (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$ugwJDh1WZ3cxKSunrRslXu6OvvPq9l4ZuAs2CA/P5fut9sgtYz1N6"], ["remember_token", "im_bvUM5EpLfLD34EBOD5w"], ["created_at", "2015-10-30 22:56:48.465789"], ["updated_at", "2015-10-30 22:56:48.465789"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:56:48.468906"], ["updated_at", "2015-10-30 22:56:48.468906"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:56:48.471931"], ["updated_at", "2015-10-30 22:56:48.471931"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:48.475133"], ["updated_at", "2015-10-30 22:56:48.475133"]] 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", "2015-10-30 22:56:48.476412"], ["updated_at", "2015-10-30 22:56:48.476412"]] 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$fBmhNTJjq1J07711iYAo6uEPTh0KJhv6v3ZbVopQYXGdwpRf4mWQK"], ["remember_token", "bsC9uZt1Z7M34ON9oeEPiA"], ["created_at", "2015-10-30 22:56:48.483242"], ["updated_at", "2015-10-30 22:56:48.483242"]]  (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", "2015-10-30 22:56:48.485973"], ["updated_at", "2015-10-30 22:56:48.485973"]]  (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", "im_bvUM5EpLfLD34EBOD5w"]] Article Load (0.0ms) 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.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.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.3ms) Completed 200 OK in 7ms (Views: 2.8ms | 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$L8yVDkzq2HXCcGQT6ikez.IDTPBrqzpDwsuU8JIDprGtjpGZy3kEi"], ["remember_token", "m6gJnEUiHMBNAXcqLAkgOg"], ["created_at", "2015-10-30 22:56:48.501128"], ["updated_at", "2015-10-30 22:56:48.501128"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:56:48.504408"], ["updated_at", "2015-10-30 22:56:48.504408"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:56:48.508528"], ["updated_at", "2015-10-30 22:56:48.508528"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:56:48.513586"], ["updated_at", "2015-10-30 22:56:48.513586"]] 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", "2015-10-30 22:56:48.515645"], ["updated_at", "2015-10-30 22:56:48.515645"]] 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.1ms) 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$pM9tZhzCHSJ3Or.7VeceG.MDcrtBIbFJXykBRp/Vr/g2NBM5vDZf2"], ["remember_token", "1GjV1VgabbblRzVYjkHdlA"], ["created_at", "2015-10-30 22:56:48.522389"], ["updated_at", "2015-10-30 22:56:48.522389"]]  (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", "2015-10-30 22:56:48.524024"], ["updated_at", "2015-10-30 22:56:48.524024"]]  (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", "m6gJnEUiHMBNAXcqLAkgOg"]] 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"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:56:48.535617"], ["updated_at", "2015-10-30 22:56:48.535617"]]  (0.0ms) 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", "2015-10-30 22:56:48.537854"], ["updated_at", "2015-10-30 22:56:48.537854"]]  (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", "2015-10-30 22:56:48.540354"], ["updated_at", "2015-10-30 22:56:48.540354"]]  (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 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", "2015-10-30 22:56:48.547367"], ["updated_at", "2015-10-30 22:56:48.547367"]]  (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", "2015-10-30 22:56:48.551130"], ["updated_at", "2015-10-30 22:56:48.551130"]]  (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", "2015-10-30 22:56:48.574435"], ["updated_at", "2015-10-30 22:56:48.574435"]]  (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", "2015-10-30 22:56:48.577259"], ["updated_at", "2015-10-30 22:56:48.577259"]]  (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 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", "2015-10-30 22:56:48.585833"], ["updated_at", "2015-10-30 22:56:48.585833"]]  (0.0ms) 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", "2015-10-30 22:56:48.587998"], ["updated_at", "2015-10-30 22:56:48.587998"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:56:48.590556"], ["updated_at", "2015-10-30 22:56:48.590556"]]  (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 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", "2015-10-30 22:56:48.600504"], ["updated_at", "2015-10-30 22:56:48.600504"]]  (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", "2015-10-30 22:56:48.602817"], ["updated_at", "2015-10-30 22:56:48.602817"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:56:48.606800"], ["updated_at", "2015-10-30 22:56:48.606800"]]  (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", "2015-10-30 22:56:48.616626"], ["updated_at", "2015-10-30 22:56:48.616626"]]  (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", "2015-10-30 22:56:48.619200"], ["updated_at", "2015-10-30 22:56:48.619200"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.8ms) 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", "2015-10-30 22:57:19.228768"], ["updated_at", "2015-10-30 22:57:19.228768"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.5ms) 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", "2015-10-30 22:57:19.259335"], ["updated_at", "2015-10-30 22:57:19.259335"]]  (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", "2015-10-30 22:57:19.272112"], ["updated_at", "2015-10-30 22:57:19.272112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:19.313395"], ["updated_at", "2015-10-30 22:57:19.313395"]] 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", "2015-10-30 22:57:19.316032"], ["updated_at", "2015-10-30 22:57:19.316032"]] 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) 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.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" = 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"."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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:57:19.360930"], ["updated_at", "2015-10-30 22:57:19.360930"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:19.363640"], ["updated_at", "2015-10-30 22:57:19.363640"]]  (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", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 22:57:19.367797"], ["updated_at", "2015-10-30 22:57:19.367797"]] 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", "2015-10-30 22:57:19.369221"], ["updated_at", "2015-10-30 22:57:19.369221"]] 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.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.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", "2015-10-30 22:57:19.382455"], ["updated_at", "2015-10-30 22:57:19.382455"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:19.385046"], ["updated_at", "2015-10-30 22:57:19.385046"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:19.388140"], ["updated_at", "2015-10-30 22:57:19.388140"]] 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", "2015-10-30 22:57:19.390261"], ["updated_at", "2015-10-30 22:57:19.390261"]] 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" = 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"."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.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" = 1003 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:57:19.400581"], ["updated_at", "2015-10-30 22:57:19.400581"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:19.403099"], ["updated_at", "2015-10-30 22:57:19.403099"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:19.406313"], ["updated_at", "2015-10-30 22:57:19.406313"]] 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", "2015-10-30 22:57:19.408046"], ["updated_at", "2015-10-30 22:57:19.408046"]] 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.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" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]] Adeia::Permission Load (1.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" = 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:57:19.420564"], ["updated_at", "2015-10-30 22:57:19.420564"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:19.423250"], ["updated_at", "2015-10-30 22:57:19.423250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:19.426470"], ["updated_at", "2015-10-30 22:57:19.426470"]] 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", "2015-10-30 22:57:19.429422"], ["updated_at", "2015-10-30 22:57:19.429422"]] 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.1ms) 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"]]  (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", "2015-10-30 22:57:19.441195"], ["updated_at", "2015-10-30 22:57:19.441195"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:19.445417"], ["updated_at", "2015-10-30 22:57:19.445417"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:19.459398"], ["updated_at", "2015-10-30 22:57:19.459398"]] 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", "2015-10-30 22:57:19.461698"], ["updated_at", "2015-10-30 22:57:19.461698"]] 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.1ms) 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:57:19.474082"], ["updated_at", "2015-10-30 22:57:19.474082"]]  (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", "2015-10-30 22:57:19.476785"], ["updated_at", "2015-10-30 22:57:19.476785"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:19.481233"], ["updated_at", "2015-10-30 22:57:19.481233"]] 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", "2015-10-30 22:57:19.482869"], ["updated_at", "2015-10-30 22:57:19.482869"]] 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" = 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"."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.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" = 1007 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 22:57:19.492901"], ["updated_at", "2015-10-30 22:57:19.492901"]]  (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", "2015-10-30 22:57:19.495805"], ["updated_at", "2015-10-30 22:57:19.495805"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:19.499711"], ["updated_at", "2015-10-30 22:57:19.499711"]] 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", "2015-10-30 22:57:19.501353"], ["updated_at", "2015-10-30 22:57:19.501353"]] 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" = 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"."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.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" = 1008 AND "adeia_elements"."name" = 'admin/articles' [["update_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", "2015-10-30 22:57:19.514445"], ["updated_at", "2015-10-30 22:57:19.514445"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:19.517446"], ["updated_at", "2015-10-30 22:57:19.517446"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 22:57:19.521409"], ["updated_at", "2015-10-30 22:57:19.521409"]] 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", "2015-10-30 22:57:19.523136"], ["updated_at", "2015-10-30 22:57:19.523136"]] 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.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"."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.2ms) 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.9ms) 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", "2015-10-30 22:57:19.534550"], ["updated_at", "2015-10-30 22:57:19.534550"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:19.537216"], ["updated_at", "2015-10-30 22:57:19.537216"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:19.540724"], ["updated_at", "2015-10-30 22:57:19.540724"]] 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", "2015-10-30 22:57:19.543859"], ["updated_at", "2015-10-30 22:57:19.543859"]] 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" = 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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-30 22:57:19.558159"], ["updated_at", "2015-10-30 22:57:19.558159"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:19.561117"], ["updated_at", "2015-10-30 22:57:19.561117"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:19.572171"], ["updated_at", "2015-10-30 22:57:19.572171"]] 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", "2015-10-30 22:57:19.573581"], ["updated_at", "2015-10-30 22:57:19.573581"]] 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  (0.1ms) ROLLBACK TO 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:57:19.582362"], ["updated_at", "2015-10-30 22:57:19.582362"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:19.585126"], ["updated_at", "2015-10-30 22:57:19.585126"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:19.588292"], ["updated_at", "2015-10-30 22:57:19.588292"]] 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", "2015-10-30 22:57:19.589541"], ["updated_at", "2015-10-30 22:57:19.589541"]] 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" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.9ms) 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", "2015-10-30 22:57:19.599922"], ["updated_at", "2015-10-30 22:57:19.599922"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:19.602575"], ["updated_at", "2015-10-30 22:57:19.602575"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:19.608627"], ["updated_at", "2015-10-30 22:57:19.608627"]] 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", "2015-10-30 22:57:19.610849"], ["updated_at", "2015-10-30 22:57:19.610849"]] 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" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1013 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", "2015-10-30 22:57:19.626902"], ["updated_at", "2015-10-30 22:57:19.626902"]]  (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", "2015-10-30 22:57:19.630870"], ["updated_at", "2015-10-30 22:57:19.630870"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:19.634951"], ["updated_at", "2015-10-30 22:57:19.634951"]] 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", "2015-10-30 22:57:19.636281"], ["updated_at", "2015-10-30 22:57:19.636281"]] 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" = 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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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", "2015-10-30 22:57:19.648592"], ["updated_at", "2015-10-30 22:57:19.648592"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:19.651246"], ["updated_at", "2015-10-30 22:57:19.651246"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:19.655197"], ["updated_at", "2015-10-30 22:57:19.655197"]] 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", "2015-10-30 22:57:19.657903"], ["updated_at", "2015-10-30 22:57:19.657903"]] 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" = 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.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" = 1018 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:57:19.670868"], ["updated_at", "2015-10-30 22:57:19.670868"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:19.673457"], ["updated_at", "2015-10-30 22:57:19.673457"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:19.677185"], ["updated_at", "2015-10-30 22:57:19.677185"]] 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", "2015-10-30 22:57:19.679681"], ["updated_at", "2015-10-30 22:57:19.679681"]] 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" = 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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:57:19.690957"], ["updated_at", "2015-10-30 22:57:19.690957"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:19.693467"], ["updated_at", "2015-10-30 22:57:19.693467"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:19.697855"], ["updated_at", "2015-10-30 22:57:19.697855"]] 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", "2015-10-30 22:57:19.699449"], ["updated_at", "2015-10-30 22:57:19.699449"]] 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" = 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"."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.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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) 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", "2015-10-30 22:57:19.718882"], ["updated_at", "2015-10-30 22:57:19.718882"]]  (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", "2015-10-30 22:57:19.723029"], ["updated_at", "2015-10-30 22:57:19.723029"]]  (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", "2015-10-30 22:57:19.727157"], ["updated_at", "2015-10-30 22:57:19.727157"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:19.730256"], ["updated_at", "2015-10-30 22:57:19.730256"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:19.734250"], ["updated_at", "2015-10-30 22:57:19.734250"]] 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", "2015-10-30 22:57:19.736012"], ["updated_at", "2015-10-30 22:57:19.736012"]] 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" = 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"."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.0ms) 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$ubhi7htPMUaZf1DIg94BDeNZZgVkAMr0f6CRKN5d1UIPynqoSV1p2"], ["remember_token", "ni8a2KxVG7DRnC_qTm-zeQ"], ["created_at", "2015-10-30 22:57:19.754782"], ["updated_at", "2015-10-30 22:57:19.754782"]]  (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", "2015-10-30 22:57:19.759148"], ["updated_at", "2015-10-30 22:57:19.759148"]]  (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", "2015-10-30 22:57:19.761728"], ["updated_at", "2015-10-30 22:57:19.761728"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:19.764791"], ["updated_at", "2015-10-30 22:57:19.764791"]] 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", "2015-10-30 22:57:19.766285"], ["updated_at", "2015-10-30 22:57:19.766285"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "ni8a2KxVG7DRnC_qTm-zeQ"]] 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.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" = '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 24ms (Views: 18.1ms | ActiveRecord: 0.8ms)  (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$dKr9zhpbX5inTz6kj2tH9eCZItXNGnhWmlN/7c89V8exnyAZz4t3q"], ["remember_token", "l6n3j6ZbY61l4y1yzPYEoQ"], ["created_at", "2015-10-30 22:57:19.803328"], ["updated_at", "2015-10-30 22:57:19.803328"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:57:19.806844"], ["updated_at", "2015-10-30 22:57:19.806844"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:19.810263"], ["updated_at", "2015-10-30 22:57:19.810263"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:19.814377"], ["updated_at", "2015-10-30 22:57:19.814377"]] 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", "2015-10-30 22:57:19.815888"], ["updated_at", "2015-10-30 22:57:19.815888"]] 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", "l6n3j6ZbY61l4y1yzPYEoQ"]] 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.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 9ms (Views: 1.3ms | ActiveRecord: 0.8ms)  (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$TcG58P5UJijbmsirA8aC2uPPSTUMdLmC.jSz/wWXvfop9Gx46gB62"], ["remember_token", "nZ9VB38_u7WbkQAAyFrBxQ"], ["created_at", "2015-10-30 22:57:19.836267"], ["updated_at", "2015-10-30 22:57:19.836267"]]  (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", "2015-10-30 22:57:19.840588"], ["updated_at", "2015-10-30 22:57:19.840588"]]  (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", "2015-10-30 22:57:19.843686"], ["updated_at", "2015-10-30 22:57:19.843686"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:19.853853"], ["updated_at", "2015-10-30 22:57:19.853853"]] 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", "2015-10-30 22:57:19.855277"], ["updated_at", "2015-10-30 22:57:19.855277"]] 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.1ms) 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$EvsPQrIGcsmq89PcuNnv6ucVxRbjgVw4o6zbWURUAzHcDkSY6i9d6"], ["remember_token", "xFryASo9RfolkWkcMeQ-Hw"], ["created_at", "2015-10-30 22:57:19.866816"], ["updated_at", "2015-10-30 22:57:19.866816"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", "2015-10-30 22:57:19.869279"], ["updated_at", "2015-10-30 22:57:19.869279"]]  (0.0ms) 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", "2015-10-30 22:57:19.872209"], ["updated_at", "2015-10-30 22:57:19.872209"]]  (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", "2015-10-30 22:57:19.873998"], ["updated_at", "2015-10-30 22:57:19.873998"]]  (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", "2015-10-30 22:57:19.875689"], ["updated_at", "2015-10-30 22:57:19.875689"]]  (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", "2015-10-30 22:57:19.877487"], ["updated_at", "2015-10-30 22:57:19.877487"]]  (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", "nZ9VB38_u7WbkQAAyFrBxQ"]] 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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (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$fPkb4fwWKJd.Q3xndQSKE.tS8RYqkuGYrkvuUR/PSrwuC2yw8YN5e"], ["remember_token", "ICIGebdtwzorg52rmXsczg"], ["created_at", "2015-10-30 22:57:19.892940"], ["updated_at", "2015-10-30 22:57:19.892940"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:57:19.896401"], ["updated_at", "2015-10-30 22:57:19.896401"]]  (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", "2015-10-30 22:57:19.899879"], ["updated_at", "2015-10-30 22:57:19.899879"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:19.903028"], ["updated_at", "2015-10-30 22:57:19.903028"]] 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", "2015-10-30 22:57:19.904337"], ["updated_at", "2015-10-30 22:57:19.904337"]] 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", "2015-10-30 22:57:19.907803"], ["updated_at", "2015-10-30 22:57:19.907803"]]  (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", "2015-10-30 22:57:19.909566"], ["updated_at", "2015-10-30 22:57:19.909566"]]  (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", "2015-10-30 22:57:19.911132"], ["updated_at", "2015-10-30 22:57:19.911132"]]  (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", "2015-10-30 22:57:19.912625"], ["updated_at", "2015-10-30 22:57:19.912625"]]  (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", "2015-10-30 22:57:19.914461"], ["updated_at", "2015-10-30 22:57:19.914461"]]  (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$dN2MG.x1fSaxXOLpkohn.eOYt9Ci2s8.TXS6skc.BSf0cosKPEnYC"], ["remember_token", "7_TV6Utir_hFjc1eJxg1Sw"], ["created_at", "2015-10-30 22:57:19.918380"], ["updated_at", "2015-10-30 22:57:19.918380"]]  (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", "2015-10-30 22:57:19.919831"], ["updated_at", "2015-10-30 22:57:19.919831"]]  (0.0ms) 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", "2015-10-30 22:57:19.921814"], ["updated_at", "2015-10-30 22:57:19.921814"]]  (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.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", "2015-10-30 22:57:19.923591"], ["updated_at", "2015-10-30 22:57:19.923591"]]  (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", "2015-10-30 22:57:19.928053"], ["updated_at", "2015-10-30 22:57:19.928053"]]  (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", "2015-10-30 22:57:19.931246"], ["updated_at", "2015-10-30 22:57:19.931246"]]  (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", "ICIGebdtwzorg52rmXsczg"]] 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.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (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$1qErtoPlgCiPCcTf0jo2ouMwOIFfChfReYy1Eq6pAY1YBwacVJjYi"], ["remember_token", "nzVww1F1WkWNJe391ao4og"], ["created_at", "2015-10-30 22:57:19.944658"], ["updated_at", "2015-10-30 22:57:19.944658"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:57:19.948124"], ["updated_at", "2015-10-30 22:57:19.948124"]]  (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", "2015-10-30 22:57:19.951024"], ["updated_at", "2015-10-30 22:57:19.951024"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:19.954568"], ["updated_at", "2015-10-30 22:57:19.954568"]] 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", "2015-10-30 22:57:19.955857"], ["updated_at", "2015-10-30 22:57:19.955857"]] 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", "2015-10-30 22:57:19.959030"], ["updated_at", "2015-10-30 22:57:19.959030"]]  (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", "2015-10-30 22:57:19.960793"], ["updated_at", "2015-10-30 22:57:19.960793"]]  (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", "2015-10-30 22:57:19.962404"], ["updated_at", "2015-10-30 22:57:19.962404"]]  (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", "2015-10-30 22:57:19.963967"], ["updated_at", "2015-10-30 22:57:19.963967"]]  (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", "2015-10-30 22:57:19.965640"], ["updated_at", "2015-10-30 22:57:19.965640"]]  (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$DJz.n7SJe4idmA88qEuHvelMn0IviRQX3QObT0rWuZhzzcdXHx5c2"], ["remember_token", "qOVxFizyGBDE5_W-BVXB1w"], ["created_at", "2015-10-30 22:57:19.969421"], ["updated_at", "2015-10-30 22:57:19.969421"]]  (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", "2015-10-30 22:57:19.970834"], ["updated_at", "2015-10-30 22:57:19.970834"]]  (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", "2015-10-30 22:57:19.973021"], ["updated_at", "2015-10-30 22:57:19.973021"]]  (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", "2015-10-30 22:57:19.974743"], ["updated_at", "2015-10-30 22:57:19.974743"]]  (0.2ms) 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.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", "2015-10-30 22:57:19.978395"], ["updated_at", "2015-10-30 22:57:19.978395"]]  (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", "2015-10-30 22:57:19.980770"], ["updated_at", "2015-10-30 22:57:19.980770"]]  (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", "2015-10-30 22:57:19.982562"], ["updated_at", "2015-10-30 22:57:19.982562"]]  (0.0ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:19.987875"], ["updated_at", "2015-10-30 22:57:19.987875"]] 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", "2015-10-30 22:57:19.989209"], ["updated_at", "2015-10-30 22:57:19.989209"]] 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", "nzVww1F1WkWNJe391ao4og"]] 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.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" = '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 7ms (Views: 1.2ms | ActiveRecord: 0.8ms) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (2.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$9bouup7dUWrHaOdpFcx.eeISBiGHLX2bAdXCVc1xYyOEaojFvUoAa"], ["remember_token", "LIwaBVohC-6MCOqywZ0XPA"], ["created_at", "2015-10-30 22:57:20.010460"], ["updated_at", "2015-10-30 22:57:20.010460"]]  (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$1CDMkveKK6HCCtw60JOMkOPZ2Df9b4QxG3F7XPZq6S9aSmEMYWmuK"], ["remember_token", "jPvzBgaXjwYj2SItGEZmmg"], ["created_at", "2015-10-30 22:57:20.015261"], ["updated_at", "2015-10-30 22:57:20.015261"]]  (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", "2015-10-30 22:57:20.017594"], ["updated_at", "2015-10-30 22:57:20.017594"]]  (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", "2015-10-30 22:57:20.019592"], ["updated_at", "2015-10-30 22:57:20.019592"]]  (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", "2015-10-30 22:57:20.021371"], ["updated_at", "2015-10-30 22:57:20.021371"]]  (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", "2015-10-30 22:57:20.024092"], ["updated_at", "2015-10-30 22:57:20.024092"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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", "2015-10-30 22:57:20.028043"], ["updated_at", "2015-10-30 22:57:20.028043"]]  (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", "2015-10-30 22:57:20.031124"], ["updated_at", "2015-10-30 22:57:20.031124"]]  (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", "2015-10-30 22:57:20.033602"], ["updated_at", "2015-10-30 22:57:20.033602"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:57:20.036803"], ["updated_at", "2015-10-30 22:57:20.036803"]]  (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", "2015-10-30 22:57:20.039458"], ["updated_at", "2015-10-30 22:57:20.039458"]]  (0.0ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:20.042710"], ["updated_at", "2015-10-30 22:57:20.042710"]] 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", "2015-10-30 22:57:20.044834"], ["updated_at", "2015-10-30 22:57:20.044834"]] 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.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_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:20.052644"], ["updated_at", "2015-10-30 22:57:20.052644"]] 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", "2015-10-30 22:57:20.054084"], ["updated_at", "2015-10-30 22:57:20.054084"]] 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", "LIwaBVohC-6MCOqywZ0XPA"]] 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.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (5.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$XC2RgwxRuk7DtjAaKzVyG.1ZxTEwcE6wgWwkbnbtDH07kbalauCT."], ["remember_token", "6LjHZB_Mtzs3zVsNmuWmwg"], ["created_at", "2015-10-30 22:57:20.078038"], ["updated_at", "2015-10-30 22:57:20.078038"]]  (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", "2015-10-30 22:57:20.082781"], ["updated_at", "2015-10-30 22:57:20.082781"]]  (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", "2015-10-30 22:57:20.086104"], ["updated_at", "2015-10-30 22:57:20.086104"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:20.089521"], ["updated_at", "2015-10-30 22:57:20.089521"]] 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", "2015-10-30 22:57:20.091119"], ["updated_at", "2015-10-30 22:57:20.091119"]] 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.1ms) 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$rGTEnShlFX46OpW5mb16K.5sNYUDjucjmYv6ILxDhdUsiR2c31x7K"], ["remember_token", "kB3SxZ8ggso-xFcTeVmR8Q"], ["created_at", "2015-10-30 22:57:20.096832"], ["updated_at", "2015-10-30 22:57:20.096832"]]  (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", "2015-10-30 22:57:20.098596"], ["updated_at", "2015-10-30 22:57:20.098596"]]  (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", "6LjHZB_Mtzs3zVsNmuWmwg"]] 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.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 articles/show.html.erb within layouts/application (0.4ms) Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 0.5ms)  (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$9/bTUnBFDrohr2F/RNmTpuyzdQ5C4sngTj6uKkDQ/LNhxh/mREUwm"], ["remember_token", "j5zN1XmxPQVzvijs2JzOvA"], ["created_at", "2015-10-30 22:57:20.113656"], ["updated_at", "2015-10-30 22:57:20.113656"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:57:20.124499"], ["updated_at", "2015-10-30 22:57:20.124499"]]  (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", "2015-10-30 22:57:20.127328"], ["updated_at", "2015-10-30 22:57:20.127328"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:20.130601"], ["updated_at", "2015-10-30 22:57:20.130601"]] 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", "2015-10-30 22:57:20.133359"], ["updated_at", "2015-10-30 22:57:20.133359"]] 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.1ms) 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$SKxRMkVgnp6/AdpDu/YOv.CTmntmHhAwLdG.Wg7JjSGHHrAwDPGQO"], ["remember_token", "bl9YqJhM2iuL4Gglbcmo7Q"], ["created_at", "2015-10-30 22:57:20.140573"], ["updated_at", "2015-10-30 22:57:20.140573"]]  (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", "2015-10-30 22:57:20.142163"], ["updated_at", "2015-10-30 22:57:20.142163"]]  (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", "j5zN1XmxPQVzvijs2JzOvA"]] 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.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::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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.7ms)  (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$5DuUZ9z1Xrgwy7xMp5v.a.CLrK8LpRhOfil4HiukaRsDV0N9MD2La"], ["remember_token", "OSZRe4OenqQIdrO0p1lmHQ"], ["created_at", "2015-10-30 22:57:20.156236"], ["updated_at", "2015-10-30 22:57:20.156236"]]  (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", "2015-10-30 22:57:20.159209"], ["updated_at", "2015-10-30 22:57:20.159209"]]  (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", "2015-10-30 22:57:20.161709"], ["updated_at", "2015-10-30 22:57:20.161709"]]  (0.0ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:20.167313"], ["updated_at", "2015-10-30 22:57:20.167313"]] 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", "2015-10-30 22:57:20.170014"], ["updated_at", "2015-10-30 22:57:20.170014"]] Adeia::Action Load (0.3ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (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 1 [["remember_token", "OSZRe4OenqQIdrO0p1lmHQ"]] 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" = 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.3ms) Completed 200 OK in 7ms (Views: 3.2ms | ActiveRecord: 0.6ms)  (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$Gcj/KbilfoaPywdPXIX17eWaYlU13mVAiUSI4bN.ZCDtzrpMVdPni"], ["remember_token", "c1a6bGOZeDf3Ac367DsNdA"], ["created_at", "2015-10-30 22:57:20.188154"], ["updated_at", "2015-10-30 22:57:20.188154"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:57:20.191316"], ["updated_at", "2015-10-30 22:57:20.191316"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:20.193935"], ["updated_at", "2015-10-30 22:57:20.193935"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:20.199578"], ["updated_at", "2015-10-30 22:57:20.199578"]] 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", "2015-10-30 22:57:20.201319"], ["updated_at", "2015-10-30 22:57:20.201319"]] 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.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$iGysbgHY3DDbSZITY1dZM.0hNdQ7As.UAQe2y/0jycRV/qwx8NDvm"], ["remember_token", "EQJ7q-rYMW-TdXjOYC7CZA"], ["created_at", "2015-10-30 22:57:20.207739"], ["updated_at", "2015-10-30 22:57:20.207739"]]  (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", 2], ["created_at", "2015-10-30 22:57:20.209382"], ["updated_at", "2015-10-30 22:57:20.209382"]]  (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", "c1a6bGOZeDf3Ac367DsNdA"]] 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.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.5ms) Completed 200 OK in 8ms (Views: 3.7ms | ActiveRecord: 0.7ms)  (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$AAWsKsuIyt4PZ9b6e7ch.OOrJauvkSc9pgsOtD1F.bKjS6y4gTkl2"], ["remember_token", "UekcUyQLhIq87r4TBPZHaA"], ["created_at", "2015-10-30 22:57:20.225057"], ["updated_at", "2015-10-30 22:57:20.225057"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:57:20.228097"], ["updated_at", "2015-10-30 22:57:20.228097"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:20.230833"], ["updated_at", "2015-10-30 22:57:20.230833"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:20.234078"], ["updated_at", "2015-10-30 22:57:20.234078"]] 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", "2015-10-30 22:57:20.235385"], ["updated_at", "2015-10-30 22:57:20.235385"]] 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.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$U/d6BN19df2MLSSW.LJ4YOyF2ZP7ex9Rrni9RXudKRXcNNHARAwrC"], ["remember_token", "gA4xmZVPLERBYRrvU7TCNw"], ["created_at", "2015-10-30 22:57:20.241064"], ["updated_at", "2015-10-30 22:57:20.241064"]]  (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", "2015-10-30 22:57:20.242883"], ["updated_at", "2015-10-30 22:57:20.242883"]]  (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", "UekcUyQLhIq87r4TBPZHaA"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:57:20.254652"], ["updated_at", "2015-10-30 22:57:20.254652"]]  (0.0ms) 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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 22:57:20.257223"], ["updated_at", "2015-10-30 22:57:20.257223"]]  (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", "2015-10-30 22:57:20.260616"], ["updated_at", "2015-10-30 22:57:20.260616"]]  (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 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:57:20.268176"], ["updated_at", "2015-10-30 22:57:20.268176"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:20.270650"], ["updated_at", "2015-10-30 22:57:20.270650"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 22:57:20.293226"], ["updated_at", "2015-10-30 22:57:20.293226"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:20.295935"], ["updated_at", "2015-10-30 22:57:20.295935"]]  (0.0ms) 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 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", "2015-10-30 22:57:20.303541"], ["updated_at", "2015-10-30 22:57:20.303541"]]  (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", "2015-10-30 22:57:20.305799"], ["updated_at", "2015-10-30 22:57:20.305799"]]  (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", "2015-10-30 22:57:20.308391"], ["updated_at", "2015-10-30 22:57:20.308391"]]  (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", "2015-10-30 22:57:20.316068"], ["updated_at", "2015-10-30 22:57:20.316068"]]  (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", "2015-10-30 22:57:20.318547"], ["updated_at", "2015-10-30 22:57:20.318547"]]  (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", "2015-10-30 22:57:20.321358"], ["updated_at", "2015-10-30 22:57:20.321358"]]  (0.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:57:20.330142"], ["updated_at", "2015-10-30 22:57:20.330142"]]  (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", "2015-10-30 22:57:20.332423"], ["updated_at", "2015-10-30 22:57:20.332423"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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 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 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:57:38.634643"], ["updated_at", "2015-10-30 22:57:38.634643"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 22:57:38.693922"], ["updated_at", "2015-10-30 22:57:38.693922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-30 22:57:38.711678"], ["updated_at", "2015-10-30 22:57:38.711678"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:38.753981"], ["updated_at", "2015-10-30 22:57:38.753981"]] 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", "2015-10-30 22:57:38.756529"], ["updated_at", "2015-10-30 22:57:38.756529"]] 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) 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.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" = 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.3ms) 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", "2015-10-30 22:57:38.803842"], ["updated_at", "2015-10-30 22:57:38.803842"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:38.806650"], ["updated_at", "2015-10-30 22:57:38.806650"]]  (0.0ms) 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", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 22:57:38.812637"], ["updated_at", "2015-10-30 22:57:38.812637"]] 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", "2015-10-30 22:57:38.815523"], ["updated_at", "2015-10-30 22:57:38.815523"]] 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" = 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"]]  (0.9ms) 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", "2015-10-30 22:57:38.827379"], ["updated_at", "2015-10-30 22:57:38.827379"]]  (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", "2015-10-30 22:57:38.831635"], ["updated_at", "2015-10-30 22:57:38.831635"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:38.836810"], ["updated_at", "2015-10-30 22:57:38.836810"]] 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", "2015-10-30 22:57:38.838330"], ["updated_at", "2015-10-30 22:57:38.838330"]] 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.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" = 1003  (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"."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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:57:38.851167"], ["updated_at", "2015-10-30 22:57:38.851167"]]  (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", "2015-10-30 22:57:38.854238"], ["updated_at", "2015-10-30 22:57:38.854238"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:38.859112"], ["updated_at", "2015-10-30 22:57:38.859112"]] 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", "2015-10-30 22:57:38.861075"], ["updated_at", "2015-10-30 22:57:38.861075"]] 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.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" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (0.7ms) 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", "2015-10-30 22:57:38.872266"], ["updated_at", "2015-10-30 22:57:38.872266"]]  (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", "2015-10-30 22:57:38.875380"], ["updated_at", "2015-10-30 22:57:38.875380"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:38.879443"], ["updated_at", "2015-10-30 22:57:38.879443"]] 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", "2015-10-30 22:57:38.880891"], ["updated_at", "2015-10-30 22:57:38.880891"]] 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.1ms) 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"]]  (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", "2015-10-30 22:57:38.890301"], ["updated_at", "2015-10-30 22:57:38.890301"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:38.893742"], ["updated_at", "2015-10-30 22:57:38.893742"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:38.896983"], ["updated_at", "2015-10-30 22:57:38.896983"]] 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", "2015-10-30 22:57:38.900506"], ["updated_at", "2015-10-30 22:57:38.900506"]] 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.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" = 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:57:38.913709"], ["updated_at", "2015-10-30 22:57:38.913709"]]  (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", "2015-10-30 22:57:38.917675"], ["updated_at", "2015-10-30 22:57:38.917675"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:38.921422"], ["updated_at", "2015-10-30 22:57:38.921422"]] 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", "2015-10-30 22:57:38.923053"], ["updated_at", "2015-10-30 22:57:38.923053"]] 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" = 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"."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.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" = 1007 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.4ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:57:38.935311"], ["updated_at", "2015-10-30 22:57:38.935311"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:38.937939"], ["updated_at", "2015-10-30 22:57:38.937939"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:38.942059"], ["updated_at", "2015-10-30 22:57:38.942059"]] 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", "2015-10-30 22:57:38.943423"], ["updated_at", "2015-10-30 22:57:38.943423"]] 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" = 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.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" = 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", "2015-10-30 22:57:38.957930"], ["updated_at", "2015-10-30 22:57:38.957930"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:38.960743"], ["updated_at", "2015-10-30 22:57:38.960743"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 22:57:38.964976"], ["updated_at", "2015-10-30 22:57:38.964976"]] 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", "2015-10-30 22:57:38.966461"], ["updated_at", "2015-10-30 22:57:38.966461"]] 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.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"."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.1ms) 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"]]  (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", "2015-10-30 22:57:38.979371"], ["updated_at", "2015-10-30 22:57:38.979371"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:38.982654"], ["updated_at", "2015-10-30 22:57:38.982654"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:38.987312"], ["updated_at", "2015-10-30 22:57:38.987312"]] 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", "2015-10-30 22:57:38.989171"], ["updated_at", "2015-10-30 22:57:38.989171"]] 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" = 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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-30 22:57:39.002676"], ["updated_at", "2015-10-30 22:57:39.002676"]]  (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", "2015-10-30 22:57:39.012828"], ["updated_at", "2015-10-30 22:57:39.012828"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:39.016883"], ["updated_at", "2015-10-30 22:57:39.016883"]] 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", "2015-10-30 22:57:39.019023"], ["updated_at", "2015-10-30 22:57:39.019023"]] 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  (0.0ms) ROLLBACK TO 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", "2015-10-30 22:57:39.028360"], ["updated_at", "2015-10-30 22:57:39.028360"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:39.031121"], ["updated_at", "2015-10-30 22:57:39.031121"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:39.037312"], ["updated_at", "2015-10-30 22:57:39.037312"]] 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", "2015-10-30 22:57:39.038872"], ["updated_at", "2015-10-30 22:57:39.038872"]] 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.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" = 1012 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" = 1012 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:57:39.049781"], ["updated_at", "2015-10-30 22:57:39.049781"]]  (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", "2015-10-30 22:57:39.054046"], ["updated_at", "2015-10-30 22:57:39.054046"]]  (0.0ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:39.057879"], ["updated_at", "2015-10-30 22:57:39.057879"]] 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", "2015-10-30 22:57:39.059774"], ["updated_at", "2015-10-30 22:57:39.059774"]] 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" = 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"."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.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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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", "2015-10-30 22:57:39.078187"], ["updated_at", "2015-10-30 22:57:39.078187"]]  (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", "2015-10-30 22:57:39.081391"], ["updated_at", "2015-10-30 22:57:39.081391"]]  (0.3ms) 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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:39.086581"], ["updated_at", "2015-10-30 22:57:39.086581"]] 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", "2015-10-30 22:57:39.087918"], ["updated_at", "2015-10-30 22:57:39.087918"]] 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" = 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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:57:39.099703"], ["updated_at", "2015-10-30 22:57:39.099703"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:39.102241"], ["updated_at", "2015-10-30 22:57:39.102241"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:39.105299"], ["updated_at", "2015-10-30 22:57:39.105299"]] 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", "2015-10-30 22:57:39.107821"], ["updated_at", "2015-10-30 22:57:39.107821"]] 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" = 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.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", "2015-10-30 22:57:39.120193"], ["updated_at", "2015-10-30 22:57:39.120193"]]  (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", "2015-10-30 22:57:39.123954"], ["updated_at", "2015-10-30 22:57:39.123954"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:39.128231"], ["updated_at", "2015-10-30 22:57:39.128231"]] 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", "2015-10-30 22:57:39.129720"], ["updated_at", "2015-10-30 22:57:39.129720"]] 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" = 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.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" = 1020 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 22:57:39.142056"], ["updated_at", "2015-10-30 22:57:39.142056"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:39.144575"], ["updated_at", "2015-10-30 22:57:39.144575"]]  (0.0ms) 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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:39.149456"], ["updated_at", "2015-10-30 22:57:39.149456"]] 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", "2015-10-30 22:57:39.151885"], ["updated_at", "2015-10-30 22:57:39.151885"]] 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.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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 22:57:39.168906"], ["updated_at", "2015-10-30 22:57:39.168906"]]  (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", "2015-10-30 22:57:39.173216"], ["updated_at", "2015-10-30 22:57:39.173216"]]  (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", "2015-10-30 22:57:39.177427"], ["updated_at", "2015-10-30 22:57:39.177427"]]  (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", "2015-10-30 22:57:39.179686"], ["updated_at", "2015-10-30 22:57:39.179686"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:39.182816"], ["updated_at", "2015-10-30 22:57:39.182816"]] 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", "2015-10-30 22:57:39.184278"], ["updated_at", "2015-10-30 22:57:39.184278"]] 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" = 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"."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.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$qWrszWsvcONhYcmOgFJ3p.5KTL9cV3PQWCbz/e8Sluk/6f7dxvbxO"], ["remember_token", "TZcfs0wOTeM8tpsFlCnntQ"], ["created_at", "2015-10-30 22:57:39.207390"], ["updated_at", "2015-10-30 22:57:39.207390"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:57:39.211930"], ["updated_at", "2015-10-30 22:57:39.211930"]]  (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", "2015-10-30 22:57:39.214698"], ["updated_at", "2015-10-30 22:57:39.214698"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:39.217920"], ["updated_at", "2015-10-30 22:57:39.217920"]] 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", "2015-10-30 22:57:39.219240"], ["updated_at", "2015-10-30 22:57:39.219240"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "TZcfs0wOTeM8tpsFlCnntQ"]] 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" = 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" = 'articles' [["read_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"."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 20ms (Views: 13.2ms | ActiveRecord: 0.9ms)  (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$M/HX8fu4No3D4YdVK4nxBeOoSDUkXzMQWw/vFyB6r5OuVeWNQJ8kq"], ["remember_token", "Ys1uczgNhBwKwK8vOhg9sw"], ["created_at", "2015-10-30 22:57:39.251342"], ["updated_at", "2015-10-30 22:57:39.251342"]]  (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", "2015-10-30 22:57:39.254753"], ["updated_at", "2015-10-30 22:57:39.254753"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:39.257509"], ["updated_at", "2015-10-30 22:57:39.257509"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:39.261446"], ["updated_at", "2015-10-30 22:57:39.261446"]] 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", "2015-10-30 22:57:39.262728"], ["updated_at", "2015-10-30 22:57:39.262728"]] 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 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "Ys1uczgNhBwKwK8vOhg9sw"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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$V6ShqsXVsViBG54BKAUoJ./qfnk498GcN5msQqQgpgcjkkHvAfGEy"], ["remember_token", "MHM92PT6MjLuFa1rzhcTkA"], ["created_at", "2015-10-30 22:57:39.278524"], ["updated_at", "2015-10-30 22:57:39.278524"]]  (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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:57:39.281841"], ["updated_at", "2015-10-30 22:57:39.281841"]]  (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", "2015-10-30 22:57:39.286475"], ["updated_at", "2015-10-30 22:57:39.286475"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:39.296522"], ["updated_at", "2015-10-30 22:57:39.296522"]] 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", "2015-10-30 22:57:39.297980"], ["updated_at", "2015-10-30 22:57:39.297980"]] 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.2ms) 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$GGuHKMeiczjC2/kmBawfBuanrfkJc9fEhiocY.uEtcJ4l5x3J8vAK"], ["remember_token", "emLcpA8X6I2KuBQcIjs0DA"], ["created_at", "2015-10-30 22:57:39.309093"], ["updated_at", "2015-10-30 22:57:39.309093"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", "2015-10-30 22:57:39.311483"], ["updated_at", "2015-10-30 22:57:39.311483"]]  (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", "2015-10-30 22:57:39.314559"], ["updated_at", "2015-10-30 22:57:39.314559"]]  (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", "2015-10-30 22:57:39.316603"], ["updated_at", "2015-10-30 22:57:39.316603"]]  (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", "2015-10-30 22:57:39.318372"], ["updated_at", "2015-10-30 22:57:39.318372"]]  (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", "2015-10-30 22:57:39.320173"], ["updated_at", "2015-10-30 22:57:39.320173"]]  (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", "MHM92PT6MjLuFa1rzhcTkA"]] 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 5ms (Views: 1.1ms | 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$xz6AJwGhgLydq1nTvA9oo.XrQ4vwbS0EUKoSpET7Mzu09wWPZhDgq"], ["remember_token", "LC60nEZCdG_ONKkp6qD5oQ"], ["created_at", "2015-10-30 22:57:39.335705"], ["updated_at", "2015-10-30 22:57:39.335705"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:57:39.339173"], ["updated_at", "2015-10-30 22:57:39.339173"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:39.342415"], ["updated_at", "2015-10-30 22:57:39.342415"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:39.345556"], ["updated_at", "2015-10-30 22:57:39.345556"]] 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", "2015-10-30 22:57:39.346883"], ["updated_at", "2015-10-30 22:57:39.346883"]] 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.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", "2015-10-30 22:57:39.350167"], ["updated_at", "2015-10-30 22:57:39.350167"]]  (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", "2015-10-30 22:57:39.351939"], ["updated_at", "2015-10-30 22:57:39.351939"]]  (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", "2015-10-30 22:57:39.353547"], ["updated_at", "2015-10-30 22:57:39.353547"]]  (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", "2015-10-30 22:57:39.355084"], ["updated_at", "2015-10-30 22:57:39.355084"]]  (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", "2015-10-30 22:57:39.356605"], ["updated_at", "2015-10-30 22:57:39.356605"]]  (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$HiDpz810j/iZYN0Zno2tr.8BnpqVL63JRhwvNlYh2leaoqnAwQ5Q."], ["remember_token", "tBFOMNAUx6ntHOyu6aPRyA"], ["created_at", "2015-10-30 22:57:39.361903"], ["updated_at", "2015-10-30 22:57:39.361903"]]  (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", "2015-10-30 22:57:39.364558"], ["updated_at", "2015-10-30 22:57:39.364558"]]  (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", "2015-10-30 22:57:39.367651"], ["updated_at", "2015-10-30 22:57:39.367651"]]  (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", "2015-10-30 22:57:39.371075"], ["updated_at", "2015-10-30 22:57:39.371075"]]  (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", "2015-10-30 22:57:39.373343"], ["updated_at", "2015-10-30 22:57:39.373343"]]  (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", "2015-10-30 22:57:39.375406"], ["updated_at", "2015-10-30 22:57:39.375406"]]  (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", "LC60nEZCdG_ONKkp6qD5oQ"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | 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$Mugl4TUKToetI8Kzf/iimurXoJaXTbTYRVrF5BJIjN9WW2NZGuP7K"], ["remember_token", "jjmZfecqCtCqwsje0C6xgg"], ["created_at", "2015-10-30 22:57:39.388594"], ["updated_at", "2015-10-30 22:57:39.388594"]]  (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", "2015-10-30 22:57:39.392367"], ["updated_at", "2015-10-30 22:57:39.392367"]]  (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", "2015-10-30 22:57:39.395852"], ["updated_at", "2015-10-30 22:57:39.395852"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:39.398859"], ["updated_at", "2015-10-30 22:57:39.398859"]] 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", "2015-10-30 22:57:39.400183"], ["updated_at", "2015-10-30 22:57:39.400183"]] 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 "articles" ("title", "content", "user_id", "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", "2015-10-30 22:57:39.404920"], ["updated_at", "2015-10-30 22:57:39.404920"]]  (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", "2015-10-30 22:57:39.408057"], ["updated_at", "2015-10-30 22:57:39.408057"]]  (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", "2015-10-30 22:57:39.410570"], ["updated_at", "2015-10-30 22:57:39.410570"]]  (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", "2015-10-30 22:57:39.412690"], ["updated_at", "2015-10-30 22:57:39.412690"]]  (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", "2015-10-30 22:57:39.414792"], ["updated_at", "2015-10-30 22:57:39.414792"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$ZeJHUH1lcVIwGfj24zSLQeYvWIDuDohxOMLLS7fgVDt.Z/ulyduW."], ["remember_token", "HosiMoO37Y2Yz3IyVnA2Aw"], ["created_at", "2015-10-30 22:57:39.419911"], ["updated_at", "2015-10-30 22:57:39.419911"]]  (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", "2015-10-30 22:57:39.422066"], ["updated_at", "2015-10-30 22:57:39.422066"]]  (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", "2015-10-30 22:57:39.424547"], ["updated_at", "2015-10-30 22:57:39.424547"]]  (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", "2015-10-30 22:57:39.426566"], ["updated_at", "2015-10-30 22:57:39.426566"]]  (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", "2015-10-30 22:57:39.428314"], ["updated_at", "2015-10-30 22:57:39.428314"]]  (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", "2015-10-30 22:57:39.429994"], ["updated_at", "2015-10-30 22:57:39.429994"]]  (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", "2015-10-30 22:57:39.433520"], ["updated_at", "2015-10-30 22:57:39.433520"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:39.441880"], ["updated_at", "2015-10-30 22:57:39.441880"]] 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", "2015-10-30 22:57:39.444404"], ["updated_at", "2015-10-30 22:57:39.444404"]] 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", "jjmZfecqCtCqwsje0C6xgg"]] 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.1ms | ActiveRecord: 0.6ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (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$JcLNUgvfegW5EAEbycXHyuONQMANAC.kpGS.4UVBvNBvH1pjuJNGK"], ["remember_token", "XhcEcfeAyaDZcnLh0qWTHw"], ["created_at", "2015-10-30 22:57:39.465011"], ["updated_at", "2015-10-30 22:57:39.465011"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$2xwmVJP6T.WCLiRjXo4Y7ONTeI3ZlecjiRoIxUYinPUIYX2J6UiFW"], ["remember_token", "crm4UrSNUkxMENWl2aawhA"], ["created_at", "2015-10-30 22:57:39.471055"], ["updated_at", "2015-10-30 22:57:39.471055"]]  (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", "2015-10-30 22:57:39.473301"], ["updated_at", "2015-10-30 22:57:39.473301"]]  (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", "2015-10-30 22:57:39.475377"], ["updated_at", "2015-10-30 22:57:39.475377"]]  (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", "2015-10-30 22:57:39.477161"], ["updated_at", "2015-10-30 22:57:39.477161"]]  (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", "2015-10-30 22:57:39.478955"], ["updated_at", "2015-10-30 22:57:39.478955"]]  (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", "2015-10-30 22:57:39.480749"], ["updated_at", "2015-10-30 22:57:39.480749"]]  (0.0ms) 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 "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-30 22:57:39.482524"], ["updated_at", "2015-10-30 22:57:39.482524"]]  (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", "2015-10-30 22:57:39.484843"], ["updated_at", "2015-10-30 22:57:39.484843"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:57:39.487623"], ["updated_at", "2015-10-30 22:57:39.487623"]]  (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", "2015-10-30 22:57:39.489884"], ["updated_at", "2015-10-30 22:57:39.489884"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:39.493110"], ["updated_at", "2015-10-30 22:57:39.493110"]] 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", "2015-10-30 22:57:39.495028"], ["updated_at", "2015-10-30 22:57:39.495028"]] 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:39.502114"], ["updated_at", "2015-10-30 22:57:39.502114"]] 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", "2015-10-30 22:57:39.503607"], ["updated_at", "2015-10-30 22:57:39.503607"]] 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", "XhcEcfeAyaDZcnLh0qWTHw"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (1.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$w/CPiDAxZTrkVmt8jOpCgO.kvhh/1DpThBWtL/6MxwqbJSlaGYN/i"], ["remember_token", "eoIPdo6RjikM9OZRwqoQ3w"], ["created_at", "2015-10-30 22:57:39.520950"], ["updated_at", "2015-10-30 22:57:39.520950"]]  (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", "2015-10-30 22:57:39.525533"], ["updated_at", "2015-10-30 22:57:39.525533"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:39.528381"], ["updated_at", "2015-10-30 22:57:39.528381"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:39.531425"], ["updated_at", "2015-10-30 22:57:39.531425"]] 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", "2015-10-30 22:57:39.532762"], ["updated_at", "2015-10-30 22:57:39.532762"]] 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.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$SRF//bGkbSO2MA1uw3hFmu8Bz2B50deilyZviDps2KGEBfZTQnqde"], ["remember_token", "AphP2IQ4rIlmQY0yJxzm4Q"], ["created_at", "2015-10-30 22:57:39.538992"], ["updated_at", "2015-10-30 22:57:39.538992"]]  (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", "2015-10-30 22:57:39.540830"], ["updated_at", "2015-10-30 22:57:39.540830"]]  (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", "eoIPdo6RjikM9OZRwqoQ3w"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 7ms (Views: 2.7ms | ActiveRecord: 0.5ms)  (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$KAxiLiFZS5rV/jvFEZSo6Osx/.2td7CmoT2jrFqbG.VQtthSw9jIq"], ["remember_token", "LMY_kWmhk-AHdDEONTfQqg"], ["created_at", "2015-10-30 22:57:39.555516"], ["updated_at", "2015-10-30 22:57:39.555516"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:57:39.566078"], ["updated_at", "2015-10-30 22:57:39.566078"]]  (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", "2015-10-30 22:57:39.570215"], ["updated_at", "2015-10-30 22:57:39.570215"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:39.575625"], ["updated_at", "2015-10-30 22:57:39.575625"]] 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", "2015-10-30 22:57:39.577831"], ["updated_at", "2015-10-30 22:57:39.577831"]] 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.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$.YlpulGEVnvCLlnY53zzMOTffOmxkyov.nWgGacHtn7pT7VRwlIWe"], ["remember_token", "nMZMZiHFpe1w1ClGjhe50Q"], ["created_at", "2015-10-30 22:57:39.585863"], ["updated_at", "2015-10-30 22:57:39.585863"]]  (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", "2015-10-30 22:57:39.587948"], ["updated_at", "2015-10-30 22:57:39.587948"]]  (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 1 [["remember_token", "LMY_kWmhk-AHdDEONTfQqg"]] 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.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 articles/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (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$QdvJTOiOTgR8FWXrL.PJM.QoOc5gwznqiuFUuOneZ1PC.efymnBmq"], ["remember_token", "-Bljw0SQUaU-q0cFEX98ng"], ["created_at", "2015-10-30 22:57:39.601502"], ["updated_at", "2015-10-30 22:57:39.601502"]]  (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", "2015-10-30 22:57:39.604969"], ["updated_at", "2015-10-30 22:57:39.604969"]]  (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", "2015-10-30 22:57:39.607884"], ["updated_at", "2015-10-30 22:57:39.607884"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:39.611115"], ["updated_at", "2015-10-30 22:57:39.611115"]] 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", "2015-10-30 22:57:39.612493"], ["updated_at", "2015-10-30 22:57:39.612493"]] 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 Processing by ArticlesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "-Bljw0SQUaU-q0cFEX98ng"]] 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 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"."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 10ms (Views: 4.0ms | ActiveRecord: 0.9ms)  (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$0SvRs1FkVfO5woWhrvFi8eLWEFf3pT5xJNBcD.GneFn7e3vpq501a"], ["remember_token", "ZNCtMsArqVny5MPn36s-bQ"], ["created_at", "2015-10-30 22:57:39.633665"], ["updated_at", "2015-10-30 22:57:39.633665"]]  (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", "2015-10-30 22:57:39.637741"], ["updated_at", "2015-10-30 22:57:39.637741"]]  (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", "2015-10-30 22:57:39.640951"], ["updated_at", "2015-10-30 22:57:39.640951"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:39.644095"], ["updated_at", "2015-10-30 22:57:39.644095"]] 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", "2015-10-30 22:57:39.645379"], ["updated_at", "2015-10-30 22:57:39.645379"]] 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.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$svNxjEkgQrQQeVju2OhtreggnWMq2qZHudFGlFiCBXdssLiiSlSLC"], ["remember_token", "Djg1SDOdyl5XQsOPipeevA"], ["created_at", "2015-10-30 22:57:39.650953"], ["updated_at", "2015-10-30 22:57:39.650953"]]  (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", "2015-10-30 22:57:39.652562"], ["updated_at", "2015-10-30 22:57:39.652562"]]  (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", "ZNCtMsArqVny5MPn36s-bQ"]] 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.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.3ms) Completed 200 OK in 7ms (Views: 2.7ms | ActiveRecord: 0.6ms)  (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$Ol1JbNQJ2ByaY7M4fv1Cb.ey2tlPHRh6mZrGQlONU3XW0y2XAfMDu"], ["remember_token", "LVtMfjbY9ty-ImSprXidqw"], ["created_at", "2015-10-30 22:57:39.666423"], ["updated_at", "2015-10-30 22:57:39.666423"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 22:57:39.669361"], ["updated_at", "2015-10-30 22:57:39.669361"]]  (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", "2015-10-30 22:57:39.671833"], ["updated_at", "2015-10-30 22:57:39.671833"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 22:57:39.675226"], ["updated_at", "2015-10-30 22:57:39.675226"]] 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", "2015-10-30 22:57:39.676542"], ["updated_at", "2015-10-30 22:57:39.676542"]] 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 User Load (0.1ms) 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$cmqKUWBrSh1hOkH.k4MKJuwjwBmKMsNBjhfva79wl2v3ripTen7m6"], ["remember_token", "3QsjvJghsN9YNonJ0fAULw"], ["created_at", "2015-10-30 22:57:39.685157"], ["updated_at", "2015-10-30 22:57:39.685157"]]  (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", "2015-10-30 22:57:39.687581"], ["updated_at", "2015-10-30 22:57:39.687581"]]  (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", "LVtMfjbY9ty-ImSprXidqw"]] 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"."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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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", "2015-10-30 22:57:39.701531"], ["updated_at", "2015-10-30 22:57:39.701531"]]  (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", "2015-10-30 22:57:39.704496"], ["updated_at", "2015-10-30 22:57:39.704496"]]  (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", "2015-10-30 22:57:39.707877"], ["updated_at", "2015-10-30 22:57:39.707877"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:57:39.714152"], ["updated_at", "2015-10-30 22:57:39.714152"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 22:57:39.716615"], ["updated_at", "2015-10-30 22:57:39.716615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 22:57:39.739107"], ["updated_at", "2015-10-30 22:57:39.739107"]]  (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", "2015-10-30 22:57:39.742065"], ["updated_at", "2015-10-30 22:57:39.742065"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:57:39.749033"], ["updated_at", "2015-10-30 22:57:39.749033"]]  (0.0ms) 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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 22:57:39.751259"], ["updated_at", "2015-10-30 22:57:39.751259"]]  (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", "2015-10-30 22:57:39.754132"], ["updated_at", "2015-10-30 22:57:39.754132"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 22:57:39.761208"], ["updated_at", "2015-10-30 22:57:39.761208"]]  (0.0ms) 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", "2015-10-30 22:57:39.763328"], ["updated_at", "2015-10-30 22:57:39.763328"]]  (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", "2015-10-30 22:57:39.765740"], ["updated_at", "2015-10-30 22:57:39.765740"]]  (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", "2015-10-30 22:57:39.772101"], ["updated_at", "2015-10-30 22:57:39.772101"]]  (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", "2015-10-30 22:57:39.775067"], ["updated_at", "2015-10-30 22:57:39.775067"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.8ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:06:09.190500"], ["updated_at", "2015-10-30 23:06:09.190500"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.8ms) 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", "2015-10-30 23:06:09.221412"], ["updated_at", "2015-10-30 23:06:09.221412"]]  (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", "2015-10-30 23:06:09.234922"], ["updated_at", "2015-10-30 23:06:09.234922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:09.280079"], ["updated_at", "2015-10-30 23:06:09.280079"]] 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", "2015-10-30 23:06:09.283036"], ["updated_at", "2015-10-30 23:06:09.283036"]] 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.2ms) 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:06:09.335681"], ["updated_at", "2015-10-30 23:06:09.335681"]]  (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", "2015-10-30 23:06:09.340263"], ["updated_at", "2015-10-30 23:06:09.340263"]]  (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", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:06:09.345112"], ["updated_at", "2015-10-30 23:06:09.345112"]] 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", "2015-10-30 23:06:09.346451"], ["updated_at", "2015-10-30 23:06:09.346451"]] 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" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1002 AND "adeia_elements"."name" = 'admin/articles' [["create_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", "2015-10-30 23:06:09.358895"], ["updated_at", "2015-10-30 23:06:09.358895"]]  (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", "2015-10-30 23:06:09.362835"], ["updated_at", "2015-10-30 23:06:09.362835"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:09.367098"], ["updated_at", "2015-10-30 23:06:09.367098"]] 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", "2015-10-30 23:06:09.368640"], ["updated_at", "2015-10-30 23:06:09.368640"]] 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" = 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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.2ms) 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", "2015-10-30 23:06:09.382175"], ["updated_at", "2015-10-30 23:06:09.382175"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:06:09.384738"], ["updated_at", "2015-10-30 23:06:09.384738"]]  (0.0ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:09.388965"], ["updated_at", "2015-10-30 23:06:09.388965"]] 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", "2015-10-30 23:06:09.391180"], ["updated_at", "2015-10-30 23:06:09.391180"]] 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.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" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.2ms) 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", "2015-10-30 23:06:09.404495"], ["updated_at", "2015-10-30 23:06:09.404495"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:06:09.407108"], ["updated_at", "2015-10-30 23:06:09.407108"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:09.411102"], ["updated_at", "2015-10-30 23:06:09.411102"]] 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", "2015-10-30 23:06:09.412840"], ["updated_at", "2015-10-30 23:06:09.412840"]] 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.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" = 1005 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (0.9ms) 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", "2015-10-30 23:06:09.423294"], ["updated_at", "2015-10-30 23:06:09.423294"]]  (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", "2015-10-30 23:06:09.426710"], ["updated_at", "2015-10-30 23:06:09.426710"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:09.430357"], ["updated_at", "2015-10-30 23:06:09.430357"]] 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", "2015-10-30 23:06:09.431818"], ["updated_at", "2015-10-30 23:06:09.431818"]] 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.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.1ms) 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"]]  (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", "2015-10-30 23:06:09.444166"], ["updated_at", "2015-10-30 23:06:09.444166"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:06:09.447091"], ["updated_at", "2015-10-30 23:06:09.447091"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:09.450921"], ["updated_at", "2015-10-30 23:06:09.450921"]] 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", "2015-10-30 23:06:09.452424"], ["updated_at", "2015-10-30 23:06:09.452424"]] 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" = 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"."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"]]  (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", "2015-10-30 23:06:09.462721"], ["updated_at", "2015-10-30 23:06:09.462721"]]  (0.0ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:06:09.466460"], ["updated_at", "2015-10-30 23:06:09.466460"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:09.471463"], ["updated_at", "2015-10-30 23:06:09.471463"]] 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", "2015-10-30 23:06:09.472834"], ["updated_at", "2015-10-30 23:06:09.472834"]] 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" = 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"]]  (1.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:06:09.486676"], ["updated_at", "2015-10-30 23:06:09.486676"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:06:09.489362"], ["updated_at", "2015-10-30 23:06:09.489362"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:06:09.493104"], ["updated_at", "2015-10-30 23:06:09.493104"]] 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", "2015-10-30 23:06:09.494934"], ["updated_at", "2015-10-30 23:06:09.494934"]] 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" = 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"."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.2ms) 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:06:09.507641"], ["updated_at", "2015-10-30 23:06:09.507641"]]  (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", "2015-10-30 23:06:09.511076"], ["updated_at", "2015-10-30 23:06:09.511076"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:09.514906"], ["updated_at", "2015-10-30 23:06:09.514906"]] 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", "2015-10-30 23:06:09.516277"], ["updated_at", "2015-10-30 23:06:09.516277"]] 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" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-30 23:06:09.528490"], ["updated_at", "2015-10-30 23:06:09.528490"]]  (0.5ms) 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", "2015-10-30 23:06:09.540801"], ["updated_at", "2015-10-30 23:06:09.540801"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:09.546153"], ["updated_at", "2015-10-30 23:06:09.546153"]] 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", "2015-10-30 23:06:09.547584"], ["updated_at", "2015-10-30 23:06:09.547584"]] 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.2ms) 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", "2015-10-30 23:06:09.559504"], ["updated_at", "2015-10-30 23:06:09.559504"]]  (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", "2015-10-30 23:06:09.563953"], ["updated_at", "2015-10-30 23:06:09.563953"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:09.568515"], ["updated_at", "2015-10-30 23:06:09.568515"]] 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", "2015-10-30 23:06:09.570051"], ["updated_at", "2015-10-30 23:06:09.570051"]] 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" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1012 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:06:09.580571"], ["updated_at", "2015-10-30 23:06:09.580571"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:06:09.583502"], ["updated_at", "2015-10-30 23:06:09.583502"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:09.586867"], ["updated_at", "2015-10-30 23:06:09.586867"]] 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", "2015-10-30 23:06:09.589196"], ["updated_at", "2015-10-30 23:06:09.589196"]] 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" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_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", "2015-10-30 23:06:09.605300"], ["updated_at", "2015-10-30 23:06:09.605300"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:06:09.608688"], ["updated_at", "2015-10-30 23:06:09.608688"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:09.617173"], ["updated_at", "2015-10-30 23:06:09.617173"]] 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", "2015-10-30 23:06:09.619931"], ["updated_at", "2015-10-30 23:06:09.619931"]] 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" = 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.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" = 1016 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", "2015-10-30 23:06:09.633412"], ["updated_at", "2015-10-30 23:06:09.633412"]]  (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.8ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:06:09.636065"], ["updated_at", "2015-10-30 23:06:09.636065"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:09.644611"], ["updated_at", "2015-10-30 23:06:09.644611"]] 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", "2015-10-30 23:06:09.646911"], ["updated_at", "2015-10-30 23:06:09.646911"]] 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" = 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.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" = 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", "2015-10-30 23:06:09.659982"], ["updated_at", "2015-10-30 23:06:09.659982"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:06:09.663031"], ["updated_at", "2015-10-30 23:06:09.663031"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:09.667084"], ["updated_at", "2015-10-30 23:06:09.667084"]] 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", "2015-10-30 23:06:09.668650"], ["updated_at", "2015-10-30 23:06:09.668650"]] 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.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.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" = 1020 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" = 1020 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:06:09.682648"], ["updated_at", "2015-10-30 23:06:09.682648"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:06:09.685167"], ["updated_at", "2015-10-30 23:06:09.685167"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:09.690585"], ["updated_at", "2015-10-30 23:06:09.690585"]] 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", "2015-10-30 23:06:09.692459"], ["updated_at", "2015-10-30 23:06:09.692459"]] 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.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" = 1022 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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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", "2015-10-30 23:06:09.707432"], ["updated_at", "2015-10-30 23:06:09.707432"]]  (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", "2015-10-30 23:06:09.712065"], ["updated_at", "2015-10-30 23:06:09.712065"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:06:09.716619"], ["updated_at", "2015-10-30 23:06:09.716619"]]  (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", "2015-10-30 23:06:09.719408"], ["updated_at", "2015-10-30 23:06:09.719408"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:09.722364"], ["updated_at", "2015-10-30 23:06:09.722364"]] 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", "2015-10-30 23:06:09.723694"], ["updated_at", "2015-10-30 23:06:09.723694"]] 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.3ms) 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" = 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.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$pWLhSOU1t3LGlw/sjF1UOum7h6y1gHFjN/l9HRn2p4S9nM5iLHBZ2"], ["remember_token", "EmmouiAp58WxrY8-231QKQ"], ["created_at", "2015-10-30 23:06:09.749653"], ["updated_at", "2015-10-30 23:06:09.749653"]]  (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", "2015-10-30 23:06:09.754482"], ["updated_at", "2015-10-30 23:06:09.754482"]]  (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", "2015-10-30 23:06:09.757134"], ["updated_at", "2015-10-30 23:06:09.757134"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:09.760102"], ["updated_at", "2015-10-30 23:06:09.760102"]] 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", "2015-10-30 23:06:09.762504"], ["updated_at", "2015-10-30 23:06:09.762504"]] 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.4ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "EmmouiAp58WxrY8-231QKQ"]] 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.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"."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.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"]] 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 25ms (Views: 15.0ms | ActiveRecord: 1.5ms)  (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$2jmHTwk9yofUYyY5pDNkmeiIctNuZNjsnVDTQwPwaAmKb27ycs7Ry"], ["remember_token", "-1SKU9HfMgZsksnW74n-Hg"], ["created_at", "2015-10-30 23:06:09.804397"], ["updated_at", "2015-10-30 23:06:09.804397"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:06:09.807786"], ["updated_at", "2015-10-30 23:06:09.807786"]]  (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", "2015-10-30 23:06:09.810397"], ["updated_at", "2015-10-30 23:06:09.810397"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:09.814496"], ["updated_at", "2015-10-30 23:06:09.814496"]] 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", "2015-10-30 23:06:09.815859"], ["updated_at", "2015-10-30 23:06:09.815859"]] 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", "-1SKU9HfMgZsksnW74n-Hg"]] 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.1ms | 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$oOW9M7.ZuxNVnD3TUjF24O5wbOiL1GncIkt3Mb1R3wPAUGEl.00My"], ["remember_token", "GqDpVN8TXsRPIP3_brukOQ"], ["created_at", "2015-10-30 23:06:09.830820"], ["updated_at", "2015-10-30 23:06:09.830820"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:06:09.834024"], ["updated_at", "2015-10-30 23:06:09.834024"]]  (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", "2015-10-30 23:06:09.837869"], ["updated_at", "2015-10-30 23:06:09.837869"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:09.847952"], ["updated_at", "2015-10-30 23:06:09.847952"]] 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", "2015-10-30 23:06:09.849615"], ["updated_at", "2015-10-30 23:06:09.849615"]] 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.1ms) 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$qY5VOIrQ8SLTqIwa2sRmTO/77mxom.KuxppNXw3//LNjsVfMVkgC."], ["remember_token", "oS5v29p6ubnF67lKz9Cqpw"], ["created_at", "2015-10-30 23:06:09.861673"], ["updated_at", "2015-10-30 23:06:09.861673"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (4.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", "2015-10-30 23:06:09.864289"], ["updated_at", "2015-10-30 23:06:09.864289"]]  (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.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", "2015-10-30 23:06:09.872267"], ["updated_at", "2015-10-30 23:06:09.872267"]]  (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", "2015-10-30 23:06:09.875287"], ["updated_at", "2015-10-30 23:06:09.875287"]]  (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", "2015-10-30 23:06:09.878163"], ["updated_at", "2015-10-30 23:06:09.878163"]]  (0.0ms) 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", "2015-10-30 23:06:09.880208"], ["updated_at", "2015-10-30 23:06:09.880208"]]  (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", "GqDpVN8TXsRPIP3_brukOQ"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | 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$swRV8QVlXTgZ1n6IPuhN7OTaLD/tl7bjARb4qHm9jLBRzRUZYGLKG"], ["remember_token", "2v1JHiR8dhVQ7FKjgeD5lQ"], ["created_at", "2015-10-30 23:06:09.893769"], ["updated_at", "2015-10-30 23:06:09.893769"]]  (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", "2015-10-30 23:06:09.897872"], ["updated_at", "2015-10-30 23:06:09.897872"]]  (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", "2015-10-30 23:06:09.901054"], ["updated_at", "2015-10-30 23:06:09.901054"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:09.904217"], ["updated_at", "2015-10-30 23:06:09.904217"]] 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", "2015-10-30 23:06:09.905589"], ["updated_at", "2015-10-30 23:06:09.905589"]] 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 "articles" ("title", "content", "user_id", "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", "2015-10-30 23:06:09.909467"], ["updated_at", "2015-10-30 23:06:09.909467"]]  (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", "2015-10-30 23:06:09.912709"], ["updated_at", "2015-10-30 23:06:09.912709"]]  (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", "2015-10-30 23:06:09.915446"], ["updated_at", "2015-10-30 23:06:09.915446"]]  (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", "2015-10-30 23:06:09.917828"], ["updated_at", "2015-10-30 23:06:09.917828"]]  (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", "2015-10-30 23:06:09.919706"], ["updated_at", "2015-10-30 23:06:09.919706"]]  (0.2ms) 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$Z/L9M7SzsoKbSJbzSqn4BeiK8nPox7fDiUb58b8rc0/KUtU5dkWKy"], ["remember_token", "GjN-Unc-P8hXDxblUCoLvw"], ["created_at", "2015-10-30 23:06:09.924682"], ["updated_at", "2015-10-30 23:06:09.924682"]]  (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", "2015-10-30 23:06:09.927149"], ["updated_at", "2015-10-30 23:06:09.927149"]]  (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", "2015-10-30 23:06:09.929479"], ["updated_at", "2015-10-30 23:06:09.929479"]]  (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.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", "2015-10-30 23:06:09.931366"], ["updated_at", "2015-10-30 23:06:09.931366"]]  (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", "2015-10-30 23:06:09.935128"], ["updated_at", "2015-10-30 23:06:09.935128"]]  (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", "2015-10-30 23:06:09.938146"], ["updated_at", "2015-10-30 23:06:09.938146"]]  (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", "2v1JHiR8dhVQ7FKjgeD5lQ"]] 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.3ms) 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.1ms | ActiveRecord: 0.8ms) 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$Z3IjaM3WxRjnV1qQojTtO.JNOJnWO7sUTS4nIORQZkHGIkFRrif06"], ["remember_token", "6bPPqepy0LAzK5ZiTrNBfQ"], ["created_at", "2015-10-30 23:06:09.956765"], ["updated_at", "2015-10-30 23:06:09.956765"]]  (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", "2015-10-30 23:06:09.961170"], ["updated_at", "2015-10-30 23:06:09.961170"]]  (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", "2015-10-30 23:06:09.963887"], ["updated_at", "2015-10-30 23:06:09.963887"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:09.966830"], ["updated_at", "2015-10-30 23:06:09.966830"]] 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", "2015-10-30 23:06:09.968140"], ["updated_at", "2015-10-30 23:06:09.968140"]] 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.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", "2015-10-30 23:06:09.972212"], ["updated_at", "2015-10-30 23:06:09.972212"]]  (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", "2015-10-30 23:06:09.974816"], ["updated_at", "2015-10-30 23:06:09.974816"]]  (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", "2015-10-30 23:06:09.976535"], ["updated_at", "2015-10-30 23:06:09.976535"]]  (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", "2015-10-30 23:06:09.978400"], ["updated_at", "2015-10-30 23:06:09.978400"]]  (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", "2015-10-30 23:06:09.980427"], ["updated_at", "2015-10-30 23:06:09.980427"]]  (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$0UGjhAwvHEwy/bGM5rdMUO71.vQn5R6gQxq8T236PuanL/Z4GdUjG"], ["remember_token", "k9t-9qlN_wQzKWmOup35ZA"], ["created_at", "2015-10-30 23:06:09.984334"], ["updated_at", "2015-10-30 23:06:09.984334"]]  (0.2ms) 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", "2015-10-30 23:06:09.986967"], ["updated_at", "2015-10-30 23:06:09.986967"]]  (0.2ms) 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", "2015-10-30 23:06:09.991751"], ["updated_at", "2015-10-30 23:06:09.991751"]]  (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 "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-30 23:06:09.995117"], ["updated_at", "2015-10-30 23:06:09.995117"]]  (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", "2015-10-30 23:06:09.997956"], ["updated_at", "2015-10-30 23:06:09.997956"]]  (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", "2015-10-30 23:06:09.999908"], ["updated_at", "2015-10-30 23:06:09.999908"]]  (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", "2015-10-30 23:06:10.002319"], ["updated_at", "2015-10-30 23:06:10.002319"]]  (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.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_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:10.007743"], ["updated_at", "2015-10-30 23:06:10.007743"]] 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", "2015-10-30 23:06:10.009023"], ["updated_at", "2015-10-30 23:06:10.009023"]] 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 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "6bPPqepy0LAzK5ZiTrNBfQ"]] 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.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.4ms) 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$f8IGhYRnUn4CYzc/m5CgfO7jntEJ5rk0Z/q.FymEspEHLSqKbzLe."], ["remember_token", "0dXVItgvQaca6vMdm2k1wA"], ["created_at", "2015-10-30 23:06:10.025405"], ["updated_at", "2015-10-30 23:06:10.025405"]]  (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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$S.KHyoEBdNjj/GQCvzVM6uSnC7tnGXICH1hJoDDw3HK3CFciywz8O"], ["remember_token", "NnLSclgTQA-pfBkANRwDSg"], ["created_at", "2015-10-30 23:06:10.030080"], ["updated_at", "2015-10-30 23:06:10.030080"]]  (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", "2015-10-30 23:06:10.032576"], ["updated_at", "2015-10-30 23:06:10.032576"]]  (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", "2015-10-30 23:06:10.035118"], ["updated_at", "2015-10-30 23:06:10.035118"]]  (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", "2015-10-30 23:06:10.037159"], ["updated_at", "2015-10-30 23:06:10.037159"]]  (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", "2015-10-30 23:06:10.039476"], ["updated_at", "2015-10-30 23:06:10.039476"]]  (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", "2015-10-30 23:06:10.041348"], ["updated_at", "2015-10-30 23:06:10.041348"]]  (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", "2015-10-30 23:06:10.043643"], ["updated_at", "2015-10-30 23:06:10.043643"]]  (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", "2015-10-30 23:06:10.045906"], ["updated_at", "2015-10-30 23:06:10.045906"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:06:10.048905"], ["updated_at", "2015-10-30 23:06:10.048905"]]  (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", "2015-10-30 23:06:10.051485"], ["updated_at", "2015-10-30 23:06:10.051485"]]  (0.0ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:10.056137"], ["updated_at", "2015-10-30 23:06:10.056137"]] 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", "2015-10-30 23:06:10.059425"], ["updated_at", "2015-10-30 23:06:10.059425"]] 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:10.069518"], ["updated_at", "2015-10-30 23:06:10.069518"]] 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", "2015-10-30 23:06:10.071117"], ["updated_at", "2015-10-30 23:06:10.071117"]] 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", "0dXVItgvQaca6vMdm2k1wA"]] 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: 1.0ms | ActiveRecord: 0.5ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (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$3EeAq4tM3aoi7ICr2ZIWGubbAht3Wa4XhFEwt5RziHfyg7AcVv8P."], ["remember_token", "xAve6bzj7xDdxI8MhA38iw"], ["created_at", "2015-10-30 23:06:10.086274"], ["updated_at", "2015-10-30 23:06:10.086274"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:06:10.089419"], ["updated_at", "2015-10-30 23:06:10.089419"]]  (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", "2015-10-30 23:06:10.092253"], ["updated_at", "2015-10-30 23:06:10.092253"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:10.096549"], ["updated_at", "2015-10-30 23:06:10.096549"]] 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", "2015-10-30 23:06:10.098019"], ["updated_at", "2015-10-30 23:06:10.098019"]] 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.1ms) 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$c6wUUZgyrkxWjFmxLda3IOmWI/.rJ3BgD/zDPfaVFMMTCqoR.Y6qS"], ["remember_token", "5Gz33uP0T5n7-c-oEG3WIA"], ["created_at", "2015-10-30 23:06:10.103590"], ["updated_at", "2015-10-30 23:06:10.103590"]]  (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", "2015-10-30 23:06:10.105264"], ["updated_at", "2015-10-30 23:06:10.105264"]]  (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", "xAve6bzj7xDdxI8MhA38iw"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 8ms (Views: 3.4ms | ActiveRecord: 0.5ms)  (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$EEiplB5gM.n3S03Ajbop0OYdUY.c84xHKvSRPgMQoT7ccVbN2lqT2"], ["remember_token", "dQOm0Vud9sOFEMRo71c47A"], ["created_at", "2015-10-30 23:06:10.120876"], ["updated_at", "2015-10-30 23:06:10.120876"]]  (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", "2015-10-30 23:06:10.130363"], ["updated_at", "2015-10-30 23:06:10.130363"]]  (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", "2015-10-30 23:06:10.133571"], ["updated_at", "2015-10-30 23:06:10.133571"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:10.136939"], ["updated_at", "2015-10-30 23:06:10.136939"]] 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", "2015-10-30 23:06:10.138321"], ["updated_at", "2015-10-30 23:06:10.138321"]] 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.1ms) 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$RJ1XXKv7LLvhCM7oozmKSOtxyo3iPbnacVYJa0cYTLxI5hbLej0Bq"], ["remember_token", "cV0TQ70sogPu87sKuto6Ng"], ["created_at", "2015-10-30 23:06:10.145869"], ["updated_at", "2015-10-30 23:06:10.145869"]]  (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", "2015-10-30 23:06:10.148701"], ["updated_at", "2015-10-30 23:06:10.148701"]]  (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 1 [["remember_token", "dQOm0Vud9sOFEMRo71c47A"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 6ms (Views: 1.3ms | 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$dZb6U2rcXwBI20hwIcIrIO9Yy8ebEwZtt5CxtDtRzhBKGhCnOyDUa"], ["remember_token", "Oy-6KOpcveoQcx3A4V4PgQ"], ["created_at", "2015-10-30 23:06:10.164042"], ["updated_at", "2015-10-30 23:06:10.164042"]]  (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", "2015-10-30 23:06:10.168914"], ["updated_at", "2015-10-30 23:06:10.168914"]]  (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", "2015-10-30 23:06:10.173327"], ["updated_at", "2015-10-30 23:06:10.173327"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:10.176928"], ["updated_at", "2015-10-30 23:06:10.176928"]] 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", "2015-10-30 23:06:10.178519"], ["updated_at", "2015-10-30 23:06:10.178519"]] 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 Processing by ArticlesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "Oy-6KOpcveoQcx3A4V4PgQ"]] 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 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"."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.3ms) Completed 200 OK in 9ms (Views: 3.8ms | ActiveRecord: 0.7ms)  (1.0ms) 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$RGw.C8.KEIaYauR58kVvdeGrY0KAPyPlZHOyUu9QZQ2TEiMYCV8Ti"], ["remember_token", "yNLEMz2ystyrSBNV5nE9KA"], ["created_at", "2015-10-30 23:06:10.201839"], ["updated_at", "2015-10-30 23:06:10.201839"]]  (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", "2015-10-30 23:06:10.207365"], ["updated_at", "2015-10-30 23:06:10.207365"]]  (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", "2015-10-30 23:06:10.210722"], ["updated_at", "2015-10-30 23:06:10.210722"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:10.214221"], ["updated_at", "2015-10-30 23:06:10.214221"]] 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", "2015-10-30 23:06:10.215549"], ["updated_at", "2015-10-30 23:06:10.215549"]] 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.1ms) 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$OnNEWeBRLoMfrjcnGQUW1O7aJugo3ghjqfX7j3yFMcowwkmiRTvSW"], ["remember_token", "HdUV_C92vINgHeg3Cknflw"], ["created_at", "2015-10-30 23:06:10.221400"], ["updated_at", "2015-10-30 23:06:10.221400"]]  (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", "2015-10-30 23:06:10.223104"], ["updated_at", "2015-10-30 23:06:10.223104"]]  (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", "yNLEMz2ystyrSBNV5nE9KA"]] 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.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" = 1 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] Rendered articles/edit.html.erb within layouts/application (0.5ms) Completed 200 OK in 8ms (Views: 3.6ms | ActiveRecord: 0.7ms)  (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$v09Kp8d55M8KcEa.z8h5qegn6lzeKKUw3lARERiFK/Deu45pTt3My"], ["remember_token", "U3suxA6XC4jVMczzOkAtcA"], ["created_at", "2015-10-30 23:06:10.241007"], ["updated_at", "2015-10-30 23:06:10.241007"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:06:10.244788"], ["updated_at", "2015-10-30 23:06:10.244788"]]  (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", "2015-10-30 23:06:10.248797"], ["updated_at", "2015-10-30 23:06:10.248797"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:06:10.252641"], ["updated_at", "2015-10-30 23:06:10.252641"]] 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", "2015-10-30 23:06:10.254015"], ["updated_at", "2015-10-30 23:06:10.254015"]] 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.1ms) 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$hmQ1zUpy7fEKJq6RE9oifuXtv9TXn84xV0c98MhgeUXogm7MP9PCW"], ["remember_token", "8b49kcahJPcyXnOe8uANVA"], ["created_at", "2015-10-30 23:06:10.259972"], ["updated_at", "2015-10-30 23:06:10.259972"]]  (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", "2015-10-30 23:06:10.261774"], ["updated_at", "2015-10-30 23:06:10.261774"]]  (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", "U3suxA6XC4jVMczzOkAtcA"]] 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"."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: 0.9ms | ActiveRecord: 0.5ms)  (3.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:06:10.275811"], ["updated_at", "2015-10-30 23:06:10.275811"]]  (0.0ms) 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", "2015-10-30 23:06:10.278049"], ["updated_at", "2015-10-30 23:06:10.278049"]]  (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", "2015-10-30 23:06:10.280484"], ["updated_at", "2015-10-30 23:06:10.280484"]]  (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 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", "2015-10-30 23:06:10.287891"], ["updated_at", "2015-10-30 23:06:10.287891"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:06:10.290436"], ["updated_at", "2015-10-30 23:06:10.290436"]]  (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 1 [["name", "admin"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:06:10.316222"], ["updated_at", "2015-10-30 23:06:10.316222"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:06:10.318867"], ["updated_at", "2015-10-30 23:06:10.318867"]]  (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 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", "2015-10-30 23:06:10.326868"], ["updated_at", "2015-10-30 23:06:10.326868"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:06:10.329808"], ["updated_at", "2015-10-30 23:06:10.329808"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:06:10.332919"], ["updated_at", "2015-10-30 23:06:10.332919"]]  (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", "2015-10-30 23:06:10.340800"], ["updated_at", "2015-10-30 23:06:10.340800"]]  (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", "2015-10-30 23:06:10.343093"], ["updated_at", "2015-10-30 23:06:10.343093"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:06:10.345882"], ["updated_at", "2015-10-30 23:06:10.345882"]]  (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 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:06:10.353289"], ["updated_at", "2015-10-30 23:06:10.353289"]]  (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", "2015-10-30 23:06:10.355411"], ["updated_at", "2015-10-30 23:06:10.355411"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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 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", "2015-10-30 23:07:26.423889"], ["updated_at", "2015-10-30 23:07:26.423889"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) 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", "2015-10-30 23:07:26.447856"], ["updated_at", "2015-10-30 23:07:26.447856"]]  (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", "2015-10-30 23:07:26.461016"], ["updated_at", "2015-10-30 23:07:26.461016"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:26.506404"], ["updated_at", "2015-10-30 23:07:26.506404"]] 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", "2015-10-30 23:07:26.509408"], ["updated_at", "2015-10-30 23:07:26.509408"]] 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.8ms) SELECT "adeia_groups".* 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:07:26.563282"], ["updated_at", "2015-10-30 23:07:26.563282"]]  (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", "2015-10-30 23:07:26.566261"], ["updated_at", "2015-10-30 23:07:26.566261"]]  (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", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:07:26.570777"], ["updated_at", "2015-10-30 23:07:26.570777"]] 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", "2015-10-30 23:07:26.572153"], ["updated_at", "2015-10-30 23:07:26.572153"]] 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" = 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.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) 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", "2015-10-30 23:07:26.584878"], ["updated_at", "2015-10-30 23:07:26.584878"]]  (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", "2015-10-30 23:07:26.588549"], ["updated_at", "2015-10-30 23:07:26.588549"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:26.593039"], ["updated_at", "2015-10-30 23:07:26.593039"]] 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", "2015-10-30 23:07:26.594718"], ["updated_at", "2015-10-30 23:07:26.594718"]] 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" = 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"."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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:07:26.605611"], ["updated_at", "2015-10-30 23:07:26.605611"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:07:26.608212"], ["updated_at", "2015-10-30 23:07:26.608212"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:26.611756"], ["updated_at", "2015-10-30 23:07:26.611756"]] 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", "2015-10-30 23:07:26.613450"], ["updated_at", "2015-10-30 23:07:26.613450"]] 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.2ms) 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", "2015-10-30 23:07:26.627536"], ["updated_at", "2015-10-30 23:07:26.627536"]]  (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", "2015-10-30 23:07:26.631476"], ["updated_at", "2015-10-30 23:07:26.631476"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:26.635755"], ["updated_at", "2015-10-30 23:07:26.635755"]] 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", "2015-10-30 23:07:26.637440"], ["updated_at", "2015-10-30 23:07:26.637440"]] 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.1ms) 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"]]  (0.9ms) 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", "2015-10-30 23:07:26.647862"], ["updated_at", "2015-10-30 23:07:26.647862"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:07:26.651821"], ["updated_at", "2015-10-30 23:07:26.651821"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:26.656400"], ["updated_at", "2015-10-30 23:07:26.656400"]] 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", "2015-10-30 23:07:26.658193"], ["updated_at", "2015-10-30 23:07:26.658193"]] 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.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" = 'User' AND "adeia_permissions"."owner_id" = 1006 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (1.2ms) 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", "2015-10-30 23:07:26.670657"], ["updated_at", "2015-10-30 23:07:26.670657"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:07:26.673354"], ["updated_at", "2015-10-30 23:07:26.673354"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:26.676943"], ["updated_at", "2015-10-30 23:07:26.676943"]] 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", "2015-10-30 23:07:26.678414"], ["updated_at", "2015-10-30 23:07:26.678414"]] 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" = 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"."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.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" = 1007 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:07:26.688422"], ["updated_at", "2015-10-30 23:07:26.688422"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:07:26.690999"], ["updated_at", "2015-10-30 23:07:26.690999"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:26.694435"], ["updated_at", "2015-10-30 23:07:26.694435"]] 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", "2015-10-30 23:07:26.696404"], ["updated_at", "2015-10-30 23:07:26.696404"]] 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.3ms) 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" = 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"]]  (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", "2015-10-30 23:07:26.710279"], ["updated_at", "2015-10-30 23:07:26.710279"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:07:26.713223"], ["updated_at", "2015-10-30 23:07:26.713223"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:07:26.717147"], ["updated_at", "2015-10-30 23:07:26.717147"]] 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", "2015-10-30 23:07:26.719244"], ["updated_at", "2015-10-30 23:07:26.719244"]] 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.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"."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.1ms) 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:07:26.730594"], ["updated_at", "2015-10-30 23:07:26.730594"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:07:26.733322"], ["updated_at", "2015-10-30 23:07:26.733322"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:26.737509"], ["updated_at", "2015-10-30 23:07:26.737509"]] 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", "2015-10-30 23:07:26.739097"], ["updated_at", "2015-10-30 23:07:26.739097"]] 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  (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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."name" = 'share'  (0.7ms) 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", "2015-10-30 23:07:26.754369"], ["updated_at", "2015-10-30 23:07:26.754369"]]  (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", "2015-10-30 23:07:26.757440"], ["updated_at", "2015-10-30 23:07:26.757440"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:26.767372"], ["updated_at", "2015-10-30 23:07:26.767372"]] 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", "2015-10-30 23:07:26.768698"], ["updated_at", "2015-10-30 23:07:26.768698"]] 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  (0.2ms) ROLLBACK TO 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 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", "2015-10-30 23:07:26.781342"], ["updated_at", "2015-10-30 23:07:26.781342"]]  (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", "2015-10-30 23:07:26.784508"], ["updated_at", "2015-10-30 23:07:26.784508"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:26.789358"], ["updated_at", "2015-10-30 23:07:26.789358"]] 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", "2015-10-30 23:07:26.790954"], ["updated_at", "2015-10-30 23:07:26.790954"]] 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" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1012 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:07:26.802251"], ["updated_at", "2015-10-30 23:07:26.802251"]]  (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", "2015-10-30 23:07:26.805253"], ["updated_at", "2015-10-30 23:07:26.805253"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:26.808857"], ["updated_at", "2015-10-30 23:07:26.808857"]] 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", "2015-10-30 23:07:26.812026"], ["updated_at", "2015-10-30 23:07:26.812026"]] 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.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" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:07:26.831096"], ["updated_at", "2015-10-30 23:07:26.831096"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:07:26.833999"], ["updated_at", "2015-10-30 23:07:26.833999"]]  (0.2ms) 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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:26.839786"], ["updated_at", "2015-10-30 23:07:26.839786"]] 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", "2015-10-30 23:07:26.841427"], ["updated_at", "2015-10-30 23:07:26.841427"]] 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" = 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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_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", "2015-10-30 23:07:26.856730"], ["updated_at", "2015-10-30 23:07:26.856730"]]  (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", "2015-10-30 23:07:26.861974"], ["updated_at", "2015-10-30 23:07:26.861974"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:26.866841"], ["updated_at", "2015-10-30 23:07:26.866841"]] 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", "2015-10-30 23:07:26.868427"], ["updated_at", "2015-10-30 23:07:26.868427"]] 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" = 1018  (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" = 1018 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" = 1018 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (7.8ms) 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", "2015-10-30 23:07:26.890930"], ["updated_at", "2015-10-30 23:07:26.890930"]]  (0.2ms) 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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:07:26.896712"], ["updated_at", "2015-10-30 23:07:26.896712"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:26.900844"], ["updated_at", "2015-10-30 23:07:26.900844"]] 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", "2015-10-30 23:07:26.902490"], ["updated_at", "2015-10-30 23:07:26.902490"]] 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" = 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"."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.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" = 1020 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:07:26.918706"], ["updated_at", "2015-10-30 23:07:26.918706"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:07:26.921751"], ["updated_at", "2015-10-30 23:07:26.921751"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:26.927299"], ["updated_at", "2015-10-30 23:07:26.927299"]] 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", "2015-10-30 23:07:26.929744"], ["updated_at", "2015-10-30 23:07:26.929744"]] 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" = 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.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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) 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", "2015-10-30 23:07:26.950393"], ["updated_at", "2015-10-30 23:07:26.950393"]]  (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", "2015-10-30 23:07:26.955937"], ["updated_at", "2015-10-30 23:07:26.955937"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:07:26.961228"], ["updated_at", "2015-10-30 23:07:26.961228"]]  (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", "2015-10-30 23:07:26.965767"], ["updated_at", "2015-10-30 23:07:26.965767"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:26.969124"], ["updated_at", "2015-10-30 23:07:26.969124"]] 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", "2015-10-30 23:07:26.970972"], ["updated_at", "2015-10-30 23:07:26.970972"]] 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" = 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"."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.0ms) 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$yl2dlUg6YAEyaIAaUA.zBufjbMgCSOedqs.aHkRZDNUahPXod9s1S"], ["remember_token", "qfkHrVxxkylw0hBDLbSslA"], ["created_at", "2015-10-30 23:07:26.993903"], ["updated_at", "2015-10-30 23:07:26.993903"]]  (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", "2015-10-30 23:07:26.998801"], ["updated_at", "2015-10-30 23:07:26.998801"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:07:27.001790"], ["updated_at", "2015-10-30 23:07:27.001790"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:27.006181"], ["updated_at", "2015-10-30 23:07:27.006181"]] 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", "2015-10-30 23:07:27.008815"], ["updated_at", "2015-10-30 23:07:27.008815"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "qfkHrVxxkylw0hBDLbSslA"]] 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.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" = 'articles' [["read_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"."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 24ms (Views: 15.9ms | ActiveRecord: 0.9ms)  (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$VKqgoRWn6rlbwYJ/CuK9h.V5qzBNr7S4JohrcJg.3OqeMIDFj6ep2"], ["remember_token", "kXD_Sdjk9RlaHvmAN-hAoQ"], ["created_at", "2015-10-30 23:07:27.048120"], ["updated_at", "2015-10-30 23:07:27.048120"]]  (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.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:07:27.051550"], ["updated_at", "2015-10-30 23:07:27.051550"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:07:27.057269"], ["updated_at", "2015-10-30 23:07:27.057269"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:27.063988"], ["updated_at", "2015-10-30 23:07:27.063988"]] 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", "2015-10-30 23:07:27.066462"], ["updated_at", "2015-10-30 23:07:27.066462"]] 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", "kXD_Sdjk9RlaHvmAN-hAoQ"]] Adeia::Token Load (0.3ms) 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.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 9ms (Views: 1.2ms | 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$qyG6gILTHQkPezCMXoWT0OMICnIvCfK6j2ahnZRGSun6qYd09ZrHq"], ["remember_token", "Jo48vfeiz8QEP2vKj0PzCA"], ["created_at", "2015-10-30 23:07:27.087289"], ["updated_at", "2015-10-30 23:07:27.087289"]]  (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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:07:27.091495"], ["updated_at", "2015-10-30 23:07:27.091495"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:07:27.096499"], ["updated_at", "2015-10-30 23:07:27.096499"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:27.110250"], ["updated_at", "2015-10-30 23:07:27.110250"]] 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", "2015-10-30 23:07:27.112600"], ["updated_at", "2015-10-30 23:07:27.112600"]] 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.2ms) 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$2ZsP0YoUzOVDQqrYGe/1k.Ta6Tl.BDNxzNWEBmdBeqhLKB8Dl3Ixm"], ["remember_token", "lL0TiXZgamyd4H93_QVoIw"], ["created_at", "2015-10-30 23:07:27.126558"], ["updated_at", "2015-10-30 23:07:27.126558"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", "2015-10-30 23:07:27.130506"], ["updated_at", "2015-10-30 23:07:27.130506"]]  (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.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", "2015-10-30 23:07:27.134087"], ["updated_at", "2015-10-30 23:07:27.134087"]]  (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", "2015-10-30 23:07:27.136736"], ["updated_at", "2015-10-30 23:07:27.136736"]]  (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", "2015-10-30 23:07:27.139373"], ["updated_at", "2015-10-30 23:07:27.139373"]]  (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", "2015-10-30 23:07:27.142544"], ["updated_at", "2015-10-30 23:07:27.142544"]]  (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", "Jo48vfeiz8QEP2vKj0PzCA"]] 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" = 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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (1.0ms) 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$JC/wHXnugDmZTuJiqc00/O6S4qh9gtKUpa79BngkGSoMLUR1W5N2y"], ["remember_token", "kZxa31whtAFkRGfP5-evWA"], ["created_at", "2015-10-30 23:07:27.160335"], ["updated_at", "2015-10-30 23:07:27.160335"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:07:27.166724"], ["updated_at", "2015-10-30 23:07:27.166724"]]  (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", "2015-10-30 23:07:27.170194"], ["updated_at", "2015-10-30 23:07:27.170194"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:27.174275"], ["updated_at", "2015-10-30 23:07:27.174275"]] 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", "2015-10-30 23:07:27.176372"], ["updated_at", "2015-10-30 23:07:27.176372"]] 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", "2015-10-30 23:07:27.181259"], ["updated_at", "2015-10-30 23:07:27.181259"]]  (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", "2015-10-30 23:07:27.183045"], ["updated_at", "2015-10-30 23:07:27.183045"]]  (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", "2015-10-30 23:07:27.184664"], ["updated_at", "2015-10-30 23:07:27.184664"]]  (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", "2015-10-30 23:07:27.186232"], ["updated_at", "2015-10-30 23:07:27.186232"]]  (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", "2015-10-30 23:07:27.187942"], ["updated_at", "2015-10-30 23:07:27.187942"]]  (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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$iiyvR3GjvH.d3tb7y87DOO/Y.t/dIb9GluYtGNnlsW7wAmdZuMWAK"], ["remember_token", "mdRL8HD2c1nCOoKNJ91u7Q"], ["created_at", "2015-10-30 23:07:27.193477"], ["updated_at", "2015-10-30 23:07:27.193477"]]  (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", "2015-10-30 23:07:27.196945"], ["updated_at", "2015-10-30 23:07:27.196945"]]  (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", "2015-10-30 23:07:27.199752"], ["updated_at", "2015-10-30 23:07:27.199752"]]  (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", "2015-10-30 23:07:27.202110"], ["updated_at", "2015-10-30 23:07:27.202110"]]  (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.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", "2015-10-30 23:07:27.204279"], ["updated_at", "2015-10-30 23:07:27.204279"]]  (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.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", "2015-10-30 23:07:27.208228"], ["updated_at", "2015-10-30 23:07:27.208228"]]  (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", "kZxa31whtAFkRGfP5-evWA"]] 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.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 9ms (Views: 1.2ms | ActiveRecord: 0.8ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (0.9ms) 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$xZWFxvj5oKPWAoRkLeHVJunFo3RbrcXxlqaBe9AIqmi/VgNyemM2G"], ["remember_token", "QwnQvNwf4NMfQzREf4cIIg"], ["created_at", "2015-10-30 23:07:27.229430"], ["updated_at", "2015-10-30 23:07:27.229430"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:07:27.235032"], ["updated_at", "2015-10-30 23:07:27.235032"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:07:27.239584"], ["updated_at", "2015-10-30 23:07:27.239584"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:27.245341"], ["updated_at", "2015-10-30 23:07:27.245341"]] 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", "2015-10-30 23:07:27.247455"], ["updated_at", "2015-10-30 23:07:27.247455"]] 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 "articles" ("title", "content", "user_id", "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", "2015-10-30 23:07:27.252136"], ["updated_at", "2015-10-30 23:07:27.252136"]]  (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", "2015-10-30 23:07:27.254724"], ["updated_at", "2015-10-30 23:07:27.254724"]]  (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", "2015-10-30 23:07:27.257796"], ["updated_at", "2015-10-30 23:07:27.257796"]]  (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", "2015-10-30 23:07:27.260844"], ["updated_at", "2015-10-30 23:07:27.260844"]]  (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", "2015-10-30 23:07:27.264164"], ["updated_at", "2015-10-30 23:07:27.264164"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$4of/OJXW3Jaf64H3TOx4peCx0cgGI4dS07RFJboZFzBVvNReUdexO"], ["remember_token", "kXA8o4cO-Y0qPrIhP9vGDg"], ["created_at", "2015-10-30 23:07:27.268533"], ["updated_at", "2015-10-30 23:07:27.268533"]]  (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", "2015-10-30 23:07:27.270107"], ["updated_at", "2015-10-30 23:07:27.270107"]]  (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", "2015-10-30 23:07:27.272462"], ["updated_at", "2015-10-30 23:07:27.272462"]]  (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", "2015-10-30 23:07:27.274926"], ["updated_at", "2015-10-30 23:07:27.274926"]]  (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", "2015-10-30 23:07:27.277088"], ["updated_at", "2015-10-30 23:07:27.277088"]]  (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", "2015-10-30 23:07:27.279992"], ["updated_at", "2015-10-30 23:07:27.279992"]]  (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", "2015-10-30 23:07:27.282200"], ["updated_at", "2015-10-30 23:07:27.282200"]]  (0.0ms) 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.0ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:27.287383"], ["updated_at", "2015-10-30 23:07:27.287383"]] 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", 2], ["created_at", "2015-10-30 23:07:27.289010"], ["updated_at", "2015-10-30 23:07:27.289010"]] 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", "QwnQvNwf4NMfQzREf4cIIg"]] 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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.5ms) 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$SK9LghCicc9/XmU42hsowurvSZm5Ov5GWqNeW3fn1LIziBBNV352a"], ["remember_token", "7aQr13HKYRzbZX2H77YqVA"], ["created_at", "2015-10-30 23:07:27.308847"], ["updated_at", "2015-10-30 23:07:27.308847"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (0.4ms) 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$M89yTqQhp3BhrdmPjfHImuZWk/LYMz8ICxppqYnky9iaNhKM.8mO."], ["remember_token", "oFeIIinbVEkGfup3-WWCxw"], ["created_at", "2015-10-30 23:07:27.315414"], ["updated_at", "2015-10-30 23:07:27.315414"]]  (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", "2015-10-30 23:07:27.319025"], ["updated_at", "2015-10-30 23:07:27.319025"]]  (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.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", "2015-10-30 23:07:27.322551"], ["updated_at", "2015-10-30 23:07:27.322551"]]  (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", "2015-10-30 23:07:27.325771"], ["updated_at", "2015-10-30 23:07:27.325771"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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", "2015-10-30 23:07:27.329662"], ["updated_at", "2015-10-30 23:07:27.329662"]]  (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.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", "2015-10-30 23:07:27.332734"], ["updated_at", "2015-10-30 23:07:27.332734"]]  (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", "2015-10-30 23:07:27.335508"], ["updated_at", "2015-10-30 23:07:27.335508"]]  (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", "2015-10-30 23:07:27.337815"], ["updated_at", "2015-10-30 23:07:27.337815"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:07:27.341757"], ["updated_at", "2015-10-30 23:07:27.341757"]]  (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", "2015-10-30 23:07:27.346086"], ["updated_at", "2015-10-30 23:07:27.346086"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:27.349991"], ["updated_at", "2015-10-30 23:07:27.349991"]] 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", "2015-10-30 23:07:27.352054"], ["updated_at", "2015-10-30 23:07:27.352054"]] 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:27.364393"], ["updated_at", "2015-10-30 23:07:27.364393"]] 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", "2015-10-30 23:07:27.366084"], ["updated_at", "2015-10-30 23:07:27.366084"]] 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", "7aQr13HKYRzbZX2H77YqVA"]] 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" = 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.2ms | ActiveRecord: 0.8ms) Article Load (0.3ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$QAz.OAfEPmk2XMN0zUnqsOZ8ReMsfYHJVIFJIqAScQ3FIN5YSJPsi"], ["remember_token", "CKVO96OlGFmbL6tdBhC-0g"], ["created_at", "2015-10-30 23:07:27.385227"], ["updated_at", "2015-10-30 23:07:27.385227"]]  (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", "2015-10-30 23:07:27.389147"], ["updated_at", "2015-10-30 23:07:27.389147"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:07:27.393198"], ["updated_at", "2015-10-30 23:07:27.393198"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:27.397400"], ["updated_at", "2015-10-30 23:07:27.397400"]] 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", "2015-10-30 23:07:27.399454"], ["updated_at", "2015-10-30 23:07:27.399454"]] 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.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$3x0ZABS4b7RyfNQSss3fgOAcICdGF2GVib1Fd/EOEhvYYpAl9YnOq"], ["remember_token", "oZhdL32cnTgB9GXZijiziA"], ["created_at", "2015-10-30 23:07:27.405656"], ["updated_at", "2015-10-30 23:07:27.405656"]]  (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", "2015-10-30 23:07:27.407763"], ["updated_at", "2015-10-30 23:07:27.407763"]]  (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 1 [["remember_token", "CKVO96OlGFmbL6tdBhC-0g"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 9ms (Views: 3.0ms | ActiveRecord: 0.6ms)  (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$bJ06uefjDhPHY.9zNwQNT.IIOACQfqfQvVJqnEu88vqJoZUl127j."], ["remember_token", "jYGrR6TUuk5B46rYC7GECg"], ["created_at", "2015-10-30 23:07:27.426439"], ["updated_at", "2015-10-30 23:07:27.426439"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:07:27.437857"], ["updated_at", "2015-10-30 23:07:27.437857"]]  (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", "2015-10-30 23:07:27.442476"], ["updated_at", "2015-10-30 23:07:27.442476"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:27.449408"], ["updated_at", "2015-10-30 23:07:27.449408"]] 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", "2015-10-30 23:07:27.452635"], ["updated_at", "2015-10-30 23:07:27.452635"]] 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.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (0.3ms) 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$UNmYFQGEupZExGzPoFR7h.wrAjJgddDUlNczOqbyFWaM5iz0p2fFO"], ["remember_token", "GGT493f6HquWuu4Q8sv2SA"], ["created_at", "2015-10-30 23:07:27.467286"], ["updated_at", "2015-10-30 23:07:27.467286"]]  (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", 2], ["created_at", "2015-10-30 23:07:27.470060"], ["updated_at", "2015-10-30 23:07:27.470060"]]  (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 1 [["remember_token", "jYGrR6TUuk5B46rYC7GECg"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 7ms (Views: 1.3ms | ActiveRecord: 0.6ms)  (1.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$wlPn8rdl11yq8ljVGyCAvOjgG9g9oCdObefnCICwluVRnX5mvTt9i"], ["remember_token", "tJttChhEs9ZrRynNH-Pr-Q"], ["created_at", "2015-10-30 23:07:27.487460"], ["updated_at", "2015-10-30 23:07:27.487460"]]  (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", "2015-10-30 23:07:27.494564"], ["updated_at", "2015-10-30 23:07:27.494564"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:07:27.498540"], ["updated_at", "2015-10-30 23:07:27.498540"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:27.502691"], ["updated_at", "2015-10-30 23:07:27.502691"]] 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", "2015-10-30 23:07:27.504094"], ["updated_at", "2015-10-30 23:07:27.504094"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "tJttChhEs9ZrRynNH-Pr-Q"]] 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 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" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'articles' [["create_right", "t"]] Rendered articles/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 8ms (Views: 3.0ms | ActiveRecord: 0.8ms)  (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$pgOiyeoiQHQrqL78K6i2IO4UgKtdXKWMTKaL4U2KCF.sawW3MyDYm"], ["remember_token", "Bb7BkWthI9ud9euY3nm9BA"], ["created_at", "2015-10-30 23:07:27.522400"], ["updated_at", "2015-10-30 23:07:27.522400"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:07:27.525906"], ["updated_at", "2015-10-30 23:07:27.525906"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:07:27.529135"], ["updated_at", "2015-10-30 23:07:27.529135"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:27.533081"], ["updated_at", "2015-10-30 23:07:27.533081"]] 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", "2015-10-30 23:07:27.534502"], ["updated_at", "2015-10-30 23:07:27.534502"]] 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.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$lJZ9gQ85rNPmL6j.RgZ3feOowIg20gZFLGtTezKoXZ8uuylk/G7Mu"], ["remember_token", "A-w4F20mboiPSyFwvNKwOw"], ["created_at", "2015-10-30 23:07:27.541005"], ["updated_at", "2015-10-30 23:07:27.541005"]]  (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", "2015-10-30 23:07:27.542922"], ["updated_at", "2015-10-30 23:07:27.542922"]]  (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", "Bb7BkWthI9ud9euY3nm9BA"]] Article Load (0.2ms) 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.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.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.5ms) Completed 200 OK in 10ms (Views: 3.8ms | ActiveRecord: 0.9ms)  (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$IBdis4WHVzYpSTiGz0dPn.zPW70vWDMnzrxj6WMg9uuhFIlEm5zK."], ["remember_token", "yH_bGbNxTso2eeknElCW-Q"], ["created_at", "2015-10-30 23:07:27.563077"], ["updated_at", "2015-10-30 23:07:27.563077"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:07:27.567659"], ["updated_at", "2015-10-30 23:07:27.567659"]]  (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", "2015-10-30 23:07:27.570912"], ["updated_at", "2015-10-30 23:07:27.570912"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:07:27.574352"], ["updated_at", "2015-10-30 23:07:27.574352"]] 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", "2015-10-30 23:07:27.575969"], ["updated_at", "2015-10-30 23:07:27.575969"]] 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.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$gPHirLsgxrLGwdtVAa3fL.VI8CJZKMelYVkIGG3hvMKJGeD2ewPj6"], ["remember_token", "3-TiFqtt_n0cf2JlUpVibA"], ["created_at", "2015-10-30 23:07:27.582705"], ["updated_at", "2015-10-30 23:07:27.582705"]]  (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", "2015-10-30 23:07:27.585249"], ["updated_at", "2015-10-30 23:07:27.585249"]]  (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", "yH_bGbNxTso2eeknElCW-Q"]] 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"."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 6ms (Views: 1.0ms | ActiveRecord: 0.6ms)  (0.9ms) 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", "2015-10-30 23:07:27.598940"], ["updated_at", "2015-10-30 23:07:27.598940"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:07:27.602321"], ["updated_at", "2015-10-30 23:07:27.602321"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:07:27.606191"], ["updated_at", "2015-10-30 23:07:27.606191"]]  (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 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", "2015-10-30 23:07:27.613151"], ["updated_at", "2015-10-30 23:07:27.613151"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:07:27.616014"], ["updated_at", "2015-10-30 23:07:27.616014"]]  (0.1ms) 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 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", "2015-10-30 23:07:27.640120"], ["updated_at", "2015-10-30 23:07:27.640120"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:07:27.643148"], ["updated_at", "2015-10-30 23:07:27.643148"]]  (0.0ms) 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 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", "2015-10-30 23:07:27.650773"], ["updated_at", "2015-10-30 23:07:27.650773"]]  (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.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:07:27.653279"], ["updated_at", "2015-10-30 23:07:27.653279"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:07:27.658518"], ["updated_at", "2015-10-30 23:07:27.658518"]]  (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 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", "2015-10-30 23:07:27.669681"], ["updated_at", "2015-10-30 23:07:27.669681"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:07:27.672528"], ["updated_at", "2015-10-30 23:07:27.672528"]]  (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", "2015-10-30 23:07:27.677081"], ["updated_at", "2015-10-30 23:07:27.677081"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:07:27.683831"], ["updated_at", "2015-10-30 23:07:27.683831"]]  (0.0ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:07:27.686107"], ["updated_at", "2015-10-30 23:07:27.686107"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (1.1ms) 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", "2015-10-30 23:08:56.262838"], ["updated_at", "2015-10-30 23:08:56.262838"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (6.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:08:56.287148"], ["updated_at", "2015-10-30 23:08:56.287148"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-30 23:08:56.306388"], ["updated_at", "2015-10-30 23:08:56.306388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:56.354305"], ["updated_at", "2015-10-30 23:08:56.354305"]] 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", "2015-10-30 23:08:56.358826"], ["updated_at", "2015-10-30 23:08:56.358826"]] 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) 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.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" = 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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:08:56.410595"], ["updated_at", "2015-10-30 23:08:56.410595"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:08:56.413229"], ["updated_at", "2015-10-30 23:08:56.413229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:08:56.416838"], ["updated_at", "2015-10-30 23:08:56.416838"]] 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", "2015-10-30 23:08:56.419544"], ["updated_at", "2015-10-30 23:08:56.419544"]] 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" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1002 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:08:56.430724"], ["updated_at", "2015-10-30 23:08:56.430724"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:08:56.433555"], ["updated_at", "2015-10-30 23:08:56.433555"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:56.437309"], ["updated_at", "2015-10-30 23:08:56.437309"]] 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", "2015-10-30 23:08:56.438871"], ["updated_at", "2015-10-30 23:08:56.438871"]] 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" = 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"."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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (0.9ms) 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", "2015-10-30 23:08:56.449423"], ["updated_at", "2015-10-30 23:08:56.449423"]]  (0.0ms) 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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:08:56.454118"], ["updated_at", "2015-10-30 23:08:56.454118"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:56.459980"], ["updated_at", "2015-10-30 23:08:56.459980"]] 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", "2015-10-30 23:08:56.461870"], ["updated_at", "2015-10-30 23:08:56.461870"]] 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.3ms) 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" = 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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:08:56.474458"], ["updated_at", "2015-10-30 23:08:56.474458"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:08:56.477132"], ["updated_at", "2015-10-30 23:08:56.477132"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:56.481244"], ["updated_at", "2015-10-30 23:08:56.481244"]] 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", "2015-10-30 23:08:56.482948"], ["updated_at", "2015-10-30 23:08:56.482948"]] 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.1ms) 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"]]  (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", "2015-10-30 23:08:56.494385"], ["updated_at", "2015-10-30 23:08:56.494385"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:08:56.498347"], ["updated_at", "2015-10-30 23:08:56.498347"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:56.503582"], ["updated_at", "2015-10-30 23:08:56.503582"]] 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", "2015-10-30 23:08:56.505285"], ["updated_at", "2015-10-30 23:08:56.505285"]] 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" = 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:08:56.517180"], ["updated_at", "2015-10-30 23:08:56.517180"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:08:56.520263"], ["updated_at", "2015-10-30 23:08:56.520263"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:56.524074"], ["updated_at", "2015-10-30 23:08:56.524074"]] 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", "2015-10-30 23:08:56.525459"], ["updated_at", "2015-10-30 23:08:56.525459"]] 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" = 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.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" = 1007 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", "2015-10-30 23:08:56.537049"], ["updated_at", "2015-10-30 23:08:56.537049"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:08:56.539700"], ["updated_at", "2015-10-30 23:08:56.539700"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:56.545279"], ["updated_at", "2015-10-30 23:08:56.545279"]] 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", "2015-10-30 23:08:56.547108"], ["updated_at", "2015-10-30 23:08:56.547108"]] 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" = 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"."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.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" = 1008 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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", "2015-10-30 23:08:56.559097"], ["updated_at", "2015-10-30 23:08:56.559097"]]  (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", "2015-10-30 23:08:56.562117"], ["updated_at", "2015-10-30 23:08:56.562117"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:08:56.566136"], ["updated_at", "2015-10-30 23:08:56.566136"]] 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", "2015-10-30 23:08:56.567545"], ["updated_at", "2015-10-30 23:08:56.567545"]] 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 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" = 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"."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.1ms) 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"]]  (1.1ms) 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", "2015-10-30 23:08:56.582557"], ["updated_at", "2015-10-30 23:08:56.582557"]]  (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", "2015-10-30 23:08:56.586646"], ["updated_at", "2015-10-30 23:08:56.586646"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:56.590390"], ["updated_at", "2015-10-30 23:08:56.590390"]] 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", "2015-10-30 23:08:56.591832"], ["updated_at", "2015-10-30 23:08:56.591832"]] 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" = 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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-30 23:08:56.605722"], ["updated_at", "2015-10-30 23:08:56.605722"]]  (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", "2015-10-30 23:08:56.608944"], ["updated_at", "2015-10-30 23:08:56.608944"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:56.619362"], ["updated_at", "2015-10-30 23:08:56.619362"]] 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", "2015-10-30 23:08:56.620825"], ["updated_at", "2015-10-30 23:08:56.620825"]] 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::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]] 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:08:56.628987"], ["updated_at", "2015-10-30 23:08:56.628987"]]  (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.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:56.634815"], ["updated_at", "2015-10-30 23:08:56.634815"]] 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", "2015-10-30 23:08:56.636344"], ["updated_at", "2015-10-30 23:08:56.636344"]] 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  (0.0ms) ROLLBACK TO 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 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", "2015-10-30 23:08:56.645893"], ["updated_at", "2015-10-30 23:08:56.645893"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:08:56.648561"], ["updated_at", "2015-10-30 23:08:56.648561"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:56.653828"], ["updated_at", "2015-10-30 23:08:56.653828"]] 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", "2015-10-30 23:08:56.655469"], ["updated_at", "2015-10-30 23:08:56.655469"]] 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" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1012 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:08:56.665941"], ["updated_at", "2015-10-30 23:08:56.665941"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:08:56.668758"], ["updated_at", "2015-10-30 23:08:56.668758"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:56.672539"], ["updated_at", "2015-10-30 23:08:56.672539"]] 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", "2015-10-30 23:08:56.674170"], ["updated_at", "2015-10-30 23:08:56.674170"]] 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" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:08:56.688573"], ["updated_at", "2015-10-30 23:08:56.688573"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:08:56.691130"], ["updated_at", "2015-10-30 23:08:56.691130"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:56.694468"], ["updated_at", "2015-10-30 23:08:56.694468"]] 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", "2015-10-30 23:08:56.696182"], ["updated_at", "2015-10-30 23:08:56.696182"]] 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" = 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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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", "2015-10-30 23:08:56.711043"], ["updated_at", "2015-10-30 23:08:56.711043"]]  (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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:08:56.714416"], ["updated_at", "2015-10-30 23:08:56.714416"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:56.720304"], ["updated_at", "2015-10-30 23:08:56.720304"]] 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", "2015-10-30 23:08:56.722462"], ["updated_at", "2015-10-30 23:08:56.722462"]] 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" = 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"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:08:56.734902"], ["updated_at", "2015-10-30 23:08:56.734902"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:08:56.737650"], ["updated_at", "2015-10-30 23:08:56.737650"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:56.741715"], ["updated_at", "2015-10-30 23:08:56.741715"]] 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", "2015-10-30 23:08:56.743308"], ["updated_at", "2015-10-30 23:08:56.743308"]] 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.3ms) 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" = 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.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" = 1020 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", "2015-10-30 23:08:56.755515"], ["updated_at", "2015-10-30 23:08:56.755515"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:08:56.758151"], ["updated_at", "2015-10-30 23:08:56.758151"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:56.761663"], ["updated_at", "2015-10-30 23:08:56.761663"]] 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", "2015-10-30 23:08:56.763170"], ["updated_at", "2015-10-30 23:08:56.763170"]] 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.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" = 1022 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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.5ms) 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", "2015-10-30 23:08:56.778305"], ["updated_at", "2015-10-30 23:08:56.778305"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (4.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", "2015-10-30 23:08:56.783074"], ["updated_at", "2015-10-30 23:08:56.783074"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:08:56.790913"], ["updated_at", "2015-10-30 23:08:56.790913"]]  (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", "2015-10-30 23:08:56.793329"], ["updated_at", "2015-10-30 23:08:56.793329"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:56.796284"], ["updated_at", "2015-10-30 23:08:56.796284"]] 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", "2015-10-30 23:08:56.797810"], ["updated_at", "2015-10-30 23:08:56.797810"]] 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" = 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"."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.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$aKhiZYLY0119b2EyKfECZ.DSrUV5xE/vh3aVRhUnbAtcgCMF9PLoe"], ["remember_token", "P-aecpb1s6FR8De79yQFGg"], ["created_at", "2015-10-30 23:08:56.819753"], ["updated_at", "2015-10-30 23:08:56.819753"]]  (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", "2015-10-30 23:08:56.824363"], ["updated_at", "2015-10-30 23:08:56.824363"]]  (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", "2015-10-30 23:08:56.827189"], ["updated_at", "2015-10-30 23:08:56.827189"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:56.830583"], ["updated_at", "2015-10-30 23:08:56.830583"]] 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", "2015-10-30 23:08:56.832041"], ["updated_at", "2015-10-30 23:08:56.832041"]] 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.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "P-aecpb1s6FR8De79yQFGg"]] 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"."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.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" = '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 21ms (Views: 14.1ms | ActiveRecord: 1.0ms)  (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$TD.oeMxk53FbHv2BAwZ/0urU8awJ3mclVE2qX8HloFLSQ602PvV/6"], ["remember_token", "YAr6kajtt_JgJ_H2wY7F-w"], ["created_at", "2015-10-30 23:08:56.865427"], ["updated_at", "2015-10-30 23:08:56.865427"]]  (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", "2015-10-30 23:08:56.868929"], ["updated_at", "2015-10-30 23:08:56.868929"]]  (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", "2015-10-30 23:08:56.872136"], ["updated_at", "2015-10-30 23:08:56.872136"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:56.875690"], ["updated_at", "2015-10-30 23:08:56.875690"]] 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", "2015-10-30 23:08:56.877111"], ["updated_at", "2015-10-30 23:08:56.877111"]] 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", "YAr6kajtt_JgJ_H2wY7F-w"]] 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.2ms) Completed 200 OK in 12ms (Views: 1.0ms | 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$8y8L7DTWSCi5WNnIHoivFeatHaVpXzsmSAYLBbdXFMqi98e/kJ6z2"], ["remember_token", "wh-miYnWNSTf5z7XdxwT_w"], ["created_at", "2015-10-30 23:08:56.899453"], ["updated_at", "2015-10-30 23:08:56.899453"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:08:56.902702"], ["updated_at", "2015-10-30 23:08:56.902702"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:08:56.906235"], ["updated_at", "2015-10-30 23:08:56.906235"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:56.909802"], ["updated_at", "2015-10-30 23:08:56.909802"]] 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", "2015-10-30 23:08:56.911119"], ["updated_at", "2015-10-30 23:08:56.911119"]] 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.2ms) 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$GYPAuKskPS0H3WVZY/nL1.WcvF7E6uTYaZS6Na7ff/x4E4/6XXnDe"], ["remember_token", "aZc7QkCYYdGmJL8mqGuECg"], ["created_at", "2015-10-30 23:08:56.926513"], ["updated_at", "2015-10-30 23:08:56.926513"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", "2015-10-30 23:08:56.929507"], ["updated_at", "2015-10-30 23:08:56.929507"]]  (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", "2015-10-30 23:08:56.933438"], ["updated_at", "2015-10-30 23:08:56.933438"]]  (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", "2015-10-30 23:08:56.935724"], ["updated_at", "2015-10-30 23:08:56.935724"]]  (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", "2015-10-30 23:08:56.937873"], ["updated_at", "2015-10-30 23:08:56.937873"]]  (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", "2015-10-30 23:08:56.939778"], ["updated_at", "2015-10-30 23:08:56.939778"]]  (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", "wh-miYnWNSTf5z7XdxwT_w"]] 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.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" = '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.4ms | ActiveRecord: 0.7ms)  (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$lrYU7JtR7SOY4PW2StEwRuj04zO35lWWKM4OPo67jXPMD4I9ZIG3u"], ["remember_token", "jLF6AMPYMTDM2OlfFfVRyQ"], ["created_at", "2015-10-30 23:08:56.956250"], ["updated_at", "2015-10-30 23:08:56.956250"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:08:56.959524"], ["updated_at", "2015-10-30 23:08:56.959524"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:08:56.963464"], ["updated_at", "2015-10-30 23:08:56.963464"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:56.968144"], ["updated_at", "2015-10-30 23:08:56.968144"]] 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", "2015-10-30 23:08:56.969543"], ["updated_at", "2015-10-30 23:08:56.969543"]] 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", "2015-10-30 23:08:56.972787"], ["updated_at", "2015-10-30 23:08:56.972787"]]  (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", "2015-10-30 23:08:56.974493"], ["updated_at", "2015-10-30 23:08:56.974493"]]  (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", "2015-10-30 23:08:56.976110"], ["updated_at", "2015-10-30 23:08:56.976110"]]  (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", "2015-10-30 23:08:56.977657"], ["updated_at", "2015-10-30 23:08:56.977657"]]  (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", "2015-10-30 23:08:56.979242"], ["updated_at", "2015-10-30 23:08:56.979242"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$9l7B18EXYW8/gLJ6V.VqfOCz5ID4iTdTQWGSQii1cHgIL6tFnCtM2"], ["remember_token", "rKz4pqeRz1XJnCcnMZjMww"], ["created_at", "2015-10-30 23:08:56.983343"], ["updated_at", "2015-10-30 23:08:56.983343"]]  (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", "2015-10-30 23:08:56.984893"], ["updated_at", "2015-10-30 23:08:56.984893"]]  (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.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", "2015-10-30 23:08:56.986817"], ["updated_at", "2015-10-30 23:08:56.986817"]]  (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", "2015-10-30 23:08:56.991130"], ["updated_at", "2015-10-30 23:08:56.991130"]]  (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", "2015-10-30 23:08:56.994407"], ["updated_at", "2015-10-30 23:08:56.994407"]]  (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.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", "2015-10-30 23:08:56.997609"], ["updated_at", "2015-10-30 23:08:56.997609"]]  (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", "jLF6AMPYMTDM2OlfFfVRyQ"]] 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.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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.7ms) 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$CUHtnzEZlJiu.qrGp0TeoOGjwFHFYgfZpDBS2WVqPr2I.Kt744X5y"], ["remember_token", "QoqmcGVLKbl-B_LqqDVdbg"], ["created_at", "2015-10-30 23:08:57.016008"], ["updated_at", "2015-10-30 23:08:57.016008"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:08:57.022230"], ["updated_at", "2015-10-30 23:08:57.022230"]]  (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", "2015-10-30 23:08:57.025562"], ["updated_at", "2015-10-30 23:08:57.025562"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:57.029149"], ["updated_at", "2015-10-30 23:08:57.029149"]] 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", "2015-10-30 23:08:57.030582"], ["updated_at", "2015-10-30 23:08:57.030582"]] 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.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", "2015-10-30 23:08:57.033896"], ["updated_at", "2015-10-30 23:08:57.033896"]]  (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", "2015-10-30 23:08:57.036190"], ["updated_at", "2015-10-30 23:08:57.036190"]]  (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", "2015-10-30 23:08:57.037839"], ["updated_at", "2015-10-30 23:08:57.037839"]]  (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", "2015-10-30 23:08:57.039440"], ["updated_at", "2015-10-30 23:08:57.039440"]]  (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", "2015-10-30 23:08:57.041128"], ["updated_at", "2015-10-30 23:08:57.041128"]]  (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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$thaBY2EJZVlStKQjuCHuMu6F6Rot3UD4jPvhnZDVKS60ZoJ92pt3S"], ["remember_token", "VMzDHNX3lyq-FLPOv5svNQ"], ["created_at", "2015-10-30 23:08:57.045515"], ["updated_at", "2015-10-30 23:08:57.045515"]]  (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", "2015-10-30 23:08:57.048587"], ["updated_at", "2015-10-30 23:08:57.048587"]]  (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", "2015-10-30 23:08:57.051575"], ["updated_at", "2015-10-30 23:08:57.051575"]]  (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.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", "2015-10-30 23:08:57.053548"], ["updated_at", "2015-10-30 23:08:57.053548"]]  (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", "2015-10-30 23:08:57.056483"], ["updated_at", "2015-10-30 23:08:57.056483"]]  (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", "2015-10-30 23:08:57.059467"], ["updated_at", "2015-10-30 23:08:57.059467"]]  (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", "2015-10-30 23:08:57.062337"], ["updated_at", "2015-10-30 23:08:57.062337"]]  (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.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:57.068731"], ["updated_at", "2015-10-30 23:08:57.068731"]] 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", "2015-10-30 23:08:57.070110"], ["updated_at", "2015-10-30 23:08:57.070110"]] 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 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "QoqmcGVLKbl-B_LqqDVdbg"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (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$nHu1TqhBedYQMEflZ95vr.qVOwcBYilr4g4jM4qOMMJxlB6p8EV7G"], ["remember_token", "LSglKmKgxrSG93DdAGoayQ"], ["created_at", "2015-10-30 23:08:57.085546"], ["updated_at", "2015-10-30 23:08:57.085546"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$v6t8VsTBH215TQjKtj38UeDt7Xfcri.n4S2s5cJbbpxyHhn64M7y6"], ["remember_token", "dx-FasF7jFdlpm8DVb2bVA"], ["created_at", "2015-10-30 23:08:57.090102"], ["updated_at", "2015-10-30 23:08:57.090102"]]  (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", "2015-10-30 23:08:57.092475"], ["updated_at", "2015-10-30 23:08:57.092475"]]  (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", "2015-10-30 23:08:57.094796"], ["updated_at", "2015-10-30 23:08:57.094796"]]  (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", "2015-10-30 23:08:57.096634"], ["updated_at", "2015-10-30 23:08:57.096634"]]  (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", "2015-10-30 23:08:57.098551"], ["updated_at", "2015-10-30 23:08:57.098551"]]  (0.0ms) 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", "2015-10-30 23:08:57.100647"], ["updated_at", "2015-10-30 23:08:57.100647"]]  (0.0ms) 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", "2015-10-30 23:08:57.102447"], ["updated_at", "2015-10-30 23:08:57.102447"]]  (0.0ms) 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", "2015-10-30 23:08:57.104239"], ["updated_at", "2015-10-30 23:08:57.104239"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:08:57.107048"], ["updated_at", "2015-10-30 23:08:57.107048"]]  (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", "2015-10-30 23:08:57.109385"], ["updated_at", "2015-10-30 23:08:57.109385"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:57.112389"], ["updated_at", "2015-10-30 23:08:57.112389"]] 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", "2015-10-30 23:08:57.113748"], ["updated_at", "2015-10-30 23:08:57.113748"]] 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.2ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:57.122852"], ["updated_at", "2015-10-30 23:08:57.122852"]] 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", "2015-10-30 23:08:57.124452"], ["updated_at", "2015-10-30 23:08:57.124452"]] 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 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "LSglKmKgxrSG93DdAGoayQ"]] 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.6ms) Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.5ms) Article Load (0.5ms) 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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$CnUyZh5EQ9RCLTRcW5EBzOwN8KMhwpgmoHS8Cb88V4JjU4gEe3v0e"], ["remember_token", "Jp2EL1l8RuITUW4jfV6Qsg"], ["created_at", "2015-10-30 23:08:57.141893"], ["updated_at", "2015-10-30 23:08:57.141893"]]  (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", "2015-10-30 23:08:57.146416"], ["updated_at", "2015-10-30 23:08:57.146416"]]  (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", "2015-10-30 23:08:57.150175"], ["updated_at", "2015-10-30 23:08:57.150175"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:57.153827"], ["updated_at", "2015-10-30 23:08:57.153827"]] 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", "2015-10-30 23:08:57.155191"], ["updated_at", "2015-10-30 23:08:57.155191"]] 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.1ms) 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$bC3g9nLTiq4ZODAvLcm8XevGvTCA1FHCnZHocq.KCJ6.I4FeMKkNG"], ["remember_token", "UnmXPsPH_WX5AGBEYz6e4g"], ["created_at", "2015-10-30 23:08:57.160944"], ["updated_at", "2015-10-30 23:08:57.160944"]]  (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", "2015-10-30 23:08:57.162554"], ["updated_at", "2015-10-30 23:08:57.162554"]]  (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 1 [["remember_token", "Jp2EL1l8RuITUW4jfV6Qsg"]] 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.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::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 articles/show.html.erb within layouts/application (0.6ms) Completed 200 OK in 12ms (Views: 4.8ms | ActiveRecord: 0.8ms)  (1.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$oHw3m2XP2x8A4Fz.Oc2Y9Om491bP4BRed8YsCaiSeGZnZxTMcIKLC"], ["remember_token", "cO5cKD3_OgnoKwiOxIY5Vg"], ["created_at", "2015-10-30 23:08:57.190039"], ["updated_at", "2015-10-30 23:08:57.190039"]]  (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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:08:57.193870"], ["updated_at", "2015-10-30 23:08:57.193870"]]  (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", "2015-10-30 23:08:57.197787"], ["updated_at", "2015-10-30 23:08:57.197787"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:57.201493"], ["updated_at", "2015-10-30 23:08:57.201493"]] 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", "2015-10-30 23:08:57.202961"], ["updated_at", "2015-10-30 23:08:57.202961"]] 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.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$W7FzG7NYkpiCS65.ph4p8eJELZJVzeUh7t06v.muVoX6NoQ7bg1bG"], ["remember_token", "HlutZamM1arK0o3VMpBu8w"], ["created_at", "2015-10-30 23:08:57.208864"], ["updated_at", "2015-10-30 23:08:57.208864"]]  (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", 2], ["created_at", "2015-10-30 23:08:57.210545"], ["updated_at", "2015-10-30 23:08:57.210545"]]  (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", "cO5cKD3_OgnoKwiOxIY5Vg"]] 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"."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"]] 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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$3MgXDuGUEolss8fWEbw2DOsGxyXM4uiy8XP4otLIZCZCg2sKQGUyu"], ["remember_token", "tNAW5NiU9S5xCWOJRANQ3A"], ["created_at", "2015-10-30 23:08:57.225835"], ["updated_at", "2015-10-30 23:08:57.225835"]]  (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", "2015-10-30 23:08:57.230375"], ["updated_at", "2015-10-30 23:08:57.230375"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:08:57.235836"], ["updated_at", "2015-10-30 23:08:57.235836"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:57.240815"], ["updated_at", "2015-10-30 23:08:57.240815"]] 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", "2015-10-30 23:08:57.242827"], ["updated_at", "2015-10-30 23:08:57.242827"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "tNAW5NiU9S5xCWOJRANQ3A"]] 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" = 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"."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.6ms) Completed 200 OK in 10ms (Views: 4.6ms | ActiveRecord: 0.8ms)  (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$7TMylHI5/XUDYdF9LTX/L.aq/uLpfBhpXo0yyLnP8AaZ17/3gd6fq"], ["remember_token", "w692fi3EyESoSRu772m7ug"], ["created_at", "2015-10-30 23:08:57.263627"], ["updated_at", "2015-10-30 23:08:57.263627"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:08:57.267452"], ["updated_at", "2015-10-30 23:08:57.267452"]]  (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", "2015-10-30 23:08:57.271954"], ["updated_at", "2015-10-30 23:08:57.271954"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:57.275879"], ["updated_at", "2015-10-30 23:08:57.275879"]] 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", "2015-10-30 23:08:57.277241"], ["updated_at", "2015-10-30 23:08:57.277241"]] 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.2ms) 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$YqcS1GLlOBh.Kf0Gdj5iP.lq7WinD5BK9qk5VqddYc8Rjskmbqnj6"], ["remember_token", "Xbc0LZ84pMCu4lJaRKzmTQ"], ["created_at", "2015-10-30 23:08:57.285387"], ["updated_at", "2015-10-30 23:08:57.285387"]]  (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", "2015-10-30 23:08:57.287107"], ["updated_at", "2015-10-30 23:08:57.287107"]]  (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", "w692fi3EyESoSRu772m7ug"]] 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.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.3ms) Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 0.6ms)  (1.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$W60d3k/FKARsywQjcazWhu1M5.guQTk7lymcNvRTUnisz9Mj2iLdG"], ["remember_token", "x6Wm2_8XGO-oBdpHI-x-uw"], ["created_at", "2015-10-30 23:08:57.302479"], ["updated_at", "2015-10-30 23:08:57.302479"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:08:57.305822"], ["updated_at", "2015-10-30 23:08:57.305822"]]  (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", "2015-10-30 23:08:57.308549"], ["updated_at", "2015-10-30 23:08:57.308549"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:08:57.312744"], ["updated_at", "2015-10-30 23:08:57.312744"]] 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", "2015-10-30 23:08:57.314149"], ["updated_at", "2015-10-30 23:08:57.314149"]] 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.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$QXwJezJqYANApAwqAwBnueXZbgFpgf3BgfENM0NJHsOeodwwKwC.e"], ["remember_token", "7msXlgQe2NyqHKb4M4HlBg"], ["created_at", "2015-10-30 23:08:57.319946"], ["updated_at", "2015-10-30 23:08:57.319946"]]  (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", "2015-10-30 23:08:57.321588"], ["updated_at", "2015-10-30 23:08:57.321588"]]  (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", "x6Wm2_8XGO-oBdpHI-x-uw"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | 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 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", "2015-10-30 23:08:57.333093"], ["updated_at", "2015-10-30 23:08:57.333093"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:08:57.336448"], ["updated_at", "2015-10-30 23:08:57.336448"]]  (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", "2015-10-30 23:08:57.339652"], ["updated_at", "2015-10-30 23:08:57.339652"]]  (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 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", "2015-10-30 23:08:57.346546"], ["updated_at", "2015-10-30 23:08:57.346546"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:08:57.349280"], ["updated_at", "2015-10-30 23:08:57.349280"]]  (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 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", "2015-10-30 23:08:57.370078"], ["updated_at", "2015-10-30 23:08:57.370078"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:08:57.372809"], ["updated_at", "2015-10-30 23:08:57.372809"]]  (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 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", "2015-10-30 23:08:57.380430"], ["updated_at", "2015-10-30 23:08:57.380430"]]  (0.0ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:08:57.382664"], ["updated_at", "2015-10-30 23:08:57.382664"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:08:57.388499"], ["updated_at", "2015-10-30 23:08:57.388499"]]  (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", "2015-10-30 23:08:57.398125"], ["updated_at", "2015-10-30 23:08:57.398125"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:08:57.401118"], ["updated_at", "2015-10-30 23:08:57.401118"]]  (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", "2015-10-30 23:08:57.404175"], ["updated_at", "2015-10-30 23:08:57.404175"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:08:57.411264"], ["updated_at", "2015-10-30 23:08:57.411264"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:08:57.413518"], ["updated_at", "2015-10-30 23:08:57.413518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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 (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:09:33.703326"], ["updated_at", "2015-10-30 23:09:33.703326"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.5ms) 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", "2015-10-30 23:09:33.730512"], ["updated_at", "2015-10-30 23:09:33.730512"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-30 23:09:33.744186"], ["updated_at", "2015-10-30 23:09:33.744186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:33.787305"], ["updated_at", "2015-10-30 23:09:33.787305"]] 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", "2015-10-30 23:09:33.789787"], ["updated_at", "2015-10-30 23:09:33.789787"]] 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.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 1 Adeia::Group Load (0.8ms) SELECT "adeia_groups".* 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:09:33.835004"], ["updated_at", "2015-10-30 23:09:33.835004"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:33.837800"], ["updated_at", "2015-10-30 23:09:33.837800"]]  (0.1ms) 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", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:09:33.841378"], ["updated_at", "2015-10-30 23:09:33.841378"]] 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", "2015-10-30 23:09:33.842783"], ["updated_at", "2015-10-30 23:09:33.842783"]] 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.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.2ms) 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", "2015-10-30 23:09:33.856386"], ["updated_at", "2015-10-30 23:09:33.856386"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:33.860923"], ["updated_at", "2015-10-30 23:09:33.860923"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:33.866957"], ["updated_at", "2015-10-30 23:09:33.866957"]] 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", "2015-10-30 23:09:33.868408"], ["updated_at", "2015-10-30 23:09:33.868408"]] 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" = 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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (0.9ms) 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", "2015-10-30 23:09:33.879262"], ["updated_at", "2015-10-30 23:09:33.879262"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:33.881860"], ["updated_at", "2015-10-30 23:09:33.881860"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:33.885027"], ["updated_at", "2015-10-30 23:09:33.885027"]] 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", "2015-10-30 23:09:33.887918"], ["updated_at", "2015-10-30 23:09:33.887918"]] 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.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.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" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_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", "2015-10-30 23:09:33.903149"], ["updated_at", "2015-10-30 23:09:33.903149"]]  (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", "2015-10-30 23:09:33.906306"], ["updated_at", "2015-10-30 23:09:33.906306"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:33.910309"], ["updated_at", "2015-10-30 23:09:33.910309"]] 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", "2015-10-30 23:09:33.911752"], ["updated_at", "2015-10-30 23:09:33.911752"]] 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.1ms) 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:09:33.921633"], ["updated_at", "2015-10-30 23:09:33.921633"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:33.924189"], ["updated_at", "2015-10-30 23:09:33.924189"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:33.927529"], ["updated_at", "2015-10-30 23:09:33.927529"]] 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", "2015-10-30 23:09:33.929329"], ["updated_at", "2015-10-30 23:09:33.929329"]] 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:09:33.940027"], ["updated_at", "2015-10-30 23:09:33.940027"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:33.942762"], ["updated_at", "2015-10-30 23:09:33.942762"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:33.946628"], ["updated_at", "2015-10-30 23:09:33.946628"]] 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", "2015-10-30 23:09:33.948753"], ["updated_at", "2015-10-30 23:09:33.948753"]] 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" = 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"."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"]]  (1.1ms) 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.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:09:33.961868"], ["updated_at", "2015-10-30 23:09:33.961868"]]  (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", "2015-10-30 23:09:33.967679"], ["updated_at", "2015-10-30 23:09:33.967679"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:33.971936"], ["updated_at", "2015-10-30 23:09:33.971936"]] 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", "2015-10-30 23:09:33.973550"], ["updated_at", "2015-10-30 23:09:33.973550"]] 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" = 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"."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.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" = 1008 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:09:33.984417"], ["updated_at", "2015-10-30 23:09:33.984417"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:33.987227"], ["updated_at", "2015-10-30 23:09:33.987227"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:09:33.992919"], ["updated_at", "2015-10-30 23:09:33.992919"]] 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", "2015-10-30 23:09:33.995407"], ["updated_at", "2015-10-30 23:09:33.995407"]] 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" = 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"."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.2ms) 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:09:34.009108"], ["updated_at", "2015-10-30 23:09:34.009108"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:34.012315"], ["updated_at", "2015-10-30 23:09:34.012315"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:34.017311"], ["updated_at", "2015-10-30 23:09:34.017311"]] 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", "2015-10-30 23:09:34.018962"], ["updated_at", "2015-10-30 23:09:34.018962"]] 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" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."name" = 'share'  (1.2ms) 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", "2015-10-30 23:09:34.031783"], ["updated_at", "2015-10-30 23:09:34.031783"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:34.034658"], ["updated_at", "2015-10-30 23:09:34.034658"]]  (6.2ms) 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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:34.044289"], ["updated_at", "2015-10-30 23:09:34.044289"]] 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", "2015-10-30 23:09:34.045638"], ["updated_at", "2015-10-30 23:09:34.045638"]] 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  (1.1ms) 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", "2015-10-30 23:09:34.055140"], ["updated_at", "2015-10-30 23:09:34.055140"]]  (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", "2015-10-30 23:09:34.059422"], ["updated_at", "2015-10-30 23:09:34.059422"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:34.064816"], ["updated_at", "2015-10-30 23:09:34.064816"]] 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", "2015-10-30 23:09:34.066711"], ["updated_at", "2015-10-30 23:09:34.066711"]] 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" = 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.9ms) 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", "2015-10-30 23:09:34.080120"], ["updated_at", "2015-10-30 23:09:34.080120"]]  (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", "2015-10-30 23:09:34.084268"], ["updated_at", "2015-10-30 23:09:34.084268"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:34.088675"], ["updated_at", "2015-10-30 23:09:34.088675"]] 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", "2015-10-30 23:09:34.090267"], ["updated_at", "2015-10-30 23:09:34.090267"]] 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" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1013 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:09:34.104844"], ["updated_at", "2015-10-30 23:09:34.104844"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:34.107443"], ["updated_at", "2015-10-30 23:09:34.107443"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:34.111161"], ["updated_at", "2015-10-30 23:09:34.111161"]] 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", "2015-10-30 23:09:34.114415"], ["updated_at", "2015-10-30 23:09:34.114415"]] 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" = 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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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", "2015-10-30 23:09:34.129213"], ["updated_at", "2015-10-30 23:09:34.129213"]]  (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", "2015-10-30 23:09:34.133840"], ["updated_at", "2015-10-30 23:09:34.133840"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:34.137683"], ["updated_at", "2015-10-30 23:09:34.137683"]] 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", "2015-10-30 23:09:34.139239"], ["updated_at", "2015-10-30 23:09:34.139239"]] 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" = 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.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" = 1018 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:09:34.150075"], ["updated_at", "2015-10-30 23:09:34.150075"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:34.152726"], ["updated_at", "2015-10-30 23:09:34.152726"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:34.156534"], ["updated_at", "2015-10-30 23:09:34.156534"]] 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", "2015-10-30 23:09:34.159498"], ["updated_at", "2015-10-30 23:09:34.159498"]] 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" = 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"."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.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" = 1020 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 (1.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:09:34.174481"], ["updated_at", "2015-10-30 23:09:34.174481"]]  (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", "2015-10-30 23:09:34.180997"], ["updated_at", "2015-10-30 23:09:34.180997"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:34.185048"], ["updated_at", "2015-10-30 23:09:34.185048"]] 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", "2015-10-30 23:09:34.186423"], ["updated_at", "2015-10-30 23:09:34.186423"]] 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.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" = 1022 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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:09:34.200605"], ["updated_at", "2015-10-30 23:09:34.200605"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", "2015-10-30 23:09:34.206720"], ["updated_at", "2015-10-30 23:09:34.206720"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:09:34.213202"], ["updated_at", "2015-10-30 23:09:34.213202"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:34.216856"], ["updated_at", "2015-10-30 23:09:34.216856"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:34.221228"], ["updated_at", "2015-10-30 23:09:34.221228"]] 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", "2015-10-30 23:09:34.222978"], ["updated_at", "2015-10-30 23:09:34.222978"]] 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" = 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"."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  (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$hSVRafQiFdlRMbnSV2LtY.sAoa559nd8Ip3y24YzWDQkYkwiB.8rq"], ["remember_token", "yeHE-OWoU0AQ_Pq3YEwgWg"], ["created_at", "2015-10-30 23:09:34.241491"], ["updated_at", "2015-10-30 23:09:34.241491"]]  (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", "2015-10-30 23:09:34.245915"], ["updated_at", "2015-10-30 23:09:34.245915"]]  (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", "2015-10-30 23:09:34.249052"], ["updated_at", "2015-10-30 23:09:34.249052"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:34.252289"], ["updated_at", "2015-10-30 23:09:34.252289"]] 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", "2015-10-30 23:09:34.253586"], ["updated_at", "2015-10-30 23:09:34.253586"]] 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.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "yeHE-OWoU0AQ_Pq3YEwgWg"]] 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"."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.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" = '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 24ms (Views: 14.6ms | ActiveRecord: 1.2ms)  (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$bG7yVu6hpP9eRF.7popDx.iVZz.ZVN2tb1jgbDSMR75pynADlIHaW"], ["remember_token", "LvhkBdmWGV_MAFrPzd5Qfg"], ["created_at", "2015-10-30 23:09:34.294070"], ["updated_at", "2015-10-30 23:09:34.294070"]]  (0.0ms) 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", "2015-10-30 23:09:34.297170"], ["updated_at", "2015-10-30 23:09:34.297170"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:34.299988"], ["updated_at", "2015-10-30 23:09:34.299988"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:34.304565"], ["updated_at", "2015-10-30 23:09:34.304565"]] 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", "2015-10-30 23:09:34.306497"], ["updated_at", "2015-10-30 23:09:34.306497"]] 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", "LvhkBdmWGV_MAFrPzd5Qfg"]] 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"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (1.0ms) 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$MTirhGsHyMMGBb2fufSVvO.U8Ky8Uo37Weo4pLfI1QHpVnVs5r9T."], ["remember_token", "sNagNdKxoPBrUx1d2EtIPA"], ["created_at", "2015-10-30 23:09:34.323301"], ["updated_at", "2015-10-30 23:09:34.323301"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:09:34.329151"], ["updated_at", "2015-10-30 23:09:34.329151"]]  (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", "2015-10-30 23:09:34.333356"], ["updated_at", "2015-10-30 23:09:34.333356"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:34.336927"], ["updated_at", "2015-10-30 23:09:34.336927"]] 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", "2015-10-30 23:09:34.345167"], ["updated_at", "2015-10-30 23:09:34.345167"]] 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.2ms) 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$CGK8YzZ9MyhO8WWEmT/OROzkVRnqHYBCiNZEpoYvrC8qKxq6DFEAC"], ["remember_token", "u7Y4cpeXFHiZESQc06ex6A"], ["created_at", "2015-10-30 23:09:34.360348"], ["updated_at", "2015-10-30 23:09:34.360348"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", "2015-10-30 23:09:34.363452"], ["updated_at", "2015-10-30 23:09:34.363452"]]  (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.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", "2015-10-30 23:09:34.367339"], ["updated_at", "2015-10-30 23:09:34.367339"]]  (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", "2015-10-30 23:09:34.369873"], ["updated_at", "2015-10-30 23:09:34.369873"]]  (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", "2015-10-30 23:09:34.371810"], ["updated_at", "2015-10-30 23:09:34.371810"]]  (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", "2015-10-30 23:09:34.373616"], ["updated_at", "2015-10-30 23:09:34.373616"]]  (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", "sNagNdKxoPBrUx1d2EtIPA"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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$DBjnyasEdhkqtpxRs6Dycep8yh.T/lg7NbipOY9WiCMZq08vGXLgm"], ["remember_token", "TaKoTucexX52zfmu-_nGBQ"], ["created_at", "2015-10-30 23:09:34.387288"], ["updated_at", "2015-10-30 23:09:34.387288"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:09:34.390462"], ["updated_at", "2015-10-30 23:09:34.390462"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:34.393699"], ["updated_at", "2015-10-30 23:09:34.393699"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:34.398191"], ["updated_at", "2015-10-30 23:09:34.398191"]] 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", "2015-10-30 23:09:34.399827"], ["updated_at", "2015-10-30 23:09:34.399827"]] 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", "2015-10-30 23:09:34.403172"], ["updated_at", "2015-10-30 23:09:34.403172"]]  (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", "2015-10-30 23:09:34.405048"], ["updated_at", "2015-10-30 23:09:34.405048"]]  (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", "2015-10-30 23:09:34.406655"], ["updated_at", "2015-10-30 23:09:34.406655"]]  (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", "2015-10-30 23:09:34.408278"], ["updated_at", "2015-10-30 23:09:34.408278"]]  (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", "2015-10-30 23:09:34.409832"], ["updated_at", "2015-10-30 23:09:34.409832"]]  (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$iWPo/nGlwMoJKSlOG8xnPOJ.4LYTqrxXquv04ANlWONmlj2zY.lNe"], ["remember_token", "FnxQftpbs2p0BFKW4s6Jfg"], ["created_at", "2015-10-30 23:09:34.413691"], ["updated_at", "2015-10-30 23:09:34.413691"]]  (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", "2015-10-30 23:09:34.415119"], ["updated_at", "2015-10-30 23:09:34.415119"]]  (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", "2015-10-30 23:09:34.416937"], ["updated_at", "2015-10-30 23:09:34.416937"]]  (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.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", "2015-10-30 23:09:34.419759"], ["updated_at", "2015-10-30 23:09:34.419759"]]  (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.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", "2015-10-30 23:09:34.423644"], ["updated_at", "2015-10-30 23:09:34.423644"]]  (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", "2015-10-30 23:09:34.426381"], ["updated_at", "2015-10-30 23:09:34.426381"]]  (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", "TaKoTucexX52zfmu-_nGBQ"]] 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 (user_id = 1 OR id IN (NULL))  (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$iCqGDqeD.lGvovhwUrK6zeDE7tPrrIIiUXL5qLyXAX7M9Ao8vl8su"], ["remember_token", "vzQe27nDaX_XV3d7WVAKpQ"], ["created_at", "2015-10-30 23:09:34.440512"], ["updated_at", "2015-10-30 23:09:34.440512"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:09:34.443831"], ["updated_at", "2015-10-30 23:09:34.443831"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:34.446605"], ["updated_at", "2015-10-30 23:09:34.446605"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:34.449926"], ["updated_at", "2015-10-30 23:09:34.449926"]] 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", "2015-10-30 23:09:34.451174"], ["updated_at", "2015-10-30 23:09:34.451174"]] 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", "2015-10-30 23:09:34.454612"], ["updated_at", "2015-10-30 23:09:34.454612"]]  (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", "2015-10-30 23:09:34.456520"], ["updated_at", "2015-10-30 23:09:34.456520"]]  (0.2ms) 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", "2015-10-30 23:09:34.459976"], ["updated_at", "2015-10-30 23:09:34.459976"]]  (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", "2015-10-30 23:09:34.462677"], ["updated_at", "2015-10-30 23:09:34.462677"]]  (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", "2015-10-30 23:09:34.465709"], ["updated_at", "2015-10-30 23:09:34.465709"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$KhzZfRY3Enp17DrBo.7Q1.pwfjhZ9zNcWKGl3K7YnJ9KEaM1h7M5W"], ["remember_token", "Iau0Hi8Ax6JBBr1pyZ1tyw"], ["created_at", "2015-10-30 23:09:34.471158"], ["updated_at", "2015-10-30 23:09:34.471158"]]  (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", "2015-10-30 23:09:34.473585"], ["updated_at", "2015-10-30 23:09:34.473585"]]  (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", "2015-10-30 23:09:34.477538"], ["updated_at", "2015-10-30 23:09:34.477538"]]  (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", "2015-10-30 23:09:34.480554"], ["updated_at", "2015-10-30 23:09:34.480554"]]  (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", "2015-10-30 23:09:34.483651"], ["updated_at", "2015-10-30 23:09:34.483651"]]  (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", "2015-10-30 23:09:34.485985"], ["updated_at", "2015-10-30 23:09:34.485985"]]  (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", "2015-10-30 23:09:34.488301"], ["updated_at", "2015-10-30 23:09:34.488301"]]  (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.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:34.494522"], ["updated_at", "2015-10-30 23:09:34.494522"]] 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", "2015-10-30 23:09:34.495904"], ["updated_at", "2015-10-30 23:09:34.495904"]] 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", "vzQe27nDaX_XV3d7WVAKpQ"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.6ms) Article Load (0.2ms) 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$F5J6aFV3CYnsI8.DEpbYnOXQ7JWJ4Suj/ZimX7FP/jMGR9YivnrLu"], ["remember_token", "aDGrwrDnL0gBt67cUA8Ebg"], ["created_at", "2015-10-30 23:09:34.511344"], ["updated_at", "2015-10-30 23:09:34.511344"]]  (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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$oOocpD2ZOKfGKsdm7haYcOqhRNxocNlsQkvsg.X6aEwVrQSuvk5Xu"], ["remember_token", "RT6Cv8cVYtoNrJ5y0gU11g"], ["created_at", "2015-10-30 23:09:34.515828"], ["updated_at", "2015-10-30 23:09:34.515828"]]  (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", "2015-10-30 23:09:34.517842"], ["updated_at", "2015-10-30 23:09:34.517842"]]  (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", "2015-10-30 23:09:34.520393"], ["updated_at", "2015-10-30 23:09:34.520393"]]  (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", "2015-10-30 23:09:34.522416"], ["updated_at", "2015-10-30 23:09:34.522416"]]  (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", "2015-10-30 23:09:34.524156"], ["updated_at", "2015-10-30 23:09:34.524156"]]  (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", "2015-10-30 23:09:34.525898"], ["updated_at", "2015-10-30 23:09:34.525898"]]  (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", "2015-10-30 23:09:34.527717"], ["updated_at", "2015-10-30 23:09:34.527717"]]  (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", "2015-10-30 23:09:34.529511"], ["updated_at", "2015-10-30 23:09:34.529511"]]  (0.0ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:09:34.533453"], ["updated_at", "2015-10-30 23:09:34.533453"]]  (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", "2015-10-30 23:09:34.537876"], ["updated_at", "2015-10-30 23:09:34.537876"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:34.542649"], ["updated_at", "2015-10-30 23:09:34.542649"]] 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", "2015-10-30 23:09:34.545132"], ["updated_at", "2015-10-30 23:09:34.545132"]] 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:34.554400"], ["updated_at", "2015-10-30 23:09:34.554400"]] 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", "2015-10-30 23:09:34.555998"], ["updated_at", "2015-10-30 23:09:34.555998"]] 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", "aDGrwrDnL0gBt67cUA8Ebg"]] 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.2ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.5ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$Y64Sfq8QKaUAlW9l9NtRquCQw/e1vY97NYIwRIcdkFhW9nMWTNypq"], ["remember_token", "JmR9Fi6sbYBPfJt13LwB2w"], ["created_at", "2015-10-30 23:09:34.571248"], ["updated_at", "2015-10-30 23:09:34.571248"]]  (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", "2015-10-30 23:09:34.574581"], ["updated_at", "2015-10-30 23:09:34.574581"]]  (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", "2015-10-30 23:09:34.578143"], ["updated_at", "2015-10-30 23:09:34.578143"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:34.581711"], ["updated_at", "2015-10-30 23:09:34.581711"]] 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", "2015-10-30 23:09:34.584552"], ["updated_at", "2015-10-30 23:09:34.584552"]] 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.1ms) 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$Cfth3P1UC2XzY5gvyuY4NeEvK6rGKPTOyW5X6q82aG5XclBviRh2K"], ["remember_token", "E-eJ0hUhnuVzGJJrqn_M0g"], ["created_at", "2015-10-30 23:09:34.591891"], ["updated_at", "2015-10-30 23:09:34.591891"]]  (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", "2015-10-30 23:09:34.593591"], ["updated_at", "2015-10-30 23:09:34.593591"]]  (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 1 [["remember_token", "JmR9Fi6sbYBPfJt13LwB2w"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 8ms (Views: 3.7ms | ActiveRecord: 0.5ms)  (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$C1vb6ge2DqUp7QHoWI2rBejFOB4WAXgJFEuWSL6HX8.7ohDd3AXgC"], ["remember_token", "FAwBCH34W60BrqANk312rw"], ["created_at", "2015-10-30 23:09:34.609395"], ["updated_at", "2015-10-30 23:09:34.609395"]]  (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", "2015-10-30 23:09:34.612551"], ["updated_at", "2015-10-30 23:09:34.612551"]]  (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", "2015-10-30 23:09:34.621579"], ["updated_at", "2015-10-30 23:09:34.621579"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:34.624548"], ["updated_at", "2015-10-30 23:09:34.624548"]] 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", "2015-10-30 23:09:34.625859"], ["updated_at", "2015-10-30 23:09:34.625859"]] 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.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$NEtzwoih4JgcISFVWkISuO1o77cHgaCrutFwYl7x1MqQEO2fQsNL."], ["remember_token", "H076NNJr9X8ICsTimMSIbQ"], ["created_at", "2015-10-30 23:09:34.632658"], ["updated_at", "2015-10-30 23:09:34.632658"]]  (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", "2015-10-30 23:09:34.635573"], ["updated_at", "2015-10-30 23:09:34.635573"]]  (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 1 [["remember_token", "FAwBCH34W60BrqANk312rw"]] 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.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"]] Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 0.7ms)  (1.1ms) 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$YnhkDLu8aaorPy60BkyI6.KwsGvePddpy4s7AagJZOb/2FxByQcr2"], ["remember_token", "vM_o0nOovWxKmNVobKCtPQ"], ["created_at", "2015-10-30 23:09:34.654349"], ["updated_at", "2015-10-30 23:09:34.654349"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:09:34.657703"], ["updated_at", "2015-10-30 23:09:34.657703"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:34.661157"], ["updated_at", "2015-10-30 23:09:34.661157"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:34.664292"], ["updated_at", "2015-10-30 23:09:34.664292"]] 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", "2015-10-30 23:09:34.665769"], ["updated_at", "2015-10-30 23:09:34.665769"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "vM_o0nOovWxKmNVobKCtPQ"]] 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 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.3ms) Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.5ms)  (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$MphiFtrtU.h39r0dkP1QROl55wS6nWH16ZIDcpQFNnzLlXDhuaFA."], ["remember_token", "YgyYtmnAIjUFldUJlROzig"], ["created_at", "2015-10-30 23:09:34.684067"], ["updated_at", "2015-10-30 23:09:34.684067"]]  (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", "2015-10-30 23:09:34.689077"], ["updated_at", "2015-10-30 23:09:34.689077"]]  (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", "2015-10-30 23:09:34.692492"], ["updated_at", "2015-10-30 23:09:34.692492"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:34.696017"], ["updated_at", "2015-10-30 23:09:34.696017"]] 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", "2015-10-30 23:09:34.697525"], ["updated_at", "2015-10-30 23:09:34.697525"]] 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.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$zF4i7KkwW6Xt/tEveQW8Kuwul6Rzi3xeXidqylbG6z2ki7raueKfa"], ["remember_token", "IwEmV8IDhajW4dSXQtTU4Q"], ["created_at", "2015-10-30 23:09:34.703239"], ["updated_at", "2015-10-30 23:09:34.703239"]]  (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", "2015-10-30 23:09:34.704863"], ["updated_at", "2015-10-30 23:09:34.704863"]]  (0.2ms) 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", "YgyYtmnAIjUFldUJlROzig"]] 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.3ms) Completed 200 OK in 10ms (Views: 2.9ms | ActiveRecord: 1.0ms)  (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$ns9Mf.YkKSwuTmUrI/dpLeNBdhdKlvtauPrBWx5exmsFmGhYYPrVa"], ["remember_token", "lUoGp7VMNXk0OFIEzOJ00w"], ["created_at", "2015-10-30 23:09:34.723672"], ["updated_at", "2015-10-30 23:09:34.723672"]]  (0.0ms) 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", "2015-10-30 23:09:34.727523"], ["updated_at", "2015-10-30 23:09:34.727523"]]  (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", "2015-10-30 23:09:34.731031"], ["updated_at", "2015-10-30 23:09:34.731031"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:34.734164"], ["updated_at", "2015-10-30 23:09:34.734164"]] 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", "2015-10-30 23:09:34.735469"], ["updated_at", "2015-10-30 23:09:34.735469"]] 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 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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$lRMnLVp/9a0I7Wm8Dyy05ubbEO3ZgU2lKkuC01FloBOX2zZnBF4kW"], ["remember_token", "fo2Gb8yrwolX21yFUEfaAA"], ["created_at", "2015-10-30 23:09:34.742825"], ["updated_at", "2015-10-30 23:09:34.742825"]]  (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", "2015-10-30 23:09:34.745111"], ["updated_at", "2015-10-30 23:09:34.745111"]]  (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", "lUoGp7VMNXk0OFIEzOJ00w"]] 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.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"."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.4ms) Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.6ms)  (0.9ms) 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", "2015-10-30 23:09:34.759619"], ["updated_at", "2015-10-30 23:09:34.759619"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:09:34.762108"], ["updated_at", "2015-10-30 23:09:34.762108"]]  (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", "2015-10-30 23:09:34.764684"], ["updated_at", "2015-10-30 23:09:34.764684"]]  (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 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:09:34.772811"], ["updated_at", "2015-10-30 23:09:34.772811"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:34.775928"], ["updated_at", "2015-10-30 23:09:34.775928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:09:34.796523"], ["updated_at", "2015-10-30 23:09:34.796523"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:34.799064"], ["updated_at", "2015-10-30 23:09:34.799064"]]  (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 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", "2015-10-30 23:09:34.807133"], ["updated_at", "2015-10-30 23:09:34.807133"]]  (0.0ms) 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", "2015-10-30 23:09:34.809264"], ["updated_at", "2015-10-30 23:09:34.809264"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:34.811911"], ["updated_at", "2015-10-30 23:09:34.811911"]]  (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 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", "2015-10-30 23:09:34.820699"], ["updated_at", "2015-10-30 23:09:34.820699"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:09:34.824129"], ["updated_at", "2015-10-30 23:09:34.824129"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:34.827526"], ["updated_at", "2015-10-30 23:09:34.827526"]]  (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 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", "2015-10-30 23:09:34.835115"], ["updated_at", "2015-10-30 23:09:34.835115"]]  (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", "2015-10-30 23:09:34.837798"], ["updated_at", "2015-10-30 23:09:34.837798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (1.2ms) 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 (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:09:50.665873"], ["updated_at", "2015-10-30 23:09:50.665873"]]  (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", "2015-10-30 23:09:50.690123"], ["updated_at", "2015-10-30 23:09:50.690123"]]  (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", "2015-10-30 23:09:50.702953"], ["updated_at", "2015-10-30 23:09:50.702953"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:50.745396"], ["updated_at", "2015-10-30 23:09:50.745396"]] 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", "2015-10-30 23:09:50.748183"], ["updated_at", "2015-10-30 23:09:50.748183"]] 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  (1.0ms) 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.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" = 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:09:50.793524"], ["updated_at", "2015-10-30 23:09:50.793524"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:50.796225"], ["updated_at", "2015-10-30 23:09:50.796225"]]  (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", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:09:50.799721"], ["updated_at", "2015-10-30 23:09:50.799721"]] 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", "2015-10-30 23:09:50.801011"], ["updated_at", "2015-10-30 23:09:50.801011"]] 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" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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", "2015-10-30 23:09:50.812050"], ["updated_at", "2015-10-30 23:09:50.812050"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:50.814781"], ["updated_at", "2015-10-30 23:09:50.814781"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:50.818880"], ["updated_at", "2015-10-30 23:09:50.818880"]] 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", "2015-10-30 23:09:50.820562"], ["updated_at", "2015-10-30 23:09:50.820562"]] 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" = 1003  (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"."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.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", "2015-10-30 23:09:50.836990"], ["updated_at", "2015-10-30 23:09:50.836990"]]  (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", "2015-10-30 23:09:50.841155"], ["updated_at", "2015-10-30 23:09:50.841155"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:50.845373"], ["updated_at", "2015-10-30 23:09:50.845373"]] 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", "2015-10-30 23:09:50.846983"], ["updated_at", "2015-10-30 23:09:50.846983"]] 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" = 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"."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.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" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:09:50.857910"], ["updated_at", "2015-10-30 23:09:50.857910"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:50.860462"], ["updated_at", "2015-10-30 23:09:50.860462"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:50.863551"], ["updated_at", "2015-10-30 23:09:50.863551"]] 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", "2015-10-30 23:09:50.866114"], ["updated_at", "2015-10-30 23:09:50.866114"]] 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.1ms) 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:09:50.877755"], ["updated_at", "2015-10-30 23:09:50.877755"]]  (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", "2015-10-30 23:09:50.880427"], ["updated_at", "2015-10-30 23:09:50.880427"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:50.883541"], ["updated_at", "2015-10-30 23:09:50.883541"]] 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", "2015-10-30 23:09:50.885944"], ["updated_at", "2015-10-30 23:09:50.885944"]] 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"]]  (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", "2015-10-30 23:09:50.897995"], ["updated_at", "2015-10-30 23:09:50.897995"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:50.902256"], ["updated_at", "2015-10-30 23:09:50.902256"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:50.908666"], ["updated_at", "2015-10-30 23:09:50.908666"]] 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", "2015-10-30 23:09:50.910417"], ["updated_at", "2015-10-30 23:09:50.910417"]] 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" = 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"."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.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" = 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:09:50.922179"], ["updated_at", "2015-10-30 23:09:50.922179"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:50.924874"], ["updated_at", "2015-10-30 23:09:50.924874"]]  (0.0ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:50.928206"], ["updated_at", "2015-10-30 23:09:50.928206"]] 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", "2015-10-30 23:09:50.931351"], ["updated_at", "2015-10-30 23:09:50.931351"]] 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" = 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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:09:50.943450"], ["updated_at", "2015-10-30 23:09:50.943450"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:50.946229"], ["updated_at", "2015-10-30 23:09:50.946229"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:09:50.950221"], ["updated_at", "2015-10-30 23:09:50.950221"]] 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", "2015-10-30 23:09:50.951779"], ["updated_at", "2015-10-30 23:09:50.951779"]] 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.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"."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.1ms) 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:09:50.963556"], ["updated_at", "2015-10-30 23:09:50.963556"]]  (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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:50.966233"], ["updated_at", "2015-10-30 23:09:50.966233"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:50.971068"], ["updated_at", "2015-10-30 23:09:50.971068"]] 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", "2015-10-30 23:09:50.972680"], ["updated_at", "2015-10-30 23:09:50.972680"]] 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" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."name" = 'share'  (1.1ms) 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", "2015-10-30 23:09:50.986293"], ["updated_at", "2015-10-30 23:09:50.986293"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:50.990713"], ["updated_at", "2015-10-30 23:09:50.990713"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:51.001967"], ["updated_at", "2015-10-30 23:09:51.001967"]] 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", "2015-10-30 23:09:51.004020"], ["updated_at", "2015-10-30 23:09:51.004020"]] 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.9ms) 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", "2015-10-30 23:09:51.012432"], ["updated_at", "2015-10-30 23:09:51.012432"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:51.015123"], ["updated_at", "2015-10-30 23:09:51.015123"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:51.018375"], ["updated_at", "2015-10-30 23:09:51.018375"]] 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", "2015-10-30 23:09:51.020410"], ["updated_at", "2015-10-30 23:09:51.020410"]] 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" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1012 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:09:51.033033"], ["updated_at", "2015-10-30 23:09:51.033033"]]  (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", "2015-10-30 23:09:51.036505"], ["updated_at", "2015-10-30 23:09:51.036505"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:51.040372"], ["updated_at", "2015-10-30 23:09:51.040372"]] 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", "2015-10-30 23:09:51.041855"], ["updated_at", "2015-10-30 23:09:51.041855"]] 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" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:09:51.055367"], ["updated_at", "2015-10-30 23:09:51.055367"]]  (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", "2015-10-30 23:09:51.059227"], ["updated_at", "2015-10-30 23:09:51.059227"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:51.063308"], ["updated_at", "2015-10-30 23:09:51.063308"]] 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", "2015-10-30 23:09:51.064719"], ["updated_at", "2015-10-30 23:09:51.064719"]] 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" = 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"."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.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" = 1016 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", "2015-10-30 23:09:51.078707"], ["updated_at", "2015-10-30 23:09:51.078707"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:51.081335"], ["updated_at", "2015-10-30 23:09:51.081335"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:51.084464"], ["updated_at", "2015-10-30 23:09:51.084464"]] 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", "2015-10-30 23:09:51.086595"], ["updated_at", "2015-10-30 23:09:51.086595"]] 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" = 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"."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.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" = 1018 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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", "2015-10-30 23:09:51.102839"], ["updated_at", "2015-10-30 23:09:51.102839"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:51.107357"], ["updated_at", "2015-10-30 23:09:51.107357"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:51.112751"], ["updated_at", "2015-10-30 23:09:51.112751"]] 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", "2015-10-30 23:09:51.114518"], ["updated_at", "2015-10-30 23:09:51.114518"]] 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.3ms) 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" = 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"."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.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" = 1020 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", "2015-10-30 23:09:51.129413"], ["updated_at", "2015-10-30 23:09:51.129413"]]  (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", "2015-10-30 23:09:51.132265"], ["updated_at", "2015-10-30 23:09:51.132265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:51.136597"], ["updated_at", "2015-10-30 23:09:51.136597"]] 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", "2015-10-30 23:09:51.138148"], ["updated_at", "2015-10-30 23:09:51.138148"]] 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.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" = 1022 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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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", "2015-10-30 23:09:51.154691"], ["updated_at", "2015-10-30 23:09:51.154691"]]  (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", "2015-10-30 23:09:51.158654"], ["updated_at", "2015-10-30 23:09:51.158654"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:09:51.164342"], ["updated_at", "2015-10-30 23:09:51.164342"]]  (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", "2015-10-30 23:09:51.168980"], ["updated_at", "2015-10-30 23:09:51.168980"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:51.174875"], ["updated_at", "2015-10-30 23:09:51.174875"]] 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", "2015-10-30 23:09:51.176745"], ["updated_at", "2015-10-30 23:09:51.176745"]] 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" = 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"."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.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$wgL66RvJ3kiKBpEcWSsvgusguLt.Ka5C9Wusi9xTf6RsDAlP5bDMe"], ["remember_token", "SJ489kRJcvJZXDEpVMMsfQ"], ["created_at", "2015-10-30 23:09:51.197098"], ["updated_at", "2015-10-30 23:09:51.197098"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:09:51.201274"], ["updated_at", "2015-10-30 23:09:51.201274"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:51.203836"], ["updated_at", "2015-10-30 23:09:51.203836"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:51.206762"], ["updated_at", "2015-10-30 23:09:51.206762"]] 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", "2015-10-30 23:09:51.208256"], ["updated_at", "2015-10-30 23:09:51.208256"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "SJ489kRJcvJZXDEpVMMsfQ"]] 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.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" = '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 21ms (Views: 14.0ms | ActiveRecord: 0.9ms)  (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$E4SFTZgTL7CSD92l8jEiYekfn8l0uF5Ij5Ypzt..OQJTocaLzSXJu"], ["remember_token", "IzSJaGrDojzrigcVyYQqXw"], ["created_at", "2015-10-30 23:09:51.242409"], ["updated_at", "2015-10-30 23:09:51.242409"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:09:51.245622"], ["updated_at", "2015-10-30 23:09:51.245622"]]  (0.2ms) 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", "2015-10-30 23:09:51.251247"], ["updated_at", "2015-10-30 23:09:51.251247"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:51.255861"], ["updated_at", "2015-10-30 23:09:51.255861"]] 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", "2015-10-30 23:09:51.257571"], ["updated_at", "2015-10-30 23:09:51.257571"]] 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", "IzSJaGrDojzrigcVyYQqXw"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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$LeuAXi8xL28JTwizTzdrcOLLj1zXIMz4fWgqQEVLVlqIxI7jKdSZ."], ["remember_token", "IfuV22d8JT_6y-GxMoDuNg"], ["created_at", "2015-10-30 23:09:51.271521"], ["updated_at", "2015-10-30 23:09:51.271521"]]  (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", "2015-10-30 23:09:51.275518"], ["updated_at", "2015-10-30 23:09:51.275518"]]  (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", "2015-10-30 23:09:51.279274"], ["updated_at", "2015-10-30 23:09:51.279274"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:51.282371"], ["updated_at", "2015-10-30 23:09:51.282371"]] 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", "2015-10-30 23:09:51.290521"], ["updated_at", "2015-10-30 23:09:51.290521"]] 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.1ms) 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$H3vrj/MI/hmUxSJGcyKSdeAMx3zFKLEidhBLdSE555lFFJmvGiPHK"], ["remember_token", "HwJWeEPMV0R68N0yWDgUJw"], ["created_at", "2015-10-30 23:09:51.301760"], ["updated_at", "2015-10-30 23:09:51.301760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", "2015-10-30 23:09:51.304101"], ["updated_at", "2015-10-30 23:09:51.304101"]]  (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 "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-30 23:09:51.307678"], ["updated_at", "2015-10-30 23:09:51.307678"]]  (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", "2015-10-30 23:09:51.309894"], ["updated_at", "2015-10-30 23:09:51.309894"]]  (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", "2015-10-30 23:09:51.311620"], ["updated_at", "2015-10-30 23:09:51.311620"]]  (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", "2015-10-30 23:09:51.313411"], ["updated_at", "2015-10-30 23:09:51.313411"]]  (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", "IfuV22d8JT_6y-GxMoDuNg"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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$Un9n9lbl3iIcPzgoUHP3GuIekFuJnRaiI5vqOz/ZxEWrknPpQtm.."], ["remember_token", "pwVqzMgKWGtRibB2T-mAvA"], ["created_at", "2015-10-30 23:09:51.327102"], ["updated_at", "2015-10-30 23:09:51.327102"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:09:51.330269"], ["updated_at", "2015-10-30 23:09:51.330269"]]  (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", "2015-10-30 23:09:51.333115"], ["updated_at", "2015-10-30 23:09:51.333115"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:51.336892"], ["updated_at", "2015-10-30 23:09:51.336892"]] 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", "2015-10-30 23:09:51.338275"], ["updated_at", "2015-10-30 23:09:51.338275"]] 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", "2015-10-30 23:09:51.342304"], ["updated_at", "2015-10-30 23:09:51.342304"]]  (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", "2015-10-30 23:09:51.344133"], ["updated_at", "2015-10-30 23:09:51.344133"]]  (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", "2015-10-30 23:09:51.345714"], ["updated_at", "2015-10-30 23:09:51.345714"]]  (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", "2015-10-30 23:09:51.347315"], ["updated_at", "2015-10-30 23:09:51.347315"]]  (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", "2015-10-30 23:09:51.348858"], ["updated_at", "2015-10-30 23:09:51.348858"]]  (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$utgl7VEYDPlxPuS9oYqAguOXYakOkDnT.X0E0vJkIk2jTGmFRe9EO"], ["remember_token", "hLmbc5aCfB2uHBnqPkzIvw"], ["created_at", "2015-10-30 23:09:51.352651"], ["updated_at", "2015-10-30 23:09:51.352651"]]  (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", "2015-10-30 23:09:51.354343"], ["updated_at", "2015-10-30 23:09:51.354343"]]  (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", "2015-10-30 23:09:51.356327"], ["updated_at", "2015-10-30 23:09:51.356327"]]  (0.0ms) 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.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", "2015-10-30 23:09:51.358236"], ["updated_at", "2015-10-30 23:09:51.358236"]]  (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.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", "2015-10-30 23:09:51.362932"], ["updated_at", "2015-10-30 23:09:51.362932"]]  (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", "2015-10-30 23:09:51.366057"], ["updated_at", "2015-10-30 23:09:51.366057"]]  (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", "pwVqzMgKWGtRibB2T-mAvA"]] 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" = 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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms) 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.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$cy.kWrbteY7cZRmRA0NOJuIZpIC8NCI26Z8WGrGR.UiUXPi5NDRVO"], ["remember_token", "pO-kZyOepRH7XXDjDw7nDw"], ["created_at", "2015-10-30 23:09:51.380788"], ["updated_at", "2015-10-30 23:09:51.380788"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:09:51.384054"], ["updated_at", "2015-10-30 23:09:51.384054"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:51.386725"], ["updated_at", "2015-10-30 23:09:51.386725"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:51.392931"], ["updated_at", "2015-10-30 23:09:51.392931"]] 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", "2015-10-30 23:09:51.394900"], ["updated_at", "2015-10-30 23:09:51.394900"]] 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.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", "2015-10-30 23:09:51.399397"], ["updated_at", "2015-10-30 23:09:51.399397"]]  (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", "2015-10-30 23:09:51.401496"], ["updated_at", "2015-10-30 23:09:51.401496"]]  (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", "2015-10-30 23:09:51.403841"], ["updated_at", "2015-10-30 23:09:51.403841"]]  (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", "2015-10-30 23:09:51.406066"], ["updated_at", "2015-10-30 23:09:51.406066"]]  (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", "2015-10-30 23:09:51.408120"], ["updated_at", "2015-10-30 23:09:51.408120"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$3K64gkIm9jd6IKExcNV9ke8K3jp6i6YEU.cnu66BkprtXa4Riep4K"], ["remember_token", "UqcVZP8cjUinLSlOF3GlKg"], ["created_at", "2015-10-30 23:09:51.412890"], ["updated_at", "2015-10-30 23:09:51.412890"]]  (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", "2015-10-30 23:09:51.414969"], ["updated_at", "2015-10-30 23:09:51.414969"]]  (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", "2015-10-30 23:09:51.417000"], ["updated_at", "2015-10-30 23:09:51.417000"]]  (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", "2015-10-30 23:09:51.418747"], ["updated_at", "2015-10-30 23:09:51.418747"]]  (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", "2015-10-30 23:09:51.420531"], ["updated_at", "2015-10-30 23:09:51.420531"]]  (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", "2015-10-30 23:09:51.423151"], ["updated_at", "2015-10-30 23:09:51.423151"]]  (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", "2015-10-30 23:09:51.425250"], ["updated_at", "2015-10-30 23:09:51.425250"]]  (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", "articles"]] 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_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:51.430361"], ["updated_at", "2015-10-30 23:09:51.430361"]] 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", "2015-10-30 23:09:51.431839"], ["updated_at", "2015-10-30 23:09:51.431839"]] 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", "pO-kZyOepRH7XXDjDw7nDw"]] 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.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 7ms (Views: 1.1ms | ActiveRecord: 0.6ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$bFIJ6EwpZcqdEd2mzefdg.Gi85hVIrNxf7Mofc5QffzuR6Ke5GOHu"], ["remember_token", "FT1oA_gLJHKG50ClM5K3Xg"], ["created_at", "2015-10-30 23:09:51.452637"], ["updated_at", "2015-10-30 23:09:51.452637"]]  (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.7ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$3P4dmDGgu1ObzeKzlo9hZex19S7dcKDXXUuIlepNohpphNFnClScK"], ["remember_token", "lgw1FD4J9-1izbnQFV-pbg"], ["created_at", "2015-10-30 23:09:51.457377"], ["updated_at", "2015-10-30 23:09:51.457377"]]  (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", "2015-10-30 23:09:51.459851"], ["updated_at", "2015-10-30 23:09:51.459851"]]  (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", "2015-10-30 23:09:51.461908"], ["updated_at", "2015-10-30 23:09:51.461908"]]  (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", "2015-10-30 23:09:51.463877"], ["updated_at", "2015-10-30 23:09:51.463877"]]  (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", "2015-10-30 23:09:51.466102"], ["updated_at", "2015-10-30 23:09:51.466102"]]  (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", "2015-10-30 23:09:51.468040"], ["updated_at", "2015-10-30 23:09:51.468040"]]  (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.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", "2015-10-30 23:09:51.470786"], ["updated_at", "2015-10-30 23:09:51.470786"]]  (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", "2015-10-30 23:09:51.474228"], ["updated_at", "2015-10-30 23:09:51.474228"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:09:51.478523"], ["updated_at", "2015-10-30 23:09:51.478523"]]  (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", "2015-10-30 23:09:51.481408"], ["updated_at", "2015-10-30 23:09:51.481408"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:51.485429"], ["updated_at", "2015-10-30 23:09:51.485429"]] 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", "2015-10-30 23:09:51.487092"], ["updated_at", "2015-10-30 23:09:51.487092"]] 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.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_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:51.494555"], ["updated_at", "2015-10-30 23:09:51.494555"]] 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", "2015-10-30 23:09:51.495918"], ["updated_at", "2015-10-30 23:09:51.495918"]] 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", "FT1oA_gLJHKG50ClM5K3Xg"]] 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.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 7ms (Views: 1.1ms | ActiveRecord: 0.7ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$s3d9xoYuRlGy43yhgrCcWOWVU0/fFNF.Ih8xYTZqSx7wj4IbwaMJW"], ["remember_token", "D124zkzKDBgwwnT7yvcMlA"], ["created_at", "2015-10-30 23:09:51.516690"], ["updated_at", "2015-10-30 23:09:51.516690"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:09:51.520250"], ["updated_at", "2015-10-30 23:09:51.520250"]]  (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", "2015-10-30 23:09:51.523330"], ["updated_at", "2015-10-30 23:09:51.523330"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:51.526707"], ["updated_at", "2015-10-30 23:09:51.526707"]] 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", "2015-10-30 23:09:51.528113"], ["updated_at", "2015-10-30 23:09:51.528113"]] 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.1ms) 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$lnCCpM40PNSAPVxiRW3gNO6MgM.vm/lnU44sIVR/ewS77PBQrcUTm"], ["remember_token", "xt2AeJm6953Q6gKmjBY2CQ"], ["created_at", "2015-10-30 23:09:51.534068"], ["updated_at", "2015-10-30 23:09:51.534068"]]  (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", "2015-10-30 23:09:51.535653"], ["updated_at", "2015-10-30 23:09:51.535653"]]  (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 1 [["remember_token", "D124zkzKDBgwwnT7yvcMlA"]] Article Load (0.2ms) 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.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::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" = 'articles' [["read_right", "t"]] Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 12ms (Views: 4.3ms | ActiveRecord: 1.0ms)  (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$gU1VbtwYL/pTIaEvRRDK0OMdMYDe8DmW8dLmEXiSvxqk40FB4.I8e"], ["remember_token", "LOHc_Vk54eEr3htAtnYJSg"], ["created_at", "2015-10-30 23:09:51.556246"], ["updated_at", "2015-10-30 23:09:51.556246"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:09:51.559826"], ["updated_at", "2015-10-30 23:09:51.559826"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:51.571475"], ["updated_at", "2015-10-30 23:09:51.571475"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:51.577241"], ["updated_at", "2015-10-30 23:09:51.577241"]] 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", "2015-10-30 23:09:51.579279"], ["updated_at", "2015-10-30 23:09:51.579279"]] 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.1ms) 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$KmfkMRrza5CAnX9dRjI.He4SUMnSjKOY.tuCd2hxd.45ftMAnntTy"], ["remember_token", "bSGwF3yIqcY5KgAaEbuEVA"], ["created_at", "2015-10-30 23:09:51.586712"], ["updated_at", "2015-10-30 23:09:51.586712"]]  (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", "2015-10-30 23:09:51.588446"], ["updated_at", "2015-10-30 23:09:51.588446"]]  (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", "LOHc_Vk54eEr3htAtnYJSg"]] 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.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"]] Rendered articles/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (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$5jarkH.TPBVA15oKtcnVrOoug0V0TxF77fGKWecA1n834sz0kOPdG"], ["remember_token", "R89EnaKl43PP52Q-fpTu_w"], ["created_at", "2015-10-30 23:09:51.601800"], ["updated_at", "2015-10-30 23:09:51.601800"]]  (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", "2015-10-30 23:09:51.605080"], ["updated_at", "2015-10-30 23:09:51.605080"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:51.609334"], ["updated_at", "2015-10-30 23:09:51.609334"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:51.614052"], ["updated_at", "2015-10-30 23:09:51.614052"]] 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", "2015-10-30 23:09:51.615413"], ["updated_at", "2015-10-30 23:09:51.615413"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "R89EnaKl43PP52Q-fpTu_w"]] 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 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.3ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.4ms)  (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$JyrODVc2sgWFOB68ER5b4OqUg3S4v/ucmNDK7kKt1Df/jBnTwu3TG"], ["remember_token", "Z5qSwtXGVrnsf8fNHNRXxg"], ["created_at", "2015-10-30 23:09:51.630003"], ["updated_at", "2015-10-30 23:09:51.630003"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:09:51.633114"], ["updated_at", "2015-10-30 23:09:51.633114"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:51.635668"], ["updated_at", "2015-10-30 23:09:51.635668"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:51.639927"], ["updated_at", "2015-10-30 23:09:51.639927"]] 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", "2015-10-30 23:09:51.641877"], ["updated_at", "2015-10-30 23:09:51.641877"]] 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.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$ODRlBnAGlijiQKIb26PzSOiXxJa4KM82zEPt1T6HYV.NsmgCbpvpu"], ["remember_token", "z83rz_9EYaRKSYDBeU4-QQ"], ["created_at", "2015-10-30 23:09:51.648175"], ["updated_at", "2015-10-30 23:09:51.648175"]]  (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", "2015-10-30 23:09:51.649918"], ["updated_at", "2015-10-30 23:09:51.649918"]]  (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", "Z5qSwtXGVrnsf8fNHNRXxg"]] 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.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.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" = 1 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] Rendered articles/edit.html.erb within layouts/application (0.5ms) Completed 200 OK in 9ms (Views: 3.5ms | ActiveRecord: 0.9ms)  (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$JMvPofiHqNeJsOfYDLRCb.lH3JSpTBlZy9c4zdOGrA4ldJmaVE/CS"], ["remember_token", "M1lTxJwH2JHkwDflPBcOAw"], ["created_at", "2015-10-30 23:09:51.669580"], ["updated_at", "2015-10-30 23:09:51.669580"]]  (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", "2015-10-30 23:09:51.674647"], ["updated_at", "2015-10-30 23:09:51.674647"]]  (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", "2015-10-30 23:09:51.678076"], ["updated_at", "2015-10-30 23:09:51.678076"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:09:51.681820"], ["updated_at", "2015-10-30 23:09:51.681820"]] 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", "2015-10-30 23:09:51.683408"], ["updated_at", "2015-10-30 23:09:51.683408"]] 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.2ms) 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$ThGC4odhcWUEp.nB1QBDmenjCWSntcRsUB55wrqP4CA6q7A1fbh9q"], ["remember_token", "fmGOSPdC7VZXZtA4UWNyRw"], ["created_at", "2015-10-30 23:09:51.690203"], ["updated_at", "2015-10-30 23:09:51.690203"]]  (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", "2015-10-30 23:09:51.691865"], ["updated_at", "2015-10-30 23:09:51.691865"]]  (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", "M1lTxJwH2JHkwDflPBcOAw"]] 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.4ms) Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.4ms)  (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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:09:51.705157"], ["updated_at", "2015-10-30 23:09:51.705157"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:09:51.708629"], ["updated_at", "2015-10-30 23:09:51.708629"]]  (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", "2015-10-30 23:09:51.712421"], ["updated_at", "2015-10-30 23:09:51.712421"]]  (0.1ms) 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", "2015-10-30 23:09:51.720118"], ["updated_at", "2015-10-30 23:09:51.720118"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:51.722744"], ["updated_at", "2015-10-30 23:09:51.722744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.2ms) begin transaction Adeia::Group Load (0.3ms) 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", "2015-10-30 23:09:51.745840"], ["updated_at", "2015-10-30 23:09:51.745840"]]  (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", "2015-10-30 23:09:51.749230"], ["updated_at", "2015-10-30 23:09:51.749230"]]  (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", "2015-10-30 23:09:51.757787"], ["updated_at", "2015-10-30 23:09:51.757787"]]  (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", "2015-10-30 23:09:51.760229"], ["updated_at", "2015-10-30 23:09:51.760229"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:51.763506"], ["updated_at", "2015-10-30 23:09:51.763506"]]  (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 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", "2015-10-30 23:09:51.772187"], ["updated_at", "2015-10-30 23:09:51.772187"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:09:51.775752"], ["updated_at", "2015-10-30 23:09:51.775752"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:09:51.780905"], ["updated_at", "2015-10-30 23:09:51.780905"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) 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", "2015-10-30 23:09:51.791269"], ["updated_at", "2015-10-30 23:09:51.791269"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:09:51.794637"], ["updated_at", "2015-10-30 23:09:51.794637"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.9ms) 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.5ms) 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", "2015-10-30 23:10:07.178705"], ["updated_at", "2015-10-30 23:10:07.178705"]]  (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", "2015-10-30 23:10:07.202756"], ["updated_at", "2015-10-30 23:10:07.202756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-30 23:10:07.219316"], ["updated_at", "2015-10-30 23:10:07.219316"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.258877"], ["updated_at", "2015-10-30 23:10:07.258877"]] 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", "2015-10-30 23:10:07.261959"], ["updated_at", "2015-10-30 23:10:07.261959"]] 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  (1.0ms) 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:07.307860"], ["updated_at", "2015-10-30 23:10:07.307860"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:07.311155"], ["updated_at", "2015-10-30 23:10:07.311155"]]  (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", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:10:07.315310"], ["updated_at", "2015-10-30 23:10:07.315310"]] 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", "2015-10-30 23:10:07.317877"], ["updated_at", "2015-10-30 23:10:07.317877"]] 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.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.1ms) 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.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", "2015-10-30 23:10:07.328998"], ["updated_at", "2015-10-30 23:10:07.328998"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:07.331665"], ["updated_at", "2015-10-30 23:10:07.331665"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.334904"], ["updated_at", "2015-10-30 23:10:07.334904"]] 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", "2015-10-30 23:10:07.336601"], ["updated_at", "2015-10-30 23:10:07.336601"]] 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" = 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.2ms) 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", "2015-10-30 23:10:07.351521"], ["updated_at", "2015-10-30 23:10:07.351521"]]  (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", "2015-10-30 23:10:07.355412"], ["updated_at", "2015-10-30 23:10:07.355412"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.359745"], ["updated_at", "2015-10-30 23:10:07.359745"]] 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", "2015-10-30 23:10:07.361693"], ["updated_at", "2015-10-30 23:10:07.361693"]] 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.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"."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.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" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_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", "2015-10-30 23:10:07.374257"], ["updated_at", "2015-10-30 23:10:07.374257"]]  (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", "2015-10-30 23:10:07.377147"], ["updated_at", "2015-10-30 23:10:07.377147"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.380726"], ["updated_at", "2015-10-30 23:10:07.380726"]] 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", "2015-10-30 23:10:07.382134"], ["updated_at", "2015-10-30 23:10:07.382134"]] 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" = 1005 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1005 AND "adeia_elements"."name" = 'admin/articles' [["create_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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:07.391178"], ["updated_at", "2015-10-30 23:10:07.391178"]]  (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", "2015-10-30 23:10:07.393963"], ["updated_at", "2015-10-30 23:10:07.393963"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.397423"], ["updated_at", "2015-10-30 23:10:07.397423"]] 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", "2015-10-30 23:10:07.399578"], ["updated_at", "2015-10-30 23:10:07.399578"]] 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.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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:07.412259"], ["updated_at", "2015-10-30 23:10:07.412259"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:07.415126"], ["updated_at", "2015-10-30 23:10:07.415126"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.419106"], ["updated_at", "2015-10-30 23:10:07.419106"]] 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", "2015-10-30 23:10:07.420660"], ["updated_at", "2015-10-30 23:10:07.420660"]] 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" = 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"."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.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", "2015-10-30 23:10:07.431299"], ["updated_at", "2015-10-30 23:10:07.431299"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:07.433900"], ["updated_at", "2015-10-30 23:10:07.433900"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.437383"], ["updated_at", "2015-10-30 23:10:07.437383"]] 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", "2015-10-30 23:10:07.439363"], ["updated_at", "2015-10-30 23:10:07.439363"]] 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" = 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"."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.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" = 1008 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:10:07.450279"], ["updated_at", "2015-10-30 23:10:07.450279"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:07.453069"], ["updated_at", "2015-10-30 23:10:07.453069"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:10:07.456979"], ["updated_at", "2015-10-30 23:10:07.456979"]] 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", "2015-10-30 23:10:07.459182"], ["updated_at", "2015-10-30 23:10:07.459182"]] 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" = 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"."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.2ms) 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"]]  (1.1ms) 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", "2015-10-30 23:10:07.474099"], ["updated_at", "2015-10-30 23:10:07.474099"]]  (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", "2015-10-30 23:10:07.477180"], ["updated_at", "2015-10-30 23:10:07.477180"]]  (0.3ms) 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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.481540"], ["updated_at", "2015-10-30 23:10:07.481540"]] 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", "2015-10-30 23:10:07.483037"], ["updated_at", "2015-10-30 23:10:07.483037"]] 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" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."name" = 'share' Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."name" = 'share'  (1.1ms) 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", "2015-10-30 23:10:07.496262"], ["updated_at", "2015-10-30 23:10:07.496262"]]  (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", "2015-10-30 23:10:07.501983"], ["updated_at", "2015-10-30 23:10:07.501983"]]  (6.9ms) 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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.513029"], ["updated_at", "2015-10-30 23:10:07.513029"]] 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", "2015-10-30 23:10:07.514736"], ["updated_at", "2015-10-30 23:10:07.514736"]] 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 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", "2015-10-30 23:10:07.522716"], ["updated_at", "2015-10-30 23:10:07.522716"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:07.526067"], ["updated_at", "2015-10-30 23:10:07.526067"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.529933"], ["updated_at", "2015-10-30 23:10:07.529933"]] 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", "2015-10-30 23:10:07.531362"], ["updated_at", "2015-10-30 23:10:07.531362"]] 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" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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"]]  (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", "2015-10-30 23:10:07.543037"], ["updated_at", "2015-10-30 23:10:07.543037"]]  (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", "2015-10-30 23:10:07.546233"], ["updated_at", "2015-10-30 23:10:07.546233"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.550033"], ["updated_at", "2015-10-30 23:10:07.550033"]] 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", "2015-10-30 23:10:07.551388"], ["updated_at", "2015-10-30 23:10:07.551388"]] 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.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" = 1013 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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:07.566088"], ["updated_at", "2015-10-30 23:10:07.566088"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:07.568820"], ["updated_at", "2015-10-30 23:10:07.568820"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.572142"], ["updated_at", "2015-10-30 23:10:07.572142"]] 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", "2015-10-30 23:10:07.574395"], ["updated_at", "2015-10-30 23:10:07.574395"]] 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.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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) 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", "2015-10-30 23:10:07.591753"], ["updated_at", "2015-10-30 23:10:07.591753"]]  (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", "2015-10-30 23:10:07.596450"], ["updated_at", "2015-10-30 23:10:07.596450"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.600766"], ["updated_at", "2015-10-30 23:10:07.600766"]] 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", "2015-10-30 23:10:07.602461"], ["updated_at", "2015-10-30 23:10:07.602461"]] 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" = 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"."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.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" = 1018 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:07.614553"], ["updated_at", "2015-10-30 23:10:07.614553"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:07.617100"], ["updated_at", "2015-10-30 23:10:07.617100"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.620233"], ["updated_at", "2015-10-30 23:10:07.620233"]] 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", "2015-10-30 23:10:07.622362"], ["updated_at", "2015-10-30 23:10:07.622362"]] 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" = 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.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", "2015-10-30 23:10:07.636648"], ["updated_at", "2015-10-30 23:10:07.636648"]]  (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", "2015-10-30 23:10:07.640568"], ["updated_at", "2015-10-30 23:10:07.640568"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.644902"], ["updated_at", "2015-10-30 23:10:07.644902"]] 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", "2015-10-30 23:10:07.646617"], ["updated_at", "2015-10-30 23:10:07.646617"]] 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.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" = 1022 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" = 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:10:07.661759"], ["updated_at", "2015-10-30 23:10:07.661759"]]  (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", "2015-10-30 23:10:07.665648"], ["updated_at", "2015-10-30 23:10:07.665648"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:07.670418"], ["updated_at", "2015-10-30 23:10:07.670418"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:07.672923"], ["updated_at", "2015-10-30 23:10:07.672923"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.676723"], ["updated_at", "2015-10-30 23:10:07.676723"]] 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", "2015-10-30 23:10:07.678436"], ["updated_at", "2015-10-30 23:10:07.678436"]] 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" = 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"."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  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$rKBxHTfqRTwUPqE06lCatOvI9ws6O8VlDIkY/DgAgNxgKrlpME3BG"], ["remember_token", "5OFiu6umE3GgEhG5SpzO-g"], ["created_at", "2015-10-30 23:10:07.697901"], ["updated_at", "2015-10-30 23:10:07.697901"]]  (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", "2015-10-30 23:10:07.703190"], ["updated_at", "2015-10-30 23:10:07.703190"]]  (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", "2015-10-30 23:10:07.705902"], ["updated_at", "2015-10-30 23:10:07.705902"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.708874"], ["updated_at", "2015-10-30 23:10:07.708874"]] 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", "2015-10-30 23:10:07.710222"], ["updated_at", "2015-10-30 23:10:07.710222"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "5OFiu6umE3GgEhG5SpzO-g"]] 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" = 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" = '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" = 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 21ms (Views: 13.5ms | ActiveRecord: 1.2ms)  (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$zdd3VHODw6dfW2te7tixb.8LCXPbmMEX1efOPrugHi7yQRHMN0Nb2"], ["remember_token", "lUexBqrUnjknURXlK3SYhg"], ["created_at", "2015-10-30 23:10:07.745579"], ["updated_at", "2015-10-30 23:10:07.745579"]]  (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", "2015-10-30 23:10:07.748958"], ["updated_at", "2015-10-30 23:10:07.748958"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:07.752154"], ["updated_at", "2015-10-30 23:10:07.752154"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.757893"], ["updated_at", "2015-10-30 23:10:07.757893"]] 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", "2015-10-30 23:10:07.759974"], ["updated_at", "2015-10-30 23:10:07.759974"]] 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", "lUexBqrUnjknURXlK3SYhg"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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$gqie/gtNN1Kd8CCASql4MOQGQYC7tsr9AzFp8KWh2Fc.Oe1EixMYG"], ["remember_token", "OvgLucW_6VWajChTOTYAUQ"], ["created_at", "2015-10-30 23:10:07.775077"], ["updated_at", "2015-10-30 23:10:07.775077"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:07.779179"], ["updated_at", "2015-10-30 23:10:07.779179"]]  (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", "2015-10-30 23:10:07.783157"], ["updated_at", "2015-10-30 23:10:07.783157"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.786171"], ["updated_at", "2015-10-30 23:10:07.786171"]] 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", "2015-10-30 23:10:07.794599"], ["updated_at", "2015-10-30 23:10:07.794599"]] 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.1ms) 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$zAcSlq73TZfLvoLzSeSyHuDMWEx0eYh2RQlLc57adPhRZwrj.bewu"], ["remember_token", "i6IYyyV4RhX2ol_y-LIktQ"], ["created_at", "2015-10-30 23:10:07.806141"], ["updated_at", "2015-10-30 23:10:07.806141"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", "2015-10-30 23:10:07.808527"], ["updated_at", "2015-10-30 23:10:07.808527"]]  (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", "2015-10-30 23:10:07.811807"], ["updated_at", "2015-10-30 23:10:07.811807"]]  (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", "2015-10-30 23:10:07.813680"], ["updated_at", "2015-10-30 23:10:07.813680"]]  (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", "2015-10-30 23:10:07.815457"], ["updated_at", "2015-10-30 23:10:07.815457"]]  (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", "2015-10-30 23:10:07.817264"], ["updated_at", "2015-10-30 23:10:07.817264"]]  (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", "OvgLucW_6VWajChTOTYAUQ"]] 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"]] 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: 1.0ms | ActiveRecord: 0.5ms)  (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$7RNUADEobEoMCidjNI1IL.679dE6kKFWXzQr7jyhHtXhaUtYgyQGO"], ["remember_token", "H8JmOTmmnKIAUdH-ZwHL-g"], ["created_at", "2015-10-30 23:10:07.834753"], ["updated_at", "2015-10-30 23:10:07.834753"]]  (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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:07.839203"], ["updated_at", "2015-10-30 23:10:07.839203"]]  (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", "2015-10-30 23:10:07.843864"], ["updated_at", "2015-10-30 23:10:07.843864"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.847307"], ["updated_at", "2015-10-30 23:10:07.847307"]] 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", "2015-10-30 23:10:07.848683"], ["updated_at", "2015-10-30 23:10:07.848683"]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.2ms) 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", "2015-10-30 23:10:07.852424"], ["updated_at", "2015-10-30 23:10:07.852424"]]  (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", "2015-10-30 23:10:07.854334"], ["updated_at", "2015-10-30 23:10:07.854334"]]  (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", "2015-10-30 23:10:07.855952"], ["updated_at", "2015-10-30 23:10:07.855952"]]  (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", "2015-10-30 23:10:07.857680"], ["updated_at", "2015-10-30 23:10:07.857680"]]  (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", "2015-10-30 23:10:07.859399"], ["updated_at", "2015-10-30 23:10:07.859399"]]  (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$gF9.9kSc7/ExHXyC3qU4a.tGFSlyVtgMpK6TrBhkdEDUEmef/JwG6"], ["remember_token", "fy4PBnqysdt8GyQaJnhk_Q"], ["created_at", "2015-10-30 23:10:07.865222"], ["updated_at", "2015-10-30 23:10:07.865222"]]  (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", "2015-10-30 23:10:07.867208"], ["updated_at", "2015-10-30 23:10:07.867208"]]  (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", "2015-10-30 23:10:07.869207"], ["updated_at", "2015-10-30 23:10:07.869207"]]  (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.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", "2015-10-30 23:10:07.871026"], ["updated_at", "2015-10-30 23:10:07.871026"]]  (0.2ms) 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.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", "2015-10-30 23:10:07.875217"], ["updated_at", "2015-10-30 23:10:07.875217"]]  (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", "2015-10-30 23:10:07.878832"], ["updated_at", "2015-10-30 23:10:07.878832"]]  (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", "H8JmOTmmnKIAUdH-ZwHL-g"]] 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.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 8ms (Views: 1.1ms | ActiveRecord: 0.8ms) 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$86iJHKSpQltPhSHnd8r4pe8Ei76O4WSGMhrpb0a4IR3wbO33QZWKS"], ["remember_token", "ZECgaY0N80zf0vrci7N5dQ"], ["created_at", "2015-10-30 23:10:07.896381"], ["updated_at", "2015-10-30 23:10:07.896381"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:07.899673"], ["updated_at", "2015-10-30 23:10:07.899673"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:07.902228"], ["updated_at", "2015-10-30 23:10:07.902228"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.907874"], ["updated_at", "2015-10-30 23:10:07.907874"]] 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", "2015-10-30 23:10:07.909979"], ["updated_at", "2015-10-30 23:10:07.909979"]] 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.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", "2015-10-30 23:10:07.914252"], ["updated_at", "2015-10-30 23:10:07.914252"]]  (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", "2015-10-30 23:10:07.916439"], ["updated_at", "2015-10-30 23:10:07.916439"]]  (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", "2015-10-30 23:10:07.918678"], ["updated_at", "2015-10-30 23:10:07.918678"]]  (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", "2015-10-30 23:10:07.920222"], ["updated_at", "2015-10-30 23:10:07.920222"]]  (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", "2015-10-30 23:10:07.921849"], ["updated_at", "2015-10-30 23:10:07.921849"]]  (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$q/5a6LfjfCxcPgaF9PpzVuL0MHhJCfWVr5L3jKSNVb6L2VVPZ51Ki"], ["remember_token", "LglnK9lGEABqvu0Lk-ZRuQ"], ["created_at", "2015-10-30 23:10:07.925740"], ["updated_at", "2015-10-30 23:10:07.925740"]]  (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", "2015-10-30 23:10:07.927187"], ["updated_at", "2015-10-30 23:10:07.927187"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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", "2015-10-30 23:10:07.929767"], ["updated_at", "2015-10-30 23:10:07.929767"]]  (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", "2015-10-30 23:10:07.932050"], ["updated_at", "2015-10-30 23:10:07.932050"]]  (0.0ms) 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", "2015-10-30 23:10:07.933835"], ["updated_at", "2015-10-30 23:10:07.933835"]]  (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", "2015-10-30 23:10:07.935935"], ["updated_at", "2015-10-30 23:10:07.935935"]]  (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", "2015-10-30 23:10:07.937750"], ["updated_at", "2015-10-30 23:10:07.937750"]]  (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", "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.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.943516"], ["updated_at", "2015-10-30 23:10:07.943516"]] 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", "2015-10-30 23:10:07.945029"], ["updated_at", "2015-10-30 23:10:07.945029"]] 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", "ZECgaY0N80zf0vrci7N5dQ"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (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$U1Shf3Zl8d6xA8PvvYXtGuVgtC2yNPHEEOoddvRiY13NCR4wKUSnO"], ["remember_token", "uM7V1Tn3TEx9WDh4EOFhsw"], ["created_at", "2015-10-30 23:10:07.960221"], ["updated_at", "2015-10-30 23:10:07.960221"]]  (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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$FXCv/Og/85pG640Mgv3FZuZ5Yfbu2k.WKlhWuzZBEwSgva2qapdEW"], ["remember_token", "MRObIxj8CEc-y2KTPAzqcg"], ["created_at", "2015-10-30 23:10:07.964602"], ["updated_at", "2015-10-30 23:10:07.964602"]]  (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", "2015-10-30 23:10:07.966926"], ["updated_at", "2015-10-30 23:10:07.966926"]]  (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", "2015-10-30 23:10:07.969201"], ["updated_at", "2015-10-30 23:10:07.969201"]]  (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", "2015-10-30 23:10:07.971050"], ["updated_at", "2015-10-30 23:10:07.971050"]]  (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", "2015-10-30 23:10:07.972809"], ["updated_at", "2015-10-30 23:10:07.972809"]]  (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 "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-30 23:10:07.975068"], ["updated_at", "2015-10-30 23:10:07.975068"]]  (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.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", "2015-10-30 23:10:07.979161"], ["updated_at", "2015-10-30 23:10:07.979161"]]  (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", "2015-10-30 23:10:07.982177"], ["updated_at", "2015-10-30 23:10:07.982177"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:07.985916"], ["updated_at", "2015-10-30 23:10:07.985916"]]  (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", "2015-10-30 23:10:07.988715"], ["updated_at", "2015-10-30 23:10:07.988715"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:07.992329"], ["updated_at", "2015-10-30 23:10:07.992329"]] 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", "2015-10-30 23:10:07.994190"], ["updated_at", "2015-10-30 23:10:07.994190"]] 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.0ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:08.001053"], ["updated_at", "2015-10-30 23:10:08.001053"]] 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", "2015-10-30 23:10:08.002827"], ["updated_at", "2015-10-30 23:10:08.002827"]] 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", "uM7V1Tn3TEx9WDh4EOFhsw"]] 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.2ms | ActiveRecord: 0.6ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$rSwBwJCDeuAZQqOKFrAV3.l8n52v/m8f1Qq6LCzltg2h0KiEXSepm"], ["remember_token", "ffN9Tk0DhsaiFfwGSX0I7w"], ["created_at", "2015-10-30 23:10:08.019908"], ["updated_at", "2015-10-30 23:10:08.019908"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:08.023047"], ["updated_at", "2015-10-30 23:10:08.023047"]]  (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", "2015-10-30 23:10:08.025661"], ["updated_at", "2015-10-30 23:10:08.025661"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:08.029911"], ["updated_at", "2015-10-30 23:10:08.029911"]] 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", "2015-10-30 23:10:08.031736"], ["updated_at", "2015-10-30 23:10:08.031736"]] 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.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$0.9bnZgSraO0v8JIijQhg.50wypreK6ZSkTd0UN2rmQicVlv0JLCm"], ["remember_token", "q4HhJGdjn2oT6JAnJj3bug"], ["created_at", "2015-10-30 23:10:08.037379"], ["updated_at", "2015-10-30 23:10:08.037379"]]  (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", "2015-10-30 23:10:08.038946"], ["updated_at", "2015-10-30 23:10:08.038946"]]  (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", "ffN9Tk0DhsaiFfwGSX0I7w"]] 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.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 articles/show.html.erb within layouts/application (0.4ms) Completed 200 OK in 10ms (Views: 4.4ms | ActiveRecord: 0.6ms)  (1.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$UHjoRE57G0V0ZdF7pUINT.VjlBBigqp7zjFk2qr0wr2VgHSwATZ8a"], ["remember_token", "k8voyCz2QfjL4qqEbDgSgw"], ["created_at", "2015-10-30 23:10:08.058229"], ["updated_at", "2015-10-30 23:10:08.058229"]]  (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", "2015-10-30 23:10:08.062717"], ["updated_at", "2015-10-30 23:10:08.062717"]]  (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", "2015-10-30 23:10:08.072029"], ["updated_at", "2015-10-30 23:10:08.072029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:08.075682"], ["updated_at", "2015-10-30 23:10:08.075682"]] 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", "2015-10-30 23:10:08.078618"], ["updated_at", "2015-10-30 23:10:08.078618"]] 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.1ms) 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$aV1MEU0y3l3892muZNju/egIn/lHM7l3by3N/nkOG4Cvwni4PeFoW"], ["remember_token", "IN3355eenvzTVTrFbkItqg"], ["created_at", "2015-10-30 23:10:08.087021"], ["updated_at", "2015-10-30 23:10:08.087021"]]  (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", "2015-10-30 23:10:08.088888"], ["updated_at", "2015-10-30 23:10:08.088888"]]  (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 1 [["remember_token", "k8voyCz2QfjL4qqEbDgSgw"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (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$.nBUF1MGmnnuwV.BJdsPsupKjIQaaGvTwrqcNljmi.jsJEg2ZFjpu"], ["remember_token", "m_9hfzCt5fy_tnHNDQCiPw"], ["created_at", "2015-10-30 23:10:08.102235"], ["updated_at", "2015-10-30 23:10:08.102235"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:08.105291"], ["updated_at", "2015-10-30 23:10:08.105291"]]  (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", "2015-10-30 23:10:08.107768"], ["updated_at", "2015-10-30 23:10:08.107768"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:08.111936"], ["updated_at", "2015-10-30 23:10:08.111936"]] 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", "2015-10-30 23:10:08.113343"], ["updated_at", "2015-10-30 23:10:08.113343"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "m_9hfzCt5fy_tnHNDQCiPw"]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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"."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.3ms) Completed 200 OK in 8ms (Views: 2.7ms | 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$jw/nasEKV78WzmKYzOhce.Pd7AoCr5bXmKfAx/9BmsdUbkjd9Rlq2"], ["remember_token", "xVS9l2eGHAHQHVLm6g_vjg"], ["created_at", "2015-10-30 23:10:08.130517"], ["updated_at", "2015-10-30 23:10:08.130517"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:08.133834"], ["updated_at", "2015-10-30 23:10:08.133834"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:08.136650"], ["updated_at", "2015-10-30 23:10:08.136650"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:08.139806"], ["updated_at", "2015-10-30 23:10:08.139806"]] 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", "2015-10-30 23:10:08.141074"], ["updated_at", "2015-10-30 23:10:08.141074"]] 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$SuNrcNYDrBbdUNOOv/k8I.tsH/FNqjBAyx6OozgYWYYqPASLpOjRu"], ["remember_token", "apH2Yixn0G3Lb99cU7LIXQ"], ["created_at", "2015-10-30 23:10:08.146908"], ["updated_at", "2015-10-30 23:10:08.146908"]]  (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", "2015-10-30 23:10:08.148785"], ["updated_at", "2015-10-30 23:10:08.148785"]]  (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", "xVS9l2eGHAHQHVLm6g_vjg"]] 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.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.3ms) Completed 200 OK in 7ms (Views: 2.7ms | ActiveRecord: 0.7ms)  (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$FX/MQSd5VgA2k8U04XMxpuW.jvM/eiAF1diSIqEcjUCMesr4u/48C"], ["remember_token", "m2FQiXNPOKfAR5X0fn2Eqw"], ["created_at", "2015-10-30 23:10:08.163662"], ["updated_at", "2015-10-30 23:10:08.163662"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:08.166674"], ["updated_at", "2015-10-30 23:10:08.166674"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:08.169525"], ["updated_at", "2015-10-30 23:10:08.169525"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:08.172789"], ["updated_at", "2015-10-30 23:10:08.172789"]] 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", "2015-10-30 23:10:08.174052"], ["updated_at", "2015-10-30 23:10:08.174052"]] 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.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$uc8P03A8zW11QM6iQrh3Petsp2cYURadP4.9hXLhZeGkkSh/G416u"], ["remember_token", "7tIjt02DZPKz70k-wopNGA"], ["created_at", "2015-10-30 23:10:08.179365"], ["updated_at", "2015-10-30 23:10:08.179365"]]  (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", "2015-10-30 23:10:08.180931"], ["updated_at", "2015-10-30 23:10:08.180931"]]  (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", "m2FQiXNPOKfAR5X0fn2Eqw"]] 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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:08.193035"], ["updated_at", "2015-10-30 23:10:08.193035"]]  (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 (1.0ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:10:08.196382"], ["updated_at", "2015-10-30 23:10:08.196382"]]  (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", "2015-10-30 23:10:08.201189"], ["updated_at", "2015-10-30 23:10:08.201189"]]  (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 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", "2015-10-30 23:10:08.206948"], ["updated_at", "2015-10-30 23:10:08.206948"]]  (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", "2015-10-30 23:10:08.209998"], ["updated_at", "2015-10-30 23:10:08.209998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:10:08.230776"], ["updated_at", "2015-10-30 23:10:08.230776"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:08.233576"], ["updated_at", "2015-10-30 23:10:08.233576"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:08.240538"], ["updated_at", "2015-10-30 23:10:08.240538"]]  (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", "2015-10-30 23:10:08.242748"], ["updated_at", "2015-10-30 23:10:08.242748"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:08.245747"], ["updated_at", "2015-10-30 23:10:08.245747"]]  (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 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", "2015-10-30 23:10:08.253863"], ["updated_at", "2015-10-30 23:10:08.253863"]]  (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", "2015-10-30 23:10:08.256201"], ["updated_at", "2015-10-30 23:10:08.256201"]]  (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", "2015-10-30 23:10:08.258837"], ["updated_at", "2015-10-30 23:10:08.258837"]]  (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", "2015-10-30 23:10:08.266139"], ["updated_at", "2015-10-30 23:10:08.266139"]]  (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", "2015-10-30 23:10:08.268621"], ["updated_at", "2015-10-30 23:10:08.268621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (2.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (2.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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.8ms) SELECT "adeia_groups".* 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.9ms) 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 (1.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:30.428995"], ["updated_at", "2015-10-30 23:10:30.428995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-30 23:10:30.449883"], ["updated_at", "2015-10-30 23:10:30.449883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:10:30.480580"], ["updated_at", "2015-10-30 23:10:30.480580"]] 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", "2015-10-30 23:10:30.483736"], ["updated_at", "2015-10-30 23:10:30.483736"]] 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" = 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", "2015-10-30 23:10:30.498615"], ["updated_at", "2015-10-30 23:10:30.498615"]]  (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", "2015-10-30 23:10:30.501987"], ["updated_at", "2015-10-30 23:10:30.501987"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:30.506518"], ["updated_at", "2015-10-30 23:10:30.506518"]] 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", "2015-10-30 23:10:30.508115"], ["updated_at", "2015-10-30 23:10:30.508115"]] 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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.1ms) 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", "2015-10-30 23:10:30.520290"], ["updated_at", "2015-10-30 23:10:30.520290"]]  (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", "2015-10-30 23:10:30.524272"], ["updated_at", "2015-10-30 23:10:30.524272"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:30.529176"], ["updated_at", "2015-10-30 23:10:30.529176"]] 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", "2015-10-30 23:10:30.531348"], ["updated_at", "2015-10-30 23:10:30.531348"]] 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.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" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:30.542903"], ["updated_at", "2015-10-30 23:10:30.542903"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:30.545973"], ["updated_at", "2015-10-30 23:10:30.545973"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:30.552556"], ["updated_at", "2015-10-30 23:10:30.552556"]] 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", "2015-10-30 23:10:30.554311"], ["updated_at", "2015-10-30 23:10:30.554311"]] 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.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" = 1005 AND "adeia_elements"."name" = 'admin/articles' [["create_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", "2015-10-30 23:10:30.565601"], ["updated_at", "2015-10-30 23:10:30.565601"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:30.568341"], ["updated_at", "2015-10-30 23:10:30.568341"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:30.571480"], ["updated_at", "2015-10-30 23:10:30.571480"]] 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", "2015-10-30 23:10:30.574681"], ["updated_at", "2015-10-30 23:10:30.574681"]] 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" = 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"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1006 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (1.1ms) 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", "2015-10-30 23:10:30.588425"], ["updated_at", "2015-10-30 23:10:30.588425"]]  (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", "2015-10-30 23:10:30.591637"], ["updated_at", "2015-10-30 23:10:30.591637"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:30.596350"], ["updated_at", "2015-10-30 23:10:30.596350"]] 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", "2015-10-30 23:10:30.598228"], ["updated_at", "2015-10-30 23:10:30.598228"]] 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" = 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"]]  (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", "2015-10-30 23:10:30.610115"], ["updated_at", "2015-10-30 23:10:30.610115"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:30.613170"], ["updated_at", "2015-10-30 23:10:30.613170"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:30.617127"], ["updated_at", "2015-10-30 23:10:30.617127"]] 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", "2015-10-30 23:10:30.618590"], ["updated_at", "2015-10-30 23:10:30.618590"]] 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" = 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.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" = 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:30.629749"], ["updated_at", "2015-10-30 23:10:30.629749"]]  (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", "2015-10-30 23:10:30.633493"], ["updated_at", "2015-10-30 23:10:30.633493"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:10:30.637339"], ["updated_at", "2015-10-30 23:10:30.637339"]] 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", "2015-10-30 23:10:30.638804"], ["updated_at", "2015-10-30 23:10:30.638804"]] 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" = 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"."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.1ms) 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.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", "2015-10-30 23:10:30.650377"], ["updated_at", "2015-10-30 23:10:30.650377"]]  (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", "2015-10-30 23:10:30.653305"], ["updated_at", "2015-10-30 23:10:30.653305"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:30.657355"], ["updated_at", "2015-10-30 23:10:30.657355"]] 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", "2015-10-30 23:10:30.658811"], ["updated_at", "2015-10-30 23:10:30.658811"]] 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 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" = 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" = 'admin/articles' AND "adeia_actions"."name" = 'share' Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."name" = 'share'  (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", "2015-10-30 23:10:30.671368"], ["updated_at", "2015-10-30 23:10:30.671368"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:30.674764"], ["updated_at", "2015-10-30 23:10:30.674764"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:30.679149"], ["updated_at", "2015-10-30 23:10:30.679149"]] 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", "2015-10-30 23:10:30.681070"], ["updated_at", "2015-10-30 23:10:30.681070"]] 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  (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", "2015-10-30 23:10:30.689692"], ["updated_at", "2015-10-30 23:10:30.689692"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:30.692512"], ["updated_at", "2015-10-30 23:10:30.692512"]]  (0.0ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:30.696704"], ["updated_at", "2015-10-30 23:10:30.696704"]] 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", "2015-10-30 23:10:30.699276"], ["updated_at", "2015-10-30 23:10:30.699276"]] 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" = 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.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" = 1012 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:30.716442"], ["updated_at", "2015-10-30 23:10:30.716442"]]  (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", "2015-10-30 23:10:30.719255"], ["updated_at", "2015-10-30 23:10:30.719255"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:30.722551"], ["updated_at", "2015-10-30 23:10:30.722551"]] 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", "2015-10-30 23:10:30.724402"], ["updated_at", "2015-10-30 23:10:30.724402"]] 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" = 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.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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:30.741655"], ["updated_at", "2015-10-30 23:10:30.741655"]]  (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", "2015-10-30 23:10:30.745345"], ["updated_at", "2015-10-30 23:10:30.745345"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:30.750107"], ["updated_at", "2015-10-30 23:10:30.750107"]] 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", "2015-10-30 23:10:30.751581"], ["updated_at", "2015-10-30 23:10:30.751581"]] 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.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" = 1016 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" = 1016 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:30.763733"], ["updated_at", "2015-10-30 23:10:30.763733"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:30.766779"], ["updated_at", "2015-10-30 23:10:30.766779"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:30.770823"], ["updated_at", "2015-10-30 23:10:30.770823"]] 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", "2015-10-30 23:10:30.772253"], ["updated_at", "2015-10-30 23:10:30.772253"]] 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" = 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.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" = 1018 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) 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", "2015-10-30 23:10:30.784342"], ["updated_at", "2015-10-30 23:10:30.784342"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:30.787187"], ["updated_at", "2015-10-30 23:10:30.787187"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:30.790813"], ["updated_at", "2015-10-30 23:10:30.790813"]] 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", "2015-10-30 23:10:30.792234"], ["updated_at", "2015-10-30 23:10:30.792234"]] 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.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" = 1020 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" = 1020 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:10:30.804140"], ["updated_at", "2015-10-30 23:10:30.804140"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:30.806860"], ["updated_at", "2015-10-30 23:10:30.806860"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:30.810576"], ["updated_at", "2015-10-30 23:10:30.810576"]] 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", "2015-10-30 23:10:30.812215"], ["updated_at", "2015-10-30 23:10:30.812215"]] 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.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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.7ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.9ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:10:30.838978"], ["updated_at", "2015-10-30 23:10:30.838978"]]  (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", "2015-10-30 23:10:30.843884"], ["updated_at", "2015-10-30 23:10:30.843884"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:30.849133"], ["updated_at", "2015-10-30 23:10:30.849133"]]  (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", "2015-10-30 23:10:30.852524"], ["updated_at", "2015-10-30 23:10:30.852524"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:30.855812"], ["updated_at", "2015-10-30 23:10:30.855812"]] 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", "2015-10-30 23:10:30.857074"], ["updated_at", "2015-10-30 23:10:30.857074"]] 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.5ms) 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.7ms) 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$U0s.5sxfW8THvRbQOg9S5./FRL8eB2PW6ut6SmvUOadCpC79VbDFa"], ["remember_token", "ceKtYYQ86XbbIk3dNEya3w"], ["created_at", "2015-10-30 23:10:30.879199"], ["updated_at", "2015-10-30 23:10:30.879199"]]  (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", "2015-10-30 23:10:30.885000"], ["updated_at", "2015-10-30 23:10:30.885000"]]  (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", "2015-10-30 23:10:30.889053"], ["updated_at", "2015-10-30 23:10:30.889053"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:30.893343"], ["updated_at", "2015-10-30 23:10:30.893343"]] 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", "2015-10-30 23:10:30.894930"], ["updated_at", "2015-10-30 23:10:30.894930"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "ceKtYYQ86XbbIk3dNEya3w"]] 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.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" = 'articles' [["read_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"."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 20ms (Views: 13.9ms | ActiveRecord: 0.8ms)  (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$O7dQXaJ1o.fozUdXKqIJv.XFi7w9QwPnxk/fmJ3du6G8XVrSMb3ry"], ["remember_token", "pA8cHnUyMICLb_jmToLQmg"], ["created_at", "2015-10-30 23:10:30.928449"], ["updated_at", "2015-10-30 23:10:30.928449"]]  (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", "2015-10-30 23:10:30.932196"], ["updated_at", "2015-10-30 23:10:30.932196"]]  (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", "2015-10-30 23:10:30.935505"], ["updated_at", "2015-10-30 23:10:30.935505"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:30.938593"], ["updated_at", "2015-10-30 23:10:30.938593"]] 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", "2015-10-30 23:10:30.939903"], ["updated_at", "2015-10-30 23:10:30.939903"]] 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", "pA8cHnUyMICLb_jmToLQmg"]] 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"]] 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)  (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$/w6dDNmYsXANXfDTtKc9wu2i7MqzHMipKXcuENv3RP8bQ693i7ztO"], ["remember_token", "BDSOwQxIOFw346_74PzAmw"], ["created_at", "2015-10-30 23:10:30.954401"], ["updated_at", "2015-10-30 23:10:30.954401"]]  (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", "2015-10-30 23:10:30.957820"], ["updated_at", "2015-10-30 23:10:30.957820"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:30.962148"], ["updated_at", "2015-10-30 23:10:30.962148"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:30.966174"], ["updated_at", "2015-10-30 23:10:30.966174"]] 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", "2015-10-30 23:10:30.967793"], ["updated_at", "2015-10-30 23:10:30.967793"]] 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.2ms) 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$nzpNQ0G9SbCLIEB/qYgRqO3yzlWdfuQRdi2ke129LHBGmsBB/6eQu"], ["remember_token", "L1R-n6TK9bioFdGonG0Zmg"], ["created_at", "2015-10-30 23:10:30.978965"], ["updated_at", "2015-10-30 23:10:30.978965"]]  (0.0ms) 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", "2015-10-30 23:10:30.989564"], ["updated_at", "2015-10-30 23:10:30.989564"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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", "2015-10-30 23:10:30.994313"], ["updated_at", "2015-10-30 23:10:30.994313"]]  (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", "2015-10-30 23:10:30.996881"], ["updated_at", "2015-10-30 23:10:30.996881"]]  (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", "2015-10-30 23:10:30.999437"], ["updated_at", "2015-10-30 23:10:30.999437"]]  (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", "2015-10-30 23:10:31.002166"], ["updated_at", "2015-10-30 23:10:31.002166"]]  (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", "BDSOwQxIOFw346_74PzAmw"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (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$8QQtX/V9boTgZjBntk.Z6.sGXXaHoLkWBA5mC.ojIBIQcxjjFponC"], ["remember_token", "0NDEKVsZeL0pVyTQVsP18w"], ["created_at", "2015-10-30 23:10:31.017245"], ["updated_at", "2015-10-30 23:10:31.017245"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:31.020712"], ["updated_at", "2015-10-30 23:10:31.020712"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:31.024751"], ["updated_at", "2015-10-30 23:10:31.024751"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:31.028862"], ["updated_at", "2015-10-30 23:10:31.028862"]] 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", "2015-10-30 23:10:31.030355"], ["updated_at", "2015-10-30 23:10:31.030355"]] 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", "2015-10-30 23:10:31.034302"], ["updated_at", "2015-10-30 23:10:31.034302"]]  (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", "2015-10-30 23:10:31.036159"], ["updated_at", "2015-10-30 23:10:31.036159"]]  (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", "2015-10-30 23:10:31.037833"], ["updated_at", "2015-10-30 23:10:31.037833"]]  (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", "2015-10-30 23:10:31.039411"], ["updated_at", "2015-10-30 23:10:31.039411"]]  (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", "2015-10-30 23:10:31.041008"], ["updated_at", "2015-10-30 23:10:31.041008"]]  (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$lTOoBW1yikUOln72yExf0O4bK.RcVRTAXA/1NXa/8CexkyUPwXJe2"], ["remember_token", "zFa2QmIdhpmQaZvBZDsxNA"], ["created_at", "2015-10-30 23:10:31.044943"], ["updated_at", "2015-10-30 23:10:31.044943"]]  (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", "2015-10-30 23:10:31.046386"], ["updated_at", "2015-10-30 23:10:31.046386"]]  (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", "2015-10-30 23:10:31.048999"], ["updated_at", "2015-10-30 23:10:31.048999"]]  (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", "2015-10-30 23:10:31.052978"], ["updated_at", "2015-10-30 23:10:31.052978"]]  (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", "2015-10-30 23:10:31.056147"], ["updated_at", "2015-10-30 23:10:31.056147"]]  (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", "2015-10-30 23:10:31.059026"], ["updated_at", "2015-10-30 23:10:31.059026"]]  (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", "0NDEKVsZeL0pVyTQVsP18w"]] 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.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" = '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 8ms (Views: 1.2ms | ActiveRecord: 0.7ms) 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.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$OkpvBZxFXJcHj1TufEd2Du6g8caALA0XJ6n7eksZ.P/oEG8Mr9yuu"], ["remember_token", "RkQ6ArxELap6RQkwE8arqA"], ["created_at", "2015-10-30 23:10:31.078688"], ["updated_at", "2015-10-30 23:10:31.078688"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:31.084719"], ["updated_at", "2015-10-30 23:10:31.084719"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:31.089199"], ["updated_at", "2015-10-30 23:10:31.089199"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:31.093342"], ["updated_at", "2015-10-30 23:10:31.093342"]] 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", "2015-10-30 23:10:31.094816"], ["updated_at", "2015-10-30 23:10:31.094816"]] 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.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", "2015-10-30 23:10:31.098684"], ["updated_at", "2015-10-30 23:10:31.098684"]]  (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", "2015-10-30 23:10:31.100690"], ["updated_at", "2015-10-30 23:10:31.100690"]]  (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", "2015-10-30 23:10:31.103042"], ["updated_at", "2015-10-30 23:10:31.103042"]]  (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", "2015-10-30 23:10:31.106234"], ["updated_at", "2015-10-30 23:10:31.106234"]]  (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", "2015-10-30 23:10:31.109688"], ["updated_at", "2015-10-30 23:10:31.109688"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$P1ZIl8i5fkU6QQb2GpZNnuJ3aE4Z0eAdH91eI2L37Sq4ZOgzkSXRC"], ["remember_token", "yHWARM2PLD2cawhXwcwVYA"], ["created_at", "2015-10-30 23:10:31.116640"], ["updated_at", "2015-10-30 23:10:31.116640"]]  (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", "2015-10-30 23:10:31.118662"], ["updated_at", "2015-10-30 23:10:31.118662"]]  (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", "2015-10-30 23:10:31.121031"], ["updated_at", "2015-10-30 23:10:31.121031"]]  (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", "2015-10-30 23:10:31.123062"], ["updated_at", "2015-10-30 23:10:31.123062"]]  (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", "2015-10-30 23:10:31.124825"], ["updated_at", "2015-10-30 23:10:31.124825"]]  (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", "2015-10-30 23:10:31.126615"], ["updated_at", "2015-10-30 23:10:31.126615"]]  (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", "2015-10-30 23:10:31.128440"], ["updated_at", "2015-10-30 23:10:31.128440"]]  (0.0ms) 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.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_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:31.133732"], ["updated_at", "2015-10-30 23:10:31.133732"]] 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", "2015-10-30 23:10:31.135151"], ["updated_at", "2015-10-30 23:10:31.135151"]] 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", "RkQ6ArxELap6RQkwE8arqA"]] 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.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (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$blHFv4DiE5k.DiPWD/48UuPym.JQbZEaPadHFr/3s4oxmBpu5z2AG"], ["remember_token", "TmFiaLpXd_1MotkOGPIDMw"], ["created_at", "2015-10-30 23:10:31.151771"], ["updated_at", "2015-10-30 23:10:31.151771"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$ly0zr2xNBPGpWqjPT6bD2OCPcrxPx8e72FVZlpSZXzv4JZveBtJE2"], ["remember_token", "XRmSMouRyJ33liT0FXc0og"], ["created_at", "2015-10-30 23:10:31.156988"], ["updated_at", "2015-10-30 23:10:31.156988"]]  (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", "2015-10-30 23:10:31.159233"], ["updated_at", "2015-10-30 23:10:31.159233"]]  (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", "2015-10-30 23:10:31.161371"], ["updated_at", "2015-10-30 23:10:31.161371"]]  (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", "2015-10-30 23:10:31.163211"], ["updated_at", "2015-10-30 23:10:31.163211"]]  (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", "2015-10-30 23:10:31.165027"], ["updated_at", "2015-10-30 23:10:31.165027"]]  (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", "2015-10-30 23:10:31.166843"], ["updated_at", "2015-10-30 23:10:31.166843"]]  (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.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", "2015-10-30 23:10:31.169333"], ["updated_at", "2015-10-30 23:10:31.169333"]]  (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", "2015-10-30 23:10:31.173349"], ["updated_at", "2015-10-30 23:10:31.173349"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:31.177405"], ["updated_at", "2015-10-30 23:10:31.177405"]]  (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", "2015-10-30 23:10:31.179971"], ["updated_at", "2015-10-30 23:10:31.179971"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:31.183800"], ["updated_at", "2015-10-30 23:10:31.183800"]] 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", "2015-10-30 23:10:31.186000"], ["updated_at", "2015-10-30 23:10:31.186000"]] 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:31.196862"], ["updated_at", "2015-10-30 23:10:31.196862"]] 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", "2015-10-30 23:10:31.199063"], ["updated_at", "2015-10-30 23:10:31.199063"]] 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", "TmFiaLpXd_1MotkOGPIDMw"]] 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.2ms | ActiveRecord: 0.7ms) 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$0rre14D9c2Fi87X/Lp4Spuj/YZYwudBFcP3h16xs.wdDGFiAn1hJy"], ["remember_token", "zDvcCe4ICuT8z7YZHh9aDA"], ["created_at", "2015-10-30 23:10:31.217760"], ["updated_at", "2015-10-30 23:10:31.217760"]]  (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", "2015-10-30 23:10:31.221180"], ["updated_at", "2015-10-30 23:10:31.221180"]]  (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", "2015-10-30 23:10:31.224766"], ["updated_at", "2015-10-30 23:10:31.224766"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:31.228284"], ["updated_at", "2015-10-30 23:10:31.228284"]] 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", "2015-10-30 23:10:31.229610"], ["updated_at", "2015-10-30 23:10:31.229610"]] 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.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$e9.kHCZt8wlTM35QPoxyeOqcji9xPof74en8L1byS1p3htnx3fmn6"], ["remember_token", "x14qUgYE-86GuwkDOLNK1A"], ["created_at", "2015-10-30 23:10:31.235134"], ["updated_at", "2015-10-30 23:10:31.235134"]]  (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", "2015-10-30 23:10:31.236690"], ["updated_at", "2015-10-30 23:10:31.236690"]]  (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 1 [["remember_token", "zDvcCe4ICuT8z7YZHh9aDA"]] Article Load (0.3ms) 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.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::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 articles/show.html.erb within layouts/application (0.4ms) Completed 200 OK in 12ms (Views: 4.1ms | ActiveRecord: 1.0ms)  (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$8h/IF4OGghKLz1eui95SiueLT.3UpZEOKabIwLIdb3gpB5tdbfW7m"], ["remember_token", "yH4L7sClI599RAPGNVnPKg"], ["created_at", "2015-10-30 23:10:31.257203"], ["updated_at", "2015-10-30 23:10:31.257203"]]  (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", "2015-10-30 23:10:31.260471"], ["updated_at", "2015-10-30 23:10:31.260471"]]  (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", "2015-10-30 23:10:31.263746"], ["updated_at", "2015-10-30 23:10:31.263746"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:31.267853"], ["updated_at", "2015-10-30 23:10:31.267853"]] 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", "2015-10-30 23:10:31.269475"], ["updated_at", "2015-10-30 23:10:31.269475"]] 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.1ms) 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$Qp48A5.UWnmk0kaGWFxJGOuiQfAXB7RjEy.Q1FaaLx3ID..eI0sM6"], ["remember_token", "-rsfgI01LfClXEWSwj9PaQ"], ["created_at", "2015-10-30 23:10:31.277305"], ["updated_at", "2015-10-30 23:10:31.277305"]]  (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", "2015-10-30 23:10:31.280419"], ["updated_at", "2015-10-30 23:10:31.280419"]]  (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 1 [["remember_token", "yH4L7sClI599RAPGNVnPKg"]] 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.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 articles/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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$ItpvyG.0Z5nOnGLdhzqjLO9.GtydEPXb0AoO4qUkn2XaybVCvzHhm"], ["remember_token", "ebjZJfCot3Kp6HJr34DkQA"], ["created_at", "2015-10-30 23:10:31.300044"], ["updated_at", "2015-10-30 23:10:31.300044"]]  (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", "2015-10-30 23:10:31.304343"], ["updated_at", "2015-10-30 23:10:31.304343"]]  (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", "2015-10-30 23:10:31.307692"], ["updated_at", "2015-10-30 23:10:31.307692"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:31.310690"], ["updated_at", "2015-10-30 23:10:31.310690"]] 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", "2015-10-30 23:10:31.311969"], ["updated_at", "2015-10-30 23:10:31.311969"]] 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 Processing by ArticlesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "ebjZJfCot3Kp6HJr34DkQA"]] 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 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"."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.3ms) Completed 200 OK in 9ms (Views: 3.7ms | ActiveRecord: 0.8ms)  (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$UeJ7e7NRjpI2gfI2VwIxIOSmq6414dhy89mb/ZWCH0zbaY2KDt0C6"], ["remember_token", "Ghw7nMoja318VyHLsP63Qg"], ["created_at", "2015-10-30 23:10:31.330666"], ["updated_at", "2015-10-30 23:10:31.330666"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:31.334068"], ["updated_at", "2015-10-30 23:10:31.334068"]]  (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", "2015-10-30 23:10:31.337688"], ["updated_at", "2015-10-30 23:10:31.337688"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:31.340998"], ["updated_at", "2015-10-30 23:10:31.340998"]] 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", "2015-10-30 23:10:31.342310"], ["updated_at", "2015-10-30 23:10:31.342310"]] 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.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$jUPTXti6/W06xo0oMICkaeOFiBmVt/B/ZtA5D7prjCMOhrYec74Iu"], ["remember_token", "ol_MGdcotiJ_YjN8avBZEA"], ["created_at", "2015-10-30 23:10:31.347717"], ["updated_at", "2015-10-30 23:10:31.347717"]]  (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", 2], ["created_at", "2015-10-30 23:10:31.349473"], ["updated_at", "2015-10-30 23:10:31.349473"]]  (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", "Ghw7nMoja318VyHLsP63Qg"]] 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.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.6ms) Completed 200 OK in 8ms (Views: 3.9ms | ActiveRecord: 0.6ms)  (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$zID8FdYXr5M8Db8CldV3BuZ94P0HW53z5oNaNUg8RKwLW797obBUW"], ["remember_token", "ZyngeBn2CpApKDfa6uHUGQ"], ["created_at", "2015-10-30 23:10:31.366119"], ["updated_at", "2015-10-30 23:10:31.366119"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:31.369983"], ["updated_at", "2015-10-30 23:10:31.369983"]]  (0.0ms) 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.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:31.373336"], ["updated_at", "2015-10-30 23:10:31.373336"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:31.376597"], ["updated_at", "2015-10-30 23:10:31.376597"]] 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", "2015-10-30 23:10:31.377914"], ["updated_at", "2015-10-30 23:10:31.377914"]] 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.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$K0AjWXGmSiTAWw7ItJ5YEOegxuHRqiUgGibqv440fCJskwcZ7NVWe"], ["remember_token", "3Oz4xR0az0VwKvhgdG_Tkw"], ["created_at", "2015-10-30 23:10:31.383561"], ["updated_at", "2015-10-30 23:10:31.383561"]]  (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", "2015-10-30 23:10:31.385106"], ["updated_at", "2015-10-30 23:10:31.385106"]]  (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", "ZyngeBn2CpApKDfa6uHUGQ"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | 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 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", "2015-10-30 23:10:31.396754"], ["updated_at", "2015-10-30 23:10:31.396754"]]  (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", "2015-10-30 23:10:31.399689"], ["updated_at", "2015-10-30 23:10:31.399689"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:31.403128"], ["updated_at", "2015-10-30 23:10:31.403128"]]  (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 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", "2015-10-30 23:10:31.411903"], ["updated_at", "2015-10-30 23:10:31.411903"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:31.414900"], ["updated_at", "2015-10-30 23:10:31.414900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:10:31.436497"], ["updated_at", "2015-10-30 23:10:31.436497"]]  (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", "2015-10-30 23:10:31.439220"], ["updated_at", "2015-10-30 23:10:31.439220"]]  (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 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", "2015-10-30 23:10:31.446446"], ["updated_at", "2015-10-30 23:10:31.446446"]]  (0.0ms) 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", "2015-10-30 23:10:31.448695"], ["updated_at", "2015-10-30 23:10:31.448695"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:31.451260"], ["updated_at", "2015-10-30 23:10:31.451260"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "2015-10-30 23:10:31.462548"], ["updated_at", "2015-10-30 23:10:31.462548"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:10:31.465418"], ["updated_at", "2015-10-30 23:10:31.465418"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:31.469719"], ["updated_at", "2015-10-30 23:10:31.469719"]]  (0.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:31.477114"], ["updated_at", "2015-10-30 23:10:31.477114"]]  (0.0ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:10:31.479379"], ["updated_at", "2015-10-30 23:10:31.479379"]]  (0.0ms) RELEASE SAVEPOINT active_record_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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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.7ms) 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.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:43.985557"], ["updated_at", "2015-10-30 23:10:43.985557"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:44.017080"], ["updated_at", "2015-10-30 23:10:44.017080"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:10:44.044768"], ["updated_at", "2015-10-30 23:10:44.044768"]] 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", "2015-10-30 23:10:44.046991"], ["updated_at", "2015-10-30 23:10:44.046991"]] 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" = 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.2ms) 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", "2015-10-30 23:10:44.059060"], ["updated_at", "2015-10-30 23:10:44.059060"]]  (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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:44.061797"], ["updated_at", "2015-10-30 23:10:44.061797"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.073862"], ["updated_at", "2015-10-30 23:10:44.073862"]] 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", "2015-10-30 23:10:44.079221"], ["updated_at", "2015-10-30 23:10:44.079221"]] 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" = 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"."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.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" = 1003 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", "2015-10-30 23:10:44.089923"], ["updated_at", "2015-10-30 23:10:44.089923"]]  (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", "2015-10-30 23:10:44.093453"], ["updated_at", "2015-10-30 23:10:44.093453"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.096941"], ["updated_at", "2015-10-30 23:10:44.096941"]] 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", "2015-10-30 23:10:44.098457"], ["updated_at", "2015-10-30 23:10:44.098457"]] 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" = 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"."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.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" = 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:44.111117"], ["updated_at", "2015-10-30 23:10:44.111117"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:44.113760"], ["updated_at", "2015-10-30 23:10:44.113760"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.120248"], ["updated_at", "2015-10-30 23:10:44.120248"]] 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", "2015-10-30 23:10:44.122338"], ["updated_at", "2015-10-30 23:10:44.122338"]] 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.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" = 1005 AND "adeia_elements"."name" = 'admin/articles' [["create_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", "2015-10-30 23:10:44.133531"], ["updated_at", "2015-10-30 23:10:44.133531"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:44.136648"], ["updated_at", "2015-10-30 23:10:44.136648"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.140249"], ["updated_at", "2015-10-30 23:10:44.140249"]] 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", "2015-10-30 23:10:44.141781"], ["updated_at", "2015-10-30 23:10:44.141781"]] 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.1ms) 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"]]  (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", "2015-10-30 23:10:44.153333"], ["updated_at", "2015-10-30 23:10:44.153333"]]  (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", "2015-10-30 23:10:44.156347"], ["updated_at", "2015-10-30 23:10:44.156347"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.160450"], ["updated_at", "2015-10-30 23:10:44.160450"]] 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", "2015-10-30 23:10:44.161917"], ["updated_at", "2015-10-30 23:10:44.161917"]] 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" = 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"."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.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" = 1007 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:10:44.171706"], ["updated_at", "2015-10-30 23:10:44.171706"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:44.174293"], ["updated_at", "2015-10-30 23:10:44.174293"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.177535"], ["updated_at", "2015-10-30 23:10:44.177535"]] 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", "2015-10-30 23:10:44.179631"], ["updated_at", "2015-10-30 23:10:44.179631"]] 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" = 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.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" = 1008 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:44.193779"], ["updated_at", "2015-10-30 23:10:44.193779"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:44.196411"], ["updated_at", "2015-10-30 23:10:44.196411"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:10:44.201754"], ["updated_at", "2015-10-30 23:10:44.201754"]] 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", "2015-10-30 23:10:44.203862"], ["updated_at", "2015-10-30 23:10:44.203862"]] 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" = 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"."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.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", "2015-10-30 23:10:44.219547"], ["updated_at", "2015-10-30 23:10:44.219547"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:44.223281"], ["updated_at", "2015-10-30 23:10:44.223281"]]  (0.2ms) 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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.228952"], ["updated_at", "2015-10-30 23:10:44.228952"]] 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", "2015-10-30 23:10:44.230708"], ["updated_at", "2015-10-30 23:10:44.230708"]] 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" = 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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."name" = 'share'  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:44.243806"], ["updated_at", "2015-10-30 23:10:44.243806"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:44.247452"], ["updated_at", "2015-10-30 23:10:44.247452"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.251612"], ["updated_at", "2015-10-30 23:10:44.251612"]] 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", "2015-10-30 23:10:44.253072"], ["updated_at", "2015-10-30 23:10:44.253072"]] 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  (1.0ms) rollback transaction  (0.3ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:44.267827"], ["updated_at", "2015-10-30 23:10:44.267827"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:44.270653"], ["updated_at", "2015-10-30 23:10:44.270653"]]  (0.0ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.274995"], ["updated_at", "2015-10-30 23:10:44.274995"]] 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", "2015-10-30 23:10:44.277522"], ["updated_at", "2015-10-30 23:10:44.277522"]] 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" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1012 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (6.9ms) 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", "2015-10-30 23:10:44.294193"], ["updated_at", "2015-10-30 23:10:44.294193"]]  (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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:44.296960"], ["updated_at", "2015-10-30 23:10:44.296960"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.302470"], ["updated_at", "2015-10-30 23:10:44.302470"]] 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", "2015-10-30 23:10:44.303857"], ["updated_at", "2015-10-30 23:10:44.303857"]] 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.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" = 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"."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.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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) 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", "2015-10-30 23:10:44.324869"], ["updated_at", "2015-10-30 23:10:44.324869"]]  (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", "2015-10-30 23:10:44.328495"], ["updated_at", "2015-10-30 23:10:44.328495"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.333014"], ["updated_at", "2015-10-30 23:10:44.333014"]] 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", "2015-10-30 23:10:44.334841"], ["updated_at", "2015-10-30 23:10:44.334841"]] 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" = 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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:44.347499"], ["updated_at", "2015-10-30 23:10:44.347499"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:44.350405"], ["updated_at", "2015-10-30 23:10:44.350405"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.355465"], ["updated_at", "2015-10-30 23:10:44.355465"]] 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", "2015-10-30 23:10:44.357977"], ["updated_at", "2015-10-30 23:10:44.357977"]] 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" = 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.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" = 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:44.371292"], ["updated_at", "2015-10-30 23:10:44.371292"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:44.374135"], ["updated_at", "2015-10-30 23:10:44.374135"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.378304"], ["updated_at", "2015-10-30 23:10:44.378304"]] 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", "2015-10-30 23:10:44.380188"], ["updated_at", "2015-10-30 23:10:44.380188"]] 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" = 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"."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.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" = 1020 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.0ms) 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", "2015-10-30 23:10:44.396013"], ["updated_at", "2015-10-30 23:10:44.396013"]]  (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", "2015-10-30 23:10:44.400773"], ["updated_at", "2015-10-30 23:10:44.400773"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.405042"], ["updated_at", "2015-10-30 23:10:44.405042"]] 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", "2015-10-30 23:10:44.406821"], ["updated_at", "2015-10-30 23:10:44.406821"]] 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"]]  (0.9ms) rollback transaction  (0.3ms) begin transaction 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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:10:44.429706"], ["updated_at", "2015-10-30 23:10:44.429706"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_group_users" ("adeia_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_group_id", 1], ["user_id", 1023], ["created_at", "2015-10-30 23:10:44.434234"], ["updated_at", "2015-10-30 23:10:44.434234"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:44.438700"], ["updated_at", "2015-10-30 23:10:44.438700"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:44.441063"], ["updated_at", "2015-10-30 23:10:44.441063"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.444475"], ["updated_at", "2015-10-30 23:10:44.444475"]] 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", "2015-10-30 23:10:44.445875"], ["updated_at", "2015-10-30 23:10:44.445875"]] 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" = 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"."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.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$3LFlbpvsQa21qu8YQULd5.YZP9LTWhNTqfH3JCEWbK6OG3ylvq2ma"], ["remember_token", "pRE1Wbw7dYY0fctIR58N4w"], ["created_at", "2015-10-30 23:10:44.464718"], ["updated_at", "2015-10-30 23:10:44.464718"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:44.468710"], ["updated_at", "2015-10-30 23:10:44.468710"]]  (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", "2015-10-30 23:10:44.471777"], ["updated_at", "2015-10-30 23:10:44.471777"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.474726"], ["updated_at", "2015-10-30 23:10:44.474726"]] 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", "2015-10-30 23:10:44.475997"], ["updated_at", "2015-10-30 23:10:44.475997"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "pRE1Wbw7dYY0fctIR58N4w"]] 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" = 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" = 'articles' [["read_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"."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 21ms (Views: 13.6ms | ActiveRecord: 1.0ms)  (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$H255rOD5GgCj5D8D71/x0.9UyaYlO29r/5DLgAif34vswTnYJoIjK"], ["remember_token", "uXyuNBi7RQuVXjvJ6jfpEQ"], ["created_at", "2015-10-30 23:10:44.508789"], ["updated_at", "2015-10-30 23:10:44.508789"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:44.511792"], ["updated_at", "2015-10-30 23:10:44.511792"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:44.514424"], ["updated_at", "2015-10-30 23:10:44.514424"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.518810"], ["updated_at", "2015-10-30 23:10:44.518810"]] 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", "2015-10-30 23:10:44.520382"], ["updated_at", "2015-10-30 23:10:44.520382"]] 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", "uXyuNBi7RQuVXjvJ6jfpEQ"]] 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.4ms) Completed 200 OK in 8ms (Views: 1.5ms | ActiveRecord: 0.7ms)  (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$.3Pjgznw.Jn8UJny2LfuIOkNAek6Uyi2xr1devNe9PbFQWqxW.VNW"], ["remember_token", "aSx_n-zPKveoHMKyavXvcw"], ["created_at", "2015-10-30 23:10:44.538214"], ["updated_at", "2015-10-30 23:10:44.538214"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:44.542220"], ["updated_at", "2015-10-30 23:10:44.542220"]]  (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", "2015-10-30 23:10:44.545946"], ["updated_at", "2015-10-30 23:10:44.545946"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.549528"], ["updated_at", "2015-10-30 23:10:44.549528"]] 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", "2015-10-30 23:10:44.551064"], ["updated_at", "2015-10-30 23:10:44.551064"]] 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.2ms) 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$3bRSKtfgA4Wadk6Wkm8LU.1L31P6AYwRbBMQYIPVktM8b2MfEDsIa"], ["remember_token", "mP2-4lx8qzwNk2Nvs_RmPQ"], ["created_at", "2015-10-30 23:10:44.563738"], ["updated_at", "2015-10-30 23:10:44.563738"]]  (0.0ms) 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", "2015-10-30 23:10:44.566208"], ["updated_at", "2015-10-30 23:10:44.566208"]]  (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", "2015-10-30 23:10:44.579320"], ["updated_at", "2015-10-30 23:10:44.579320"]]  (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", "2015-10-30 23:10:44.581829"], ["updated_at", "2015-10-30 23:10:44.581829"]]  (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", "2015-10-30 23:10:44.583962"], ["updated_at", "2015-10-30 23:10:44.583962"]]  (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", "2015-10-30 23:10:44.585768"], ["updated_at", "2015-10-30 23:10:44.585768"]]  (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 1 [["remember_token", "aSx_n-zPKveoHMKyavXvcw"]] 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.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$ZoeUWTMCTsKikGow./ralezGpzXlTDYdhxrIb5nd/.4sDXu0AxlVy"], ["remember_token", "fnr32pnjMv22DUo0lAAPlg"], ["created_at", "2015-10-30 23:10:44.600558"], ["updated_at", "2015-10-30 23:10:44.600558"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:44.604012"], ["updated_at", "2015-10-30 23:10:44.604012"]]  (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", "2015-10-30 23:10:44.607282"], ["updated_at", "2015-10-30 23:10:44.607282"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.610818"], ["updated_at", "2015-10-30 23:10:44.610818"]] 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", "2015-10-30 23:10:44.612208"], ["updated_at", "2015-10-30 23:10:44.612208"]] 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", "2015-10-30 23:10:44.615434"], ["updated_at", "2015-10-30 23:10:44.615434"]]  (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", "2015-10-30 23:10:44.617202"], ["updated_at", "2015-10-30 23:10:44.617202"]]  (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", "2015-10-30 23:10:44.618888"], ["updated_at", "2015-10-30 23:10:44.618888"]]  (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", "2015-10-30 23:10:44.621080"], ["updated_at", "2015-10-30 23:10:44.621080"]]  (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", "2015-10-30 23:10:44.623796"], ["updated_at", "2015-10-30 23:10:44.623796"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$YjpjyoQVkQOMofK5QWy5jugATMOv/qWe92giIeoda.mhVEiZ9YMDK"], ["remember_token", "eDG6ZBTV4rVtyHpH6QclYw"], ["created_at", "2015-10-30 23:10:44.628085"], ["updated_at", "2015-10-30 23:10:44.628085"]]  (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", "2015-10-30 23:10:44.629579"], ["updated_at", "2015-10-30 23:10:44.629579"]]  (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.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", "2015-10-30 23:10:44.631939"], ["updated_at", "2015-10-30 23:10:44.631939"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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", "2015-10-30 23:10:44.636383"], ["updated_at", "2015-10-30 23:10:44.636383"]]  (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", "2015-10-30 23:10:44.639708"], ["updated_at", "2015-10-30 23:10:44.639708"]]  (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", "2015-10-30 23:10:44.642137"], ["updated_at", "2015-10-30 23:10:44.642137"]]  (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", "fnr32pnjMv22DUo0lAAPlg"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | 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.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$nY3blEn8iVHwo6YtNmXkUuiEd73z8B0DGhtGEMZzVjJnWZUW2DWIe"], ["remember_token", "U3lhumNVpuaho05s3Dsaqg"], ["created_at", "2015-10-30 23:10:44.655584"], ["updated_at", "2015-10-30 23:10:44.655584"]]  (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", "2015-10-30 23:10:44.659043"], ["updated_at", "2015-10-30 23:10:44.659043"]]  (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", "2015-10-30 23:10:44.662047"], ["updated_at", "2015-10-30 23:10:44.662047"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.665093"], ["updated_at", "2015-10-30 23:10:44.665093"]] 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", "2015-10-30 23:10:44.666369"], ["updated_at", "2015-10-30 23:10:44.666369"]] 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.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", "2015-10-30 23:10:44.670615"], ["updated_at", "2015-10-30 23:10:44.670615"]]  (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", "2015-10-30 23:10:44.673668"], ["updated_at", "2015-10-30 23:10:44.673668"]]  (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", "2015-10-30 23:10:44.675538"], ["updated_at", "2015-10-30 23:10:44.675538"]]  (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", "2015-10-30 23:10:44.677126"], ["updated_at", "2015-10-30 23:10:44.677126"]]  (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", "2015-10-30 23:10:44.678673"], ["updated_at", "2015-10-30 23:10:44.678673"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$A2.ySwXOYTtQZr0z9AHs2e41Epm9McVfPW2SnjexWJYTJMIayan8O"], ["remember_token", "t74VcK9TOp9D9mJfvgibkA"], ["created_at", "2015-10-30 23:10:44.682448"], ["updated_at", "2015-10-30 23:10:44.682448"]]  (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", 2], ["created_at", "2015-10-30 23:10:44.683920"], ["updated_at", "2015-10-30 23:10:44.683920"]]  (0.0ms) 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", "2015-10-30 23:10:44.685794"], ["updated_at", "2015-10-30 23:10:44.685794"]]  (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.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", "2015-10-30 23:10:44.688195"], ["updated_at", "2015-10-30 23:10:44.688195"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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", "2015-10-30 23:10:44.692586"], ["updated_at", "2015-10-30 23:10:44.692586"]]  (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.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", "2015-10-30 23:10:44.695712"], ["updated_at", "2015-10-30 23:10:44.695712"]]  (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", "2015-10-30 23:10:44.699547"], ["updated_at", "2015-10-30 23:10:44.699547"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.2ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.710395"], ["updated_at", "2015-10-30 23:10:44.710395"]] 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", "2015-10-30 23:10:44.711996"], ["updated_at", "2015-10-30 23:10:44.711996"]] 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", "U3lhumNVpuaho05s3Dsaqg"]] 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.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (2.5ms) 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$KVjmCnCAPuNOx5Zep3/7N.IeoduW2O9TCfswP00BMDh7.ujZ8H7Ay"], ["remember_token", "d25ZfVDT6HrLuq7e16eJQg"], ["created_at", "2015-10-30 23:10:44.730108"], ["updated_at", "2015-10-30 23:10:44.730108"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$BRBmj1X4VwEND75NnYrFcuUuWmg7CTqg/Is1taRGtk32C7Dg5zCw2"], ["remember_token", "_894xYEGB3s784YLDPpCog"], ["created_at", "2015-10-30 23:10:44.735441"], ["updated_at", "2015-10-30 23:10:44.735441"]]  (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", "2015-10-30 23:10:44.737563"], ["updated_at", "2015-10-30 23:10:44.737563"]]  (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", "2015-10-30 23:10:44.739935"], ["updated_at", "2015-10-30 23:10:44.739935"]]  (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", "2015-10-30 23:10:44.741838"], ["updated_at", "2015-10-30 23:10:44.741838"]]  (0.0ms) 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", "2015-10-30 23:10:44.743647"], ["updated_at", "2015-10-30 23:10:44.743647"]]  (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", "2015-10-30 23:10:44.745403"], ["updated_at", "2015-10-30 23:10:44.745403"]]  (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 "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-30 23:10:44.747229"], ["updated_at", "2015-10-30 23:10:44.747229"]]  (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", "2015-10-30 23:10:44.750910"], ["updated_at", "2015-10-30 23:10:44.750910"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:44.754022"], ["updated_at", "2015-10-30 23:10:44.754022"]]  (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", "2015-10-30 23:10:44.756564"], ["updated_at", "2015-10-30 23:10:44.756564"]]  (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", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.759447"], ["updated_at", "2015-10-30 23:10:44.759447"]] 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", "2015-10-30 23:10:44.760765"], ["updated_at", "2015-10-30 23:10:44.760765"]] 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.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.769628"], ["updated_at", "2015-10-30 23:10:44.769628"]] 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", "2015-10-30 23:10:44.770994"], ["updated_at", "2015-10-30 23:10:44.770994"]] 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", "d25ZfVDT6HrLuq7e16eJQg"]] 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.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (5.5ms) 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$AnidVvbAxtasycCNbKpFyOrjTvljgMHPu0EFlvGZxXIhDV12CQg1O"], ["remember_token", "vmNnd-n6kUhfaIw5bS1rBw"], ["created_at", "2015-10-30 23:10:44.794933"], ["updated_at", "2015-10-30 23:10:44.794933"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:44.800452"], ["updated_at", "2015-10-30 23:10:44.800452"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:44.804095"], ["updated_at", "2015-10-30 23:10:44.804095"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.808811"], ["updated_at", "2015-10-30 23:10:44.808811"]] 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", "2015-10-30 23:10:44.810399"], ["updated_at", "2015-10-30 23:10:44.810399"]] 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.1ms) 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$bpJya1IJiGFO3q68vgdPqeVfTYzJnWwY7bO8x4ntaS2zjveRMwGXS"], ["remember_token", "mbAhqpeV6cCSWoXy3lJdQA"], ["created_at", "2015-10-30 23:10:44.815940"], ["updated_at", "2015-10-30 23:10:44.815940"]]  (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", "2015-10-30 23:10:44.817590"], ["updated_at", "2015-10-30 23:10:44.817590"]]  (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", "vmNnd-n6kUhfaIw5bS1rBw"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 8ms (Views: 2.8ms | ActiveRecord: 0.6ms)  (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$RnAaw9OHU.fVMjxL/lNg.Ow0tZe9EVzVAwXSihr4GZBXCZ2gyDfc2"], ["remember_token", "5CcnXi-MRwG7hmOpLS7O3g"], ["created_at", "2015-10-30 23:10:44.833081"], ["updated_at", "2015-10-30 23:10:44.833081"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:44.836399"], ["updated_at", "2015-10-30 23:10:44.836399"]]  (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", "2015-10-30 23:10:44.840080"], ["updated_at", "2015-10-30 23:10:44.840080"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.843978"], ["updated_at", "2015-10-30 23:10:44.843978"]] 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", "2015-10-30 23:10:44.845781"], ["updated_at", "2015-10-30 23:10:44.845781"]] 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.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$Q8GypcK.nLQy9PKvcg4Cw.2Bsyt9iK3G095PmBxhDTg1ItXVp2uUO"], ["remember_token", "3EQBHQW8DBjGD07GfV-REQ"], ["created_at", "2015-10-30 23:10:44.851544"], ["updated_at", "2015-10-30 23:10:44.851544"]]  (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", "2015-10-30 23:10:44.853158"], ["updated_at", "2015-10-30 23:10:44.853158"]]  (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 1 [["remember_token", "5CcnXi-MRwG7hmOpLS7O3g"]] 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.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" = 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"]] Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 15ms (Views: 1.1ms | ActiveRecord: 0.9ms)  (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$U.EH5Zwu8cQadiF2j3CCfOjEcK39mniwGphMw1t89QUf.IqEfRi5C"], ["remember_token", "7LMtS0KvRGHhYPCX0_SRzA"], ["created_at", "2015-10-30 23:10:44.877236"], ["updated_at", "2015-10-30 23:10:44.877236"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:44.880370"], ["updated_at", "2015-10-30 23:10:44.880370"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:44.884805"], ["updated_at", "2015-10-30 23:10:44.884805"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.889264"], ["updated_at", "2015-10-30 23:10:44.889264"]] 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", "2015-10-30 23:10:44.891341"], ["updated_at", "2015-10-30 23:10:44.891341"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "7LMtS0KvRGHhYPCX0_SRzA"]] 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 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.5ms) Completed 200 OK in 7ms (Views: 3.6ms | ActiveRecord: 0.5ms)  (1.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$GidywoHl8B4zRqs.wVurC.aIkqQx4co6xPVzVGXBs7tHz3bowlBOO"], ["remember_token", "ni9VzBLHIxrCMKvu6DuHuw"], ["created_at", "2015-10-30 23:10:44.911175"], ["updated_at", "2015-10-30 23:10:44.911175"]]  (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", "2015-10-30 23:10:44.915907"], ["updated_at", "2015-10-30 23:10:44.915907"]]  (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", "2015-10-30 23:10:44.919210"], ["updated_at", "2015-10-30 23:10:44.919210"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.922697"], ["updated_at", "2015-10-30 23:10:44.922697"]] 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", "2015-10-30 23:10:44.924141"], ["updated_at", "2015-10-30 23:10:44.924141"]] 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.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$uqbSR7RdLY/uzF2eR5i9W.lJvBF9CyAhbtn1Wyj9mLLY84xx1kG6O"], ["remember_token", "Lo8veqqH8TbA6wNTRRJvxQ"], ["created_at", "2015-10-30 23:10:44.931380"], ["updated_at", "2015-10-30 23:10:44.931380"]]  (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", "2015-10-30 23:10:44.934215"], ["updated_at", "2015-10-30 23:10:44.934215"]]  (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", "ni9VzBLHIxrCMKvu6DuHuw"]] 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.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.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.3ms) Completed 200 OK in 10ms (Views: 3.1ms | ActiveRecord: 1.1ms)  (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$aIE5gzTUb75WQKmD4aqdsufIcggIejEwh9P4q1IcCrU/XcxirT8Oe"], ["remember_token", "QIJd2O0dcoAdATcvwC1Uew"], ["created_at", "2015-10-30 23:10:44.953094"], ["updated_at", "2015-10-30 23:10:44.953094"]]  (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", "2015-10-30 23:10:44.956915"], ["updated_at", "2015-10-30 23:10:44.956915"]]  (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", "2015-10-30 23:10:44.960240"], ["updated_at", "2015-10-30 23:10:44.960240"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:44.963259"], ["updated_at", "2015-10-30 23:10:44.963259"]] 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", "2015-10-30 23:10:44.964544"], ["updated_at", "2015-10-30 23:10:44.964544"]] 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.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$ffZLuLRQJCXI6xXP6XuLTuNOzDoYHWKUEO5PtOEuF6k2vrsclDxLK"], ["remember_token", "XAdJHDJzQom04gna4Dnd8w"], ["created_at", "2015-10-30 23:10:44.970028"], ["updated_at", "2015-10-30 23:10:44.970028"]]  (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", "2015-10-30 23:10:44.971670"], ["updated_at", "2015-10-30 23:10:44.971670"]]  (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", "QIJd2O0dcoAdATcvwC1Uew"]] 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 4ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (1.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:44.985036"], ["updated_at", "2015-10-30 23:10:44.985036"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:10:44.987493"], ["updated_at", "2015-10-30 23:10:44.987493"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:44.990981"], ["updated_at", "2015-10-30 23:10:44.990981"]]  (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 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", "2015-10-30 23:10:44.997907"], ["updated_at", "2015-10-30 23:10:44.997907"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:45.000594"], ["updated_at", "2015-10-30 23:10:45.000594"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:10:45.021571"], ["updated_at", "2015-10-30 23:10:45.021571"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:45.024598"], ["updated_at", "2015-10-30 23:10:45.024598"]]  (0.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:45.031867"], ["updated_at", "2015-10-30 23:10:45.031867"]]  (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", "2015-10-30 23:10:45.034126"], ["updated_at", "2015-10-30 23:10:45.034126"]]  (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", "2015-10-30 23:10:45.036796"], ["updated_at", "2015-10-30 23:10:45.036796"]]  (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 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:45.044674"], ["updated_at", "2015-10-30 23:10:45.044674"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:10:45.048214"], ["updated_at", "2015-10-30 23:10:45.048214"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:45.051752"], ["updated_at", "2015-10-30 23:10:45.051752"]]  (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 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", "2015-10-30 23:10:45.058713"], ["updated_at", "2015-10-30 23:10:45.058713"]]  (0.0ms) 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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:10:45.060934"], ["updated_at", "2015-10-30 23:10:45.060934"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.3ms) 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.7ms) 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.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:56.163131"], ["updated_at", "2015-10-30 23:10:56.163131"]]  (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 (2.0ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:56.200249"], ["updated_at", "2015-10-30 23:10:56.200249"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:10:56.232139"], ["updated_at", "2015-10-30 23:10:56.232139"]] 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", "2015-10-30 23:10:56.234498"], ["updated_at", "2015-10-30 23:10:56.234498"]] 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" = 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.2ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:56.247695"], ["updated_at", "2015-10-30 23:10:56.247695"]]  (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 (1.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:56.251061"], ["updated_at", "2015-10-30 23:10:56.251061"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.256062"], ["updated_at", "2015-10-30 23:10:56.256062"]] 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", "2015-10-30 23:10:56.257511"], ["updated_at", "2015-10-30 23:10:56.257511"]] 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" = 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"."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.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" = 1003 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:56.267923"], ["updated_at", "2015-10-30 23:10:56.267923"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:56.270602"], ["updated_at", "2015-10-30 23:10:56.270602"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.274140"], ["updated_at", "2015-10-30 23:10:56.274140"]] 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", "2015-10-30 23:10:56.276003"], ["updated_at", "2015-10-30 23:10:56.276003"]] 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 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" = 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"."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.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" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_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", "2015-10-30 23:10:56.291101"], ["updated_at", "2015-10-30 23:10:56.291101"]]  (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", "2015-10-30 23:10:56.293903"], ["updated_at", "2015-10-30 23:10:56.293903"]]  (0.0ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.298023"], ["updated_at", "2015-10-30 23:10:56.298023"]] 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", "2015-10-30 23:10:56.300395"], ["updated_at", "2015-10-30 23:10:56.300395"]] 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.1ms) 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"]]  (0.9ms) 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", "2015-10-30 23:10:56.311347"], ["updated_at", "2015-10-30 23:10:56.311347"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:56.314040"], ["updated_at", "2015-10-30 23:10:56.314040"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.319437"], ["updated_at", "2015-10-30 23:10:56.319437"]] 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", "2015-10-30 23:10:56.320854"], ["updated_at", "2015-10-30 23:10:56.320854"]] 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"]]  (1.1ms) 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", "2015-10-30 23:10:56.332042"], ["updated_at", "2015-10-30 23:10:56.332042"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:56.335626"], ["updated_at", "2015-10-30 23:10:56.335626"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.339993"], ["updated_at", "2015-10-30 23:10:56.339993"]] 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", "2015-10-30 23:10:56.341716"], ["updated_at", "2015-10-30 23:10:56.341716"]] 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" = 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"."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.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" = 1007 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:56.352039"], ["updated_at", "2015-10-30 23:10:56.352039"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:56.354748"], ["updated_at", "2015-10-30 23:10:56.354748"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.357980"], ["updated_at", "2015-10-30 23:10:56.357980"]] 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", "2015-10-30 23:10:56.359839"], ["updated_at", "2015-10-30 23:10:56.359839"]] 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" = 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"."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.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" = 1008 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:56.370712"], ["updated_at", "2015-10-30 23:10:56.370712"]]  (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 (1.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:56.373342"], ["updated_at", "2015-10-30 23:10:56.373342"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:10:56.378949"], ["updated_at", "2015-10-30 23:10:56.378949"]] 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", "2015-10-30 23:10:56.380504"], ["updated_at", "2015-10-30 23:10:56.380504"]] 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.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"."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.2ms) 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.9ms) 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", "2015-10-30 23:10:56.395772"], ["updated_at", "2015-10-30 23:10:56.395772"]]  (0.2ms) 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", "2015-10-30 23:10:56.399228"], ["updated_at", "2015-10-30 23:10:56.399228"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.403478"], ["updated_at", "2015-10-30 23:10:56.403478"]] 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", "2015-10-30 23:10:56.404969"], ["updated_at", "2015-10-30 23:10:56.404969"]] 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" = 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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-30 23:10:56.416225"], ["updated_at", "2015-10-30 23:10:56.416225"]]  (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", "2015-10-30 23:10:56.420476"], ["updated_at", "2015-10-30 23:10:56.420476"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.424762"], ["updated_at", "2015-10-30 23:10:56.424762"]] 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", "2015-10-30 23:10:56.426476"], ["updated_at", "2015-10-30 23:10:56.426476"]] 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  (1.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:56.446770"], ["updated_at", "2015-10-30 23:10:56.446770"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:56.449611"], ["updated_at", "2015-10-30 23:10:56.449611"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.453236"], ["updated_at", "2015-10-30 23:10:56.453236"]] 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", "2015-10-30 23:10:56.454583"], ["updated_at", "2015-10-30 23:10:56.454583"]] 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.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.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" = 1012 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:10:56.473139"], ["updated_at", "2015-10-30 23:10:56.473139"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:56.476150"], ["updated_at", "2015-10-30 23:10:56.476150"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.480240"], ["updated_at", "2015-10-30 23:10:56.480240"]] 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", "2015-10-30 23:10:56.481835"], ["updated_at", "2015-10-30 23:10:56.481835"]] 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" = 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.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" = 1013 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:56.497704"], ["updated_at", "2015-10-30 23:10:56.497704"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:56.500366"], ["updated_at", "2015-10-30 23:10:56.500366"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.503784"], ["updated_at", "2015-10-30 23:10:56.503784"]] 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", "2015-10-30 23:10:56.505648"], ["updated_at", "2015-10-30 23:10:56.505648"]] 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" = 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.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" = 1016 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:56.517386"], ["updated_at", "2015-10-30 23:10:56.517386"]]  (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", "2015-10-30 23:10:56.520954"], ["updated_at", "2015-10-30 23:10:56.520954"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.525591"], ["updated_at", "2015-10-30 23:10:56.525591"]] 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", "2015-10-30 23:10:56.527041"], ["updated_at", "2015-10-30 23:10:56.527041"]] 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" = 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"."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.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" = 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", "2015-10-30 23:10:56.540848"], ["updated_at", "2015-10-30 23:10:56.540848"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:56.543881"], ["updated_at", "2015-10-30 23:10:56.543881"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.548145"], ["updated_at", "2015-10-30 23:10:56.548145"]] 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", "2015-10-30 23:10:56.549567"], ["updated_at", "2015-10-30 23:10:56.549567"]] 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" = 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:56.560440"], ["updated_at", "2015-10-30 23:10:56.560440"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:56.563005"], ["updated_at", "2015-10-30 23:10:56.563005"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.567550"], ["updated_at", "2015-10-30 23:10:56.567550"]] 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", "2015-10-30 23:10:56.569328"], ["updated_at", "2015-10-30 23:10:56.569328"]] 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.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" = 1022 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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction 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", "2015-10-30 23:10:56.593866"], ["updated_at", "2015-10-30 23:10:56.593866"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_group_users" ("adeia_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_group_id", 1], ["user_id", 1023], ["created_at", "2015-10-30 23:10:56.598442"], ["updated_at", "2015-10-30 23:10:56.598442"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:56.602499"], ["updated_at", "2015-10-30 23:10:56.602499"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:56.605744"], ["updated_at", "2015-10-30 23:10:56.605744"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.610314"], ["updated_at", "2015-10-30 23:10:56.610314"]] 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", "2015-10-30 23:10:56.611817"], ["updated_at", "2015-10-30 23:10:56.611817"]] 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.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" = 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"."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"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$XiuKV69CRbQD9kf7x6ObuufI6uWjfBsBJSxoUZC4HCTiS7CrJKI3K"], ["remember_token", "4qcEOlW_VV-UDaEvjtf4Ng"], ["created_at", "2015-10-30 23:10:56.635259"], ["updated_at", "2015-10-30 23:10:56.635259"]]  (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", "2015-10-30 23:10:56.639873"], ["updated_at", "2015-10-30 23:10:56.639873"]]  (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", "2015-10-30 23:10:56.642851"], ["updated_at", "2015-10-30 23:10:56.642851"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.645888"], ["updated_at", "2015-10-30 23:10:56.645888"]] 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", "2015-10-30 23:10:56.648136"], ["updated_at", "2015-10-30 23:10:56.648136"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "4qcEOlW_VV-UDaEvjtf4Ng"]] 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.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" = '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.6ms) Completed 200 OK in 23ms (Views: 17.7ms | ActiveRecord: 0.8ms)  (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$8ur4Ukn0LqXy0FRlt6uVeOxl94SDt.aSno2luWIJ5HhLW6zvZoAcq"], ["remember_token", "gUykAklvAwbu6-0MONGk4w"], ["created_at", "2015-10-30 23:10:56.685763"], ["updated_at", "2015-10-30 23:10:56.685763"]]  (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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:56.689484"], ["updated_at", "2015-10-30 23:10:56.689484"]]  (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", "2015-10-30 23:10:56.693750"], ["updated_at", "2015-10-30 23:10:56.693750"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.697742"], ["updated_at", "2015-10-30 23:10:56.697742"]] 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", "2015-10-30 23:10:56.699162"], ["updated_at", "2015-10-30 23:10:56.699162"]] 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", "gUykAklvAwbu6-0MONGk4w"]] 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.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.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" = '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.2ms) Completed 200 OK in 8ms (Views: 1.3ms | 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$45RIMVREgf48m5ZvAVbgseuLYlofvhLwCP7UHYDd0w9bBInTTe8Wy"], ["remember_token", "_6et445SkM7fQXMZ4jOTsQ"], ["created_at", "2015-10-30 23:10:56.718434"], ["updated_at", "2015-10-30 23:10:56.718434"]]  (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", "2015-10-30 23:10:56.723568"], ["updated_at", "2015-10-30 23:10:56.723568"]]  (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", "2015-10-30 23:10:56.726953"], ["updated_at", "2015-10-30 23:10:56.726953"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.730137"], ["updated_at", "2015-10-30 23:10:56.730137"]] 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", "2015-10-30 23:10:56.731487"], ["updated_at", "2015-10-30 23:10:56.731487"]] 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.2ms) 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$A8Bk3e0/6Ai7mUHE0p5XUey7jp6/2/Bs94TRQAit5iBuW2cfaKYS."], ["remember_token", "hhPdBavnsiSAzC99PCp3Vw"], ["created_at", "2015-10-30 23:10:56.743734"], ["updated_at", "2015-10-30 23:10:56.743734"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", "2015-10-30 23:10:56.746171"], ["updated_at", "2015-10-30 23:10:56.746171"]]  (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.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", "2015-10-30 23:10:56.759589"], ["updated_at", "2015-10-30 23:10:56.759589"]]  (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", "2015-10-30 23:10:56.762017"], ["updated_at", "2015-10-30 23:10:56.762017"]]  (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", "2015-10-30 23:10:56.764156"], ["updated_at", "2015-10-30 23:10:56.764156"]]  (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", "2015-10-30 23:10:56.766188"], ["updated_at", "2015-10-30 23:10:56.766188"]]  (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", "_6et445SkM7fQXMZ4jOTsQ"]] 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.1ms | ActiveRecord: 0.5ms)  (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$RE7/IeL7Uiasy2s8sj32/.9kIOmpNPNgvgbBhrp/WSQg6chJo3aKW"], ["remember_token", "lL1MxAkaxWJUNeLhuHU-NQ"], ["created_at", "2015-10-30 23:10:56.781279"], ["updated_at", "2015-10-30 23:10:56.781279"]]  (0.0ms) 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", "2015-10-30 23:10:56.784681"], ["updated_at", "2015-10-30 23:10:56.784681"]]  (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", "2015-10-30 23:10:56.788009"], ["updated_at", "2015-10-30 23:10:56.788009"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.791114"], ["updated_at", "2015-10-30 23:10:56.791114"]] 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", "2015-10-30 23:10:56.793084"], ["updated_at", "2015-10-30 23:10:56.793084"]] 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.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", "2015-10-30 23:10:56.797106"], ["updated_at", "2015-10-30 23:10:56.797106"]]  (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", "2015-10-30 23:10:56.798846"], ["updated_at", "2015-10-30 23:10:56.798846"]]  (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", "2015-10-30 23:10:56.800580"], ["updated_at", "2015-10-30 23:10:56.800580"]]  (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", "2015-10-30 23:10:56.802730"], ["updated_at", "2015-10-30 23:10:56.802730"]]  (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", "2015-10-30 23:10:56.804531"], ["updated_at", "2015-10-30 23:10:56.804531"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$nNnGuL0wJJyF7AF7K1QhF./Pl5XOPu9pZ9G7H3WA0kFX.z93ud3nO"], ["remember_token", "ySqS4UwWn-5UYBgfIcYhMw"], ["created_at", "2015-10-30 23:10:56.808482"], ["updated_at", "2015-10-30 23:10:56.808482"]]  (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", "2015-10-30 23:10:56.809953"], ["updated_at", "2015-10-30 23:10:56.809953"]]  (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", "2015-10-30 23:10:56.811797"], ["updated_at", "2015-10-30 23:10:56.811797"]]  (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.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", "2015-10-30 23:10:56.815482"], ["updated_at", "2015-10-30 23:10:56.815482"]]  (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.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", "2015-10-30 23:10:56.818712"], ["updated_at", "2015-10-30 23:10:56.818712"]]  (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", "2015-10-30 23:10:56.822078"], ["updated_at", "2015-10-30 23:10:56.822078"]]  (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", "lL1MxAkaxWJUNeLhuHU-NQ"]] 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.2ms) Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 0.7ms) Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (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$FZ8mdUyWwqhjdSgDNzdL6ejp83PbDGdeXq2VGu2ZnsM9nxx8uIc7u"], ["remember_token", "EQ2fEJvT7g3AqtrF0BO7AA"], ["created_at", "2015-10-30 23:10:56.837481"], ["updated_at", "2015-10-30 23:10:56.837481"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:56.840875"], ["updated_at", "2015-10-30 23:10:56.840875"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:56.844113"], ["updated_at", "2015-10-30 23:10:56.844113"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.849812"], ["updated_at", "2015-10-30 23:10:56.849812"]] 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", "2015-10-30 23:10:56.851812"], ["updated_at", "2015-10-30 23:10:56.851812"]] 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.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", "2015-10-30 23:10:56.855831"], ["updated_at", "2015-10-30 23:10:56.855831"]]  (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", "2015-10-30 23:10:56.858027"], ["updated_at", "2015-10-30 23:10:56.858027"]]  (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", "2015-10-30 23:10:56.860056"], ["updated_at", "2015-10-30 23:10:56.860056"]]  (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", "2015-10-30 23:10:56.862090"], ["updated_at", "2015-10-30 23:10:56.862090"]]  (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", "2015-10-30 23:10:56.863655"], ["updated_at", "2015-10-30 23:10:56.863655"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$fgHa7EuOyH5F5j9WGsp5XurjSsaz7jpZK5YuFJBL5sA4flhSFPEOu"], ["remember_token", "WQpmJStKg2g1NFghVVjh1Q"], ["created_at", "2015-10-30 23:10:56.867869"], ["updated_at", "2015-10-30 23:10:56.867869"]]  (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", "2015-10-30 23:10:56.869940"], ["updated_at", "2015-10-30 23:10:56.869940"]]  (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", "2015-10-30 23:10:56.872270"], ["updated_at", "2015-10-30 23:10:56.872270"]]  (0.0ms) 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", "2015-10-30 23:10:56.874027"], ["updated_at", "2015-10-30 23:10:56.874027"]]  (0.0ms) 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", "2015-10-30 23:10:56.875774"], ["updated_at", "2015-10-30 23:10:56.875774"]]  (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", "2015-10-30 23:10:56.877592"], ["updated_at", "2015-10-30 23:10:56.877592"]]  (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", "2015-10-30 23:10:56.880159"], ["updated_at", "2015-10-30 23:10:56.880159"]]  (0.0ms) 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.0ms) 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_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.886252"], ["updated_at", "2015-10-30 23:10:56.886252"]] 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", "2015-10-30 23:10:56.888992"], ["updated_at", "2015-10-30 23:10:56.888992"]] 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", "EQ2fEJvT7g3AqtrF0BO7AA"]] 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 7ms (Views: 1.1ms | ActiveRecord: 0.6ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (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$1MFa4CTMgQrraXUw2Hw9ru3hq1JAM0Aivc9Gqs7Y9mfvu5JumQzOu"], ["remember_token", "ZgEe_y7YvnPErhfRSKBpwA"], ["created_at", "2015-10-30 23:10:56.908045"], ["updated_at", "2015-10-30 23:10:56.908045"]]  (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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$jObJK/.awSgrH1QmSz.CcOBid6bwicXZhTD2wYC/WdBP3ZTWYBLGK"], ["remember_token", "wOCV07rVJ6WDWHUW8cDKAw"], ["created_at", "2015-10-30 23:10:56.912796"], ["updated_at", "2015-10-30 23:10:56.912796"]]  (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", "2015-10-30 23:10:56.915150"], ["updated_at", "2015-10-30 23:10:56.915150"]]  (0.0ms) 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", "2015-10-30 23:10:56.917227"], ["updated_at", "2015-10-30 23:10:56.917227"]]  (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", "2015-10-30 23:10:56.919053"], ["updated_at", "2015-10-30 23:10:56.919053"]]  (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", "2015-10-30 23:10:56.920841"], ["updated_at", "2015-10-30 23:10:56.920841"]]  (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", "2015-10-30 23:10:56.922590"], ["updated_at", "2015-10-30 23:10:56.922590"]]  (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", "2015-10-30 23:10:56.924406"], ["updated_at", "2015-10-30 23:10:56.924406"]]  (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", "2015-10-30 23:10:56.926249"], ["updated_at", "2015-10-30 23:10:56.926249"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:56.931560"], ["updated_at", "2015-10-30 23:10:56.931560"]]  (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", "2015-10-30 23:10:56.935264"], ["updated_at", "2015-10-30 23:10:56.935264"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.939918"], ["updated_at", "2015-10-30 23:10:56.939918"]] 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", "2015-10-30 23:10:56.942134"], ["updated_at", "2015-10-30 23:10:56.942134"]] 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.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_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.949368"], ["updated_at", "2015-10-30 23:10:56.949368"]] 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", "2015-10-30 23:10:56.950712"], ["updated_at", "2015-10-30 23:10:56.950712"]] 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", "ZgEe_y7YvnPErhfRSKBpwA"]] 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.4ms) Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.6ms) Article Load (0.3ms) 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$A1YPJFS4XF8bfLSDVT8kJOKw.zpMt2VBhHjXoLuepCSnoOFwTHmOG"], ["remember_token", "pzXyb9eAXZXU6da6C-cYUA"], ["created_at", "2015-10-30 23:10:56.969356"], ["updated_at", "2015-10-30 23:10:56.969356"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:56.972637"], ["updated_at", "2015-10-30 23:10:56.972637"]]  (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", "2015-10-30 23:10:56.975854"], ["updated_at", "2015-10-30 23:10:56.975854"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:56.979232"], ["updated_at", "2015-10-30 23:10:56.979232"]] 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", "2015-10-30 23:10:56.980567"], ["updated_at", "2015-10-30 23:10:56.980567"]] 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.1ms) 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$6jP7UgvQKalCREsUGsfbZ.anArCwEEcY7uJfe3XE5Ml3ZPeaL/5Z."], ["remember_token", "x-hhZA2JM0WuS30ZT43mag"], ["created_at", "2015-10-30 23:10:56.986020"], ["updated_at", "2015-10-30 23:10:56.986020"]]  (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", "2015-10-30 23:10:56.987578"], ["updated_at", "2015-10-30 23:10:56.987578"]]  (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", "pzXyb9eAXZXU6da6C-cYUA"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 0.5ms)  (1.3ms) 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$cJva6CSRvSB/H.jyCRcbF.KzOxiFevV2gZuAkLHkzVGxTpR0l08my"], ["remember_token", "zwoJhzSz8d551223KxyzIQ"], ["created_at", "2015-10-30 23:10:57.005521"], ["updated_at", "2015-10-30 23:10:57.005521"]]  (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", "2015-10-30 23:10:57.010054"], ["updated_at", "2015-10-30 23:10:57.010054"]]  (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", "2015-10-30 23:10:57.013346"], ["updated_at", "2015-10-30 23:10:57.013346"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:57.016914"], ["updated_at", "2015-10-30 23:10:57.016914"]] 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", "2015-10-30 23:10:57.018305"], ["updated_at", "2015-10-30 23:10:57.018305"]] 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.1ms) 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$RVQvwt8NnrVDO6F1EONXNuiLKnbWxac4z10K43wI79prNrQn7B/Zq"], ["remember_token", "PL8CKJ8Lxuvbw1QQx7hUzg"], ["created_at", "2015-10-30 23:10:57.026317"], ["updated_at", "2015-10-30 23:10:57.026317"]]  (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", "2015-10-30 23:10:57.028022"], ["updated_at", "2015-10-30 23:10:57.028022"]]  (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 1 [["remember_token", "zwoJhzSz8d551223KxyzIQ"]] 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.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"]] Rendered articles/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 0.7ms)  (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$rFVmuR8QO9JJdAJcWOH5GumaUyhAPcR1uRHKGbEqvvSAj2uy4jMqq"], ["remember_token", "Q_RHoRjEK7JDLexlUe50Dw"], ["created_at", "2015-10-30 23:10:57.051680"], ["updated_at", "2015-10-30 23:10:57.051680"]]  (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", "2015-10-30 23:10:57.056737"], ["updated_at", "2015-10-30 23:10:57.056737"]]  (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", "2015-10-30 23:10:57.060164"], ["updated_at", "2015-10-30 23:10:57.060164"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:57.063865"], ["updated_at", "2015-10-30 23:10:57.063865"]] 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", "2015-10-30 23:10:57.065305"], ["updated_at", "2015-10-30 23:10:57.065305"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "Q_RHoRjEK7JDLexlUe50Dw"]] 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 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.5ms) Completed 200 OK in 7ms (Views: 3.7ms | 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$RBB.5S1blwMXsqrLsEzqq.YxZHTGOIMGgnDEcMhAAu6YCcXf1RjCa"], ["remember_token", "L_J2IDn7xG5taAE-OZxbbw"], ["created_at", "2015-10-30 23:10:57.085715"], ["updated_at", "2015-10-30 23:10:57.085715"]]  (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", "2015-10-30 23:10:57.090093"], ["updated_at", "2015-10-30 23:10:57.090093"]]  (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", "2015-10-30 23:10:57.093205"], ["updated_at", "2015-10-30 23:10:57.093205"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:57.096402"], ["updated_at", "2015-10-30 23:10:57.096402"]] 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", "2015-10-30 23:10:57.097691"], ["updated_at", "2015-10-30 23:10:57.097691"]] 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.1ms) 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$f4d9fGhmBp6GTotWTNQg0enIWgUiJ37b3I7CGiYU46Lh/sYEdiYq."], ["remember_token", "gASIlG4OeGF0yyAdzFn3AA"], ["created_at", "2015-10-30 23:10:57.105667"], ["updated_at", "2015-10-30 23:10:57.105667"]]  (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", "2015-10-30 23:10:57.107274"], ["updated_at", "2015-10-30 23:10:57.107274"]]  (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", "L_J2IDn7xG5taAE-OZxbbw"]] Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]] Adeia::Token Load (0.3ms) 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.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" = 1 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] Rendered articles/edit.html.erb within layouts/application (0.4ms) Completed 200 OK in 11ms (Views: 3.9ms | 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$pC33OfI9NRy/dUSaCAPmRuZagcB1TmjfKi354Dt.ZVvxb7TMKPKLq"], ["remember_token", "_0Ql6-EHFUQ_wGC23OTlfg"], ["created_at", "2015-10-30 23:10:57.126696"], ["updated_at", "2015-10-30 23:10:57.126696"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:10:57.130451"], ["updated_at", "2015-10-30 23:10:57.130451"]]  (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", "2015-10-30 23:10:57.133805"], ["updated_at", "2015-10-30 23:10:57.133805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:10:57.137676"], ["updated_at", "2015-10-30 23:10:57.137676"]] 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", "2015-10-30 23:10:57.140330"], ["updated_at", "2015-10-30 23:10:57.140330"]] 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.1ms) 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$YBiaJ6f.v4rMEUmRmQpzK.4Mkaw7XQ.lXYpSyvoKhKdGrJviJ7b9W"], ["remember_token", "gOosURO9-l0AtF2U6y3-7Q"], ["created_at", "2015-10-30 23:10:57.148565"], ["updated_at", "2015-10-30 23:10:57.148565"]]  (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", "2015-10-30 23:10:57.150777"], ["updated_at", "2015-10-30 23:10:57.150777"]]  (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", "_0Ql6-EHFUQ_wGC23OTlfg"]] 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.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.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.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 6ms (Views: 1.2ms | ActiveRecord: 0.8ms)  (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", "2015-10-30 23:10:57.163480"], ["updated_at", "2015-10-30 23:10:57.163480"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:10:57.165836"], ["updated_at", "2015-10-30 23:10:57.165836"]]  (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", "2015-10-30 23:10:57.168417"], ["updated_at", "2015-10-30 23:10:57.168417"]]  (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 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", "2015-10-30 23:10:57.175467"], ["updated_at", "2015-10-30 23:10:57.175467"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:57.178156"], ["updated_at", "2015-10-30 23:10:57.178156"]]  (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 1 [["name", "admin"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:10:57.199965"], ["updated_at", "2015-10-30 23:10:57.199965"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:57.202732"], ["updated_at", "2015-10-30 23:10:57.202732"]]  (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", "2015-10-30 23:10:57.211417"], ["updated_at", "2015-10-30 23:10:57.211417"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:10:57.214075"], ["updated_at", "2015-10-30 23:10:57.214075"]]  (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", "2015-10-30 23:10:57.216783"], ["updated_at", "2015-10-30 23:10:57.216783"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:57.224700"], ["updated_at", "2015-10-30 23:10:57.224700"]]  (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", "2015-10-30 23:10:57.226907"], ["updated_at", "2015-10-30 23:10:57.226907"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:10:57.230535"], ["updated_at", "2015-10-30 23:10:57.230535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:10:57.245814"], ["updated_at", "2015-10-30 23:10:57.245814"]]  (0.2ms) 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.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:10:57.252291"], ["updated_at", "2015-10-30 23:10:57.252291"]]  (0.1ms) RELEASE SAVEPOINT active_record_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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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.7ms) 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.9ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:11:05.539967"], ["updated_at", "2015-10-30 23:11:05.539967"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:05.560276"], ["updated_at", "2015-10-30 23:11:05.560276"]]  (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", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:11:05.588601"], ["updated_at", "2015-10-30 23:11:05.588601"]] 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", "2015-10-30 23:11:05.590738"], ["updated_at", "2015-10-30 23:11:05.590738"]] 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" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1002 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:11:05.603303"], ["updated_at", "2015-10-30 23:11:05.603303"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:05.606655"], ["updated_at", "2015-10-30 23:11:05.606655"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:05.610302"], ["updated_at", "2015-10-30 23:11:05.610302"]] 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", "2015-10-30 23:11:05.611645"], ["updated_at", "2015-10-30 23:11:05.611645"]] 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" = 1003  (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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:11:05.624048"], ["updated_at", "2015-10-30 23:11:05.624048"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:05.626670"], ["updated_at", "2015-10-30 23:11:05.626670"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:05.630197"], ["updated_at", "2015-10-30 23:11:05.630197"]] 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", "2015-10-30 23:11:05.631988"], ["updated_at", "2015-10-30 23:11:05.631988"]] 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.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", "2015-10-30 23:11:05.646050"], ["updated_at", "2015-10-30 23:11:05.646050"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:05.650202"], ["updated_at", "2015-10-30 23:11:05.650202"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:05.657201"], ["updated_at", "2015-10-30 23:11:05.657201"]] 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", "2015-10-30 23:11:05.659166"], ["updated_at", "2015-10-30 23:11:05.659166"]] 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.1ms) 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"]]  (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", "2015-10-30 23:11:05.672357"], ["updated_at", "2015-10-30 23:11:05.672357"]]  (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", "2015-10-30 23:11:05.676373"], ["updated_at", "2015-10-30 23:11:05.676373"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:05.682475"], ["updated_at", "2015-10-30 23:11:05.682475"]] 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", "2015-10-30 23:11:05.685027"], ["updated_at", "2015-10-30 23:11:05.685027"]] 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.1ms) 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.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", "2015-10-30 23:11:05.696036"], ["updated_at", "2015-10-30 23:11:05.696036"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:05.698814"], ["updated_at", "2015-10-30 23:11:05.698814"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:05.704044"], ["updated_at", "2015-10-30 23:11:05.704044"]] 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", "2015-10-30 23:11:05.706391"], ["updated_at", "2015-10-30 23:11:05.706391"]] 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" = 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"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:11:05.719501"], ["updated_at", "2015-10-30 23:11:05.719501"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:05.722206"], ["updated_at", "2015-10-30 23:11:05.722206"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:05.725474"], ["updated_at", "2015-10-30 23:11:05.725474"]] 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", "2015-10-30 23:11:05.726861"], ["updated_at", "2015-10-30 23:11:05.726861"]] 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" = 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.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" = 1008 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) rollback transaction  (0.3ms) 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", "2015-10-30 23:11:05.742807"], ["updated_at", "2015-10-30 23:11:05.742807"]]  (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", "2015-10-30 23:11:05.747547"], ["updated_at", "2015-10-30 23:11:05.747547"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:11:05.752933"], ["updated_at", "2015-10-30 23:11:05.752933"]] 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", "2015-10-30 23:11:05.754484"], ["updated_at", "2015-10-30 23:11:05.754484"]] 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.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"."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.2ms) 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"]]  (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", "2015-10-30 23:11:05.768113"], ["updated_at", "2015-10-30 23:11:05.768113"]]  (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", "2015-10-30 23:11:05.772142"], ["updated_at", "2015-10-30 23:11:05.772142"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:05.777310"], ["updated_at", "2015-10-30 23:11:05.777310"]] 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", "2015-10-30 23:11:05.779200"], ["updated_at", "2015-10-30 23:11:05.779200"]] 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" = 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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-30 23:11:05.792865"], ["updated_at", "2015-10-30 23:11:05.792865"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:05.795627"], ["updated_at", "2015-10-30 23:11:05.795627"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:05.799597"], ["updated_at", "2015-10-30 23:11:05.799597"]] 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", "2015-10-30 23:11:05.802151"], ["updated_at", "2015-10-30 23:11:05.802151"]] 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.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.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:11:05.813446"], ["updated_at", "2015-10-30 23:11:05.813446"]]  (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", "2015-10-30 23:11:05.817363"], ["updated_at", "2015-10-30 23:11:05.817363"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:05.821273"], ["updated_at", "2015-10-30 23:11:05.821273"]] 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", "2015-10-30 23:11:05.822760"], ["updated_at", "2015-10-30 23:11:05.822760"]] 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" = 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"."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"]]  (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", "2015-10-30 23:11:05.841014"], ["updated_at", "2015-10-30 23:11:05.841014"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:05.843804"], ["updated_at", "2015-10-30 23:11:05.843804"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:05.849462"], ["updated_at", "2015-10-30 23:11:05.849462"]] 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", "2015-10-30 23:11:05.851965"], ["updated_at", "2015-10-30 23:11:05.851965"]] 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" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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", "2015-10-30 23:11:05.868845"], ["updated_at", "2015-10-30 23:11:05.868845"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:05.871876"], ["updated_at", "2015-10-30 23:11:05.871876"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:05.875922"], ["updated_at", "2015-10-30 23:11:05.875922"]] 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", "2015-10-30 23:11:05.877307"], ["updated_at", "2015-10-30 23:11:05.877307"]] 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" = 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"."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.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" = 1016 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", "2015-10-30 23:11:05.889862"], ["updated_at", "2015-10-30 23:11:05.889862"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:05.892534"], ["updated_at", "2015-10-30 23:11:05.892534"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:05.895960"], ["updated_at", "2015-10-30 23:11:05.895960"]] 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", "2015-10-30 23:11:05.897518"], ["updated_at", "2015-10-30 23:11:05.897518"]] 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" = 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.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" = 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:11:05.909155"], ["updated_at", "2015-10-30 23:11:05.909155"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:05.911674"], ["updated_at", "2015-10-30 23:11:05.911674"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:05.914998"], ["updated_at", "2015-10-30 23:11:05.914998"]] 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", "2015-10-30 23:11:05.917094"], ["updated_at", "2015-10-30 23:11:05.917094"]] 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" = 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.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" = 1020 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:11:05.928075"], ["updated_at", "2015-10-30 23:11:05.928075"]]  (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", "2015-10-30 23:11:05.931083"], ["updated_at", "2015-10-30 23:11:05.931083"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:05.935172"], ["updated_at", "2015-10-30 23:11:05.935172"]] 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", "2015-10-30 23:11:05.937152"], ["updated_at", "2015-10-30 23:11:05.937152"]] 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.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" = 1022 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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.5ms) 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", "2015-10-30 23:11:05.962548"], ["updated_at", "2015-10-30 23:11:05.962548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_group_users" ("adeia_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_group_id", 1], ["user_id", 1023], ["created_at", "2015-10-30 23:11:05.966444"], ["updated_at", "2015-10-30 23:11:05.966444"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:11:05.970613"], ["updated_at", "2015-10-30 23:11:05.970613"]]  (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", "2015-10-30 23:11:05.973147"], ["updated_at", "2015-10-30 23:11:05.973147"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:05.976934"], ["updated_at", "2015-10-30 23:11:05.976934"]] 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", "2015-10-30 23:11:05.978325"], ["updated_at", "2015-10-30 23:11:05.978325"]] 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" = 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"."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  (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$TESIy..hgOYcMV4aCDZEj.X9IqWJJj4vmiTWX0Br7gddHJdgyxBlS"], ["remember_token", "x6WtF5DtaHRbR6UmDAfc9g"], ["created_at", "2015-10-30 23:11:05.999959"], ["updated_at", "2015-10-30 23:11:05.999959"]]  (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", "2015-10-30 23:11:06.004938"], ["updated_at", "2015-10-30 23:11:06.004938"]]  (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", "2015-10-30 23:11:06.007717"], ["updated_at", "2015-10-30 23:11:06.007717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:06.011005"], ["updated_at", "2015-10-30 23:11:06.011005"]] 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", "2015-10-30 23:11:06.013393"], ["updated_at", "2015-10-30 23:11:06.013393"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "x6WtF5DtaHRbR6UmDAfc9g"]] 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.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" = 'articles' [["read_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"."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 21ms (Views: 14.1ms | ActiveRecord: 0.8ms)  (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$KyT0fC0gv07iMX09NBUJde2bRXnDVuaooe.jfql5KQwpq4bARbYE6"], ["remember_token", "u_OHSAnpIDtLc9095Ix7BQ"], ["created_at", "2015-10-30 23:11:06.046181"], ["updated_at", "2015-10-30 23:11:06.046181"]]  (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", "2015-10-30 23:11:06.049765"], ["updated_at", "2015-10-30 23:11:06.049765"]]  (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", "2015-10-30 23:11:06.053600"], ["updated_at", "2015-10-30 23:11:06.053600"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:06.057094"], ["updated_at", "2015-10-30 23:11:06.057094"]] 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", "2015-10-30 23:11:06.058537"], ["updated_at", "2015-10-30 23:11:06.058537"]] 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", "u_OHSAnpIDtLc9095Ix7BQ"]] 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: 1.0ms | ActiveRecord: 0.5ms)  (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$D7M3HMfobiZ2HJlxtzU5t.2cuYztySMl4Mn5KVOGw7DcznKJBjpc6"], ["remember_token", "fPmCRaKy-9IY5zy1H0TooQ"], ["created_at", "2015-10-30 23:11:06.072995"], ["updated_at", "2015-10-30 23:11:06.072995"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:11:06.076090"], ["updated_at", "2015-10-30 23:11:06.076090"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:06.079127"], ["updated_at", "2015-10-30 23:11:06.079127"]]  (0.2ms) 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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:06.083687"], ["updated_at", "2015-10-30 23:11:06.083687"]] 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", "2015-10-30 23:11:06.085049"], ["updated_at", "2015-10-30 23:11:06.085049"]] 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.2ms) 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$mNj2DX9PyL5APpwEQQ2fOuxNkZ1oNhpVQSmO2x0saHqTaw57s4yOG"], ["remember_token", "MlygUcrzi7BtByf8NTv_Og"], ["created_at", "2015-10-30 23:11:06.098901"], ["updated_at", "2015-10-30 23:11:06.098901"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-30 23:11:06.107795"], ["updated_at", "2015-10-30 23:11:06.107795"]]  (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.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", "2015-10-30 23:11:06.112328"], ["updated_at", "2015-10-30 23:11:06.112328"]]  (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", "2015-10-30 23:11:06.115586"], ["updated_at", "2015-10-30 23:11:06.115586"]]  (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", "2015-10-30 23:11:06.118293"], ["updated_at", "2015-10-30 23:11:06.118293"]]  (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", "2015-10-30 23:11:06.120696"], ["updated_at", "2015-10-30 23:11:06.120696"]]  (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", "fPmCRaKy-9IY5zy1H0TooQ"]] 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.6ms)  (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$yFeJKCCaoUa0LCXN5Y4lVeAqkjGbTy..dRS2cYCBxfny74wI9oDea"], ["remember_token", "TBOzuaUG2Rr09y2_YJ_70Q"], ["created_at", "2015-10-30 23:11:06.135718"], ["updated_at", "2015-10-30 23:11:06.135718"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:11:06.139202"], ["updated_at", "2015-10-30 23:11:06.139202"]]  (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", "2015-10-30 23:11:06.143574"], ["updated_at", "2015-10-30 23:11:06.143574"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:06.146739"], ["updated_at", "2015-10-30 23:11:06.146739"]] 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", "2015-10-30 23:11:06.147988"], ["updated_at", "2015-10-30 23:11:06.147988"]] 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", "2015-10-30 23:11:06.151259"], ["updated_at", "2015-10-30 23:11:06.151259"]]  (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", "2015-10-30 23:11:06.153029"], ["updated_at", "2015-10-30 23:11:06.153029"]]  (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", "2015-10-30 23:11:06.154701"], ["updated_at", "2015-10-30 23:11:06.154701"]]  (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", "2015-10-30 23:11:06.157891"], ["updated_at", "2015-10-30 23:11:06.157891"]]  (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", "2015-10-30 23:11:06.160864"], ["updated_at", "2015-10-30 23:11:06.160864"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$anbMdMUSUAlEirD1v9QS1e74znartwg9paMr9QGArYM4fSiUILHTm"], ["remember_token", "t4d2WUfyuFHlaqrTrhE9aw"], ["created_at", "2015-10-30 23:11:06.166472"], ["updated_at", "2015-10-30 23:11:06.166472"]]  (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", "2015-10-30 23:11:06.168632"], ["updated_at", "2015-10-30 23:11:06.168632"]]  (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", "2015-10-30 23:11:06.171304"], ["updated_at", "2015-10-30 23:11:06.171304"]]  (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", "2015-10-30 23:11:06.173473"], ["updated_at", "2015-10-30 23:11:06.173473"]]  (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", "2015-10-30 23:11:06.175732"], ["updated_at", "2015-10-30 23:11:06.175732"]]  (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", "2015-10-30 23:11:06.177505"], ["updated_at", "2015-10-30 23:11:06.177505"]]  (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", "TBOzuaUG2Rr09y2_YJ_70Q"]] 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) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (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$frFAXIYGceK5O73uv9VOb./iQp0xaMTQbXOE0H5IfoS10eRCB0Kza"], ["remember_token", "syLVdTKt7-edX4Ct4ObVng"], ["created_at", "2015-10-30 23:11:06.191440"], ["updated_at", "2015-10-30 23:11:06.191440"]]  (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", "2015-10-30 23:11:06.194719"], ["updated_at", "2015-10-30 23:11:06.194719"]]  (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", "2015-10-30 23:11:06.198433"], ["updated_at", "2015-10-30 23:11:06.198433"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:06.201593"], ["updated_at", "2015-10-30 23:11:06.201593"]] 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", "2015-10-30 23:11:06.202875"], ["updated_at", "2015-10-30 23:11:06.202875"]] 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.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", "2015-10-30 23:11:06.206294"], ["updated_at", "2015-10-30 23:11:06.206294"]]  (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", "2015-10-30 23:11:06.208171"], ["updated_at", "2015-10-30 23:11:06.208171"]]  (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", "2015-10-30 23:11:06.209820"], ["updated_at", "2015-10-30 23:11:06.209820"]]  (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", "2015-10-30 23:11:06.211396"], ["updated_at", "2015-10-30 23:11:06.211396"]]  (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", "2015-10-30 23:11:06.212920"], ["updated_at", "2015-10-30 23:11:06.212920"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$TGwQK/hTl0xrDYLftW.ScOBJlgsp6u2bZ.cC.VscFyv3BaXCIVZ22"], ["remember_token", "GqRRmDip4DChRJUYUOBa1g"], ["created_at", "2015-10-30 23:11:06.219636"], ["updated_at", "2015-10-30 23:11:06.219636"]]  (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", "2015-10-30 23:11:06.222035"], ["updated_at", "2015-10-30 23:11:06.222035"]]  (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", "2015-10-30 23:11:06.225068"], ["updated_at", "2015-10-30 23:11:06.225068"]]  (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", "2015-10-30 23:11:06.228139"], ["updated_at", "2015-10-30 23:11:06.228139"]]  (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", "2015-10-30 23:11:06.230358"], ["updated_at", "2015-10-30 23:11:06.230358"]]  (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", "2015-10-30 23:11:06.232548"], ["updated_at", "2015-10-30 23:11:06.232548"]]  (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", "2015-10-30 23:11:06.234561"], ["updated_at", "2015-10-30 23:11:06.234561"]]  (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.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:06.240998"], ["updated_at", "2015-10-30 23:11:06.240998"]] 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", "2015-10-30 23:11:06.242350"], ["updated_at", "2015-10-30 23:11:06.242350"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "syLVdTKt7-edX4Ct4ObVng"]] 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.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.5ms) 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.7ms) Completed 200 OK in 12ms (Views: 2.0ms | ActiveRecord: 1.5ms) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (1.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$2n1cWpMMv2HthHn/NP5BWOyXkQ4lDHbS.7sfNyhMhspMJkmo5QTUq"], ["remember_token", "jOiWL8fzgTbiMducuZayvg"], ["created_at", "2015-10-30 23:11:06.270035"], ["updated_at", "2015-10-30 23:11:06.270035"]]  (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.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$x/oF/lDt0GCveblbwzW/kOv.hnvYodtiBEUxN3.3hQWX..CmJfly6"], ["remember_token", "6Ci6rAJC9GOuvEuV23Vw3g"], ["created_at", "2015-10-30 23:11:06.278067"], ["updated_at", "2015-10-30 23:11:06.278067"]]  (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", "2015-10-30 23:11:06.281131"], ["updated_at", "2015-10-30 23:11:06.281131"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (1.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", "2015-10-30 23:11:06.286087"], ["updated_at", "2015-10-30 23:11:06.286087"]]  (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", "2015-10-30 23:11:06.288865"], ["updated_at", "2015-10-30 23:11:06.288865"]]  (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", "2015-10-30 23:11:06.291399"], ["updated_at", "2015-10-30 23:11:06.291399"]]  (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", "2015-10-30 23:11:06.293493"], ["updated_at", "2015-10-30 23:11:06.293493"]]  (0.0ms) 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", "2015-10-30 23:11:06.295358"], ["updated_at", "2015-10-30 23:11:06.295358"]]  (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", "2015-10-30 23:11:06.297277"], ["updated_at", "2015-10-30 23:11:06.297277"]]  (0.0ms) 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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:11:06.300614"], ["updated_at", "2015-10-30 23:11:06.300614"]]  (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", "2015-10-30 23:11:06.303529"], ["updated_at", "2015-10-30 23:11:06.303529"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:06.306526"], ["updated_at", "2015-10-30 23:11:06.306526"]] 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", "2015-10-30 23:11:06.307902"], ["updated_at", "2015-10-30 23:11:06.307902"]] 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.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_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:06.314806"], ["updated_at", "2015-10-30 23:11:06.314806"]] 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", "2015-10-30 23:11:06.316082"], ["updated_at", "2015-10-30 23:11:06.316082"]] 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 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "jOiWL8fzgTbiMducuZayvg"]] 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.2ms) 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.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$NksnIhL0ZlJYjQRx5jd27OFJXV7UCA96Z/co1qw9Ih//Jl/NgfTf."], ["remember_token", "ro22MmQOucHzEgQjB8XGyQ"], ["created_at", "2015-10-30 23:11:06.332640"], ["updated_at", "2015-10-30 23:11:06.332640"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:11:06.336017"], ["updated_at", "2015-10-30 23:11:06.336017"]]  (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", "2015-10-30 23:11:06.340344"], ["updated_at", "2015-10-30 23:11:06.340344"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:06.343423"], ["updated_at", "2015-10-30 23:11:06.343423"]] 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", "2015-10-30 23:11:06.344723"], ["updated_at", "2015-10-30 23:11:06.344723"]] 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.1ms) 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$fqmHUFAbpm.2rEzKYl2qIO74ZoEmPMe3BgccCmbPslPNIyb.q6VVW"], ["remember_token", "xU0t5zNYfqkAqQRufVAzfw"], ["created_at", "2015-10-30 23:11:06.350432"], ["updated_at", "2015-10-30 23:11:06.350432"]]  (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", "2015-10-30 23:11:06.352231"], ["updated_at", "2015-10-30 23:11:06.352231"]]  (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 1 [["remember_token", "ro22MmQOucHzEgQjB8XGyQ"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 8ms (Views: 4.2ms | ActiveRecord: 0.5ms)  (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$GDdn2duAqtY/Z7I6ZSdE5uN5fk/Edn6fXobiLtWbeOoZgjIuPplLm"], ["remember_token", "3KhfOnPDgWACoFTp-6ikFg"], ["created_at", "2015-10-30 23:11:06.370895"], ["updated_at", "2015-10-30 23:11:06.370895"]]  (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", "2015-10-30 23:11:06.375087"], ["updated_at", "2015-10-30 23:11:06.375087"]]  (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", "2015-10-30 23:11:06.378906"], ["updated_at", "2015-10-30 23:11:06.378906"]]  (0.2ms) 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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:06.385324"], ["updated_at", "2015-10-30 23:11:06.385324"]] 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", "2015-10-30 23:11:06.387072"], ["updated_at", "2015-10-30 23:11:06.387072"]] 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.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$OSbzREuCZgIPpJJDH6oEheTlm94vZlWJiAhVMZCn8HRkpQ7mTvaWi"], ["remember_token", "B0MTF-FNwY1_2TuFTH4yMA"], ["created_at", "2015-10-30 23:11:06.393859"], ["updated_at", "2015-10-30 23:11:06.393859"]]  (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", "2015-10-30 23:11:06.395759"], ["updated_at", "2015-10-30 23:11:06.395759"]]  (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", "3KhfOnPDgWACoFTp-6ikFg"]] 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.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::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 articles/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (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$GPemlwsxom6Zz78LZONVsOGMNyylyMPvcvznq.44/iU3TeU3FWr6G"], ["remember_token", "H9DvLoel-iYjpcCwjplTQg"], ["created_at", "2015-10-30 23:11:06.414968"], ["updated_at", "2015-10-30 23:11:06.414968"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:11:06.418001"], ["updated_at", "2015-10-30 23:11:06.418001"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:06.422763"], ["updated_at", "2015-10-30 23:11:06.422763"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:06.427583"], ["updated_at", "2015-10-30 23:11:06.427583"]] 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", "2015-10-30 23:11:06.429332"], ["updated_at", "2015-10-30 23:11:06.429332"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "H9DvLoel-iYjpcCwjplTQg"]] 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 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.3ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.6ms)  (0.8ms) 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$J5SxQcy6LArpLDn2j9BieOa8loJyWlfxR29tvfB/uRtqw2LgR1e/u"], ["remember_token", "ZSZR3T7-kqvl-XLhUscVVQ"], ["created_at", "2015-10-30 23:11:06.444963"], ["updated_at", "2015-10-30 23:11:06.444963"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:11:06.448112"], ["updated_at", "2015-10-30 23:11:06.448112"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:06.451139"], ["updated_at", "2015-10-30 23:11:06.451139"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:06.456879"], ["updated_at", "2015-10-30 23:11:06.456879"]] 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", "2015-10-30 23:11:06.458697"], ["updated_at", "2015-10-30 23:11:06.458697"]] 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.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$.yD.yfXWYRqvc2QmSoyxuu8jnLob8B6tluk8T7M88jAQjCjskL9jy"], ["remember_token", "kXYE2aYzB-VW_lrCJRwlIg"], ["created_at", "2015-10-30 23:11:06.464232"], ["updated_at", "2015-10-30 23:11:06.464232"]]  (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", "2015-10-30 23:11:06.466124"], ["updated_at", "2015-10-30 23:11:06.466124"]]  (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", "ZSZR3T7-kqvl-XLhUscVVQ"]] 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.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.5ms) Completed 200 OK in 9ms (Views: 4.2ms | ActiveRecord: 0.8ms)  (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$iHDZl9oHyztLcd.6VGnkEuU5to0Taas4Sn9Ngce5QtEcxDQHamOUC"], ["remember_token", "hu4JWIfsxh_fMcN-vDnXpw"], ["created_at", "2015-10-30 23:11:06.485494"], ["updated_at", "2015-10-30 23:11:06.485494"]]  (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", "2015-10-30 23:11:06.489273"], ["updated_at", "2015-10-30 23:11:06.489273"]]  (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", "2015-10-30 23:11:06.493044"], ["updated_at", "2015-10-30 23:11:06.493044"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:06.497747"], ["updated_at", "2015-10-30 23:11:06.497747"]] 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", "2015-10-30 23:11:06.500413"], ["updated_at", "2015-10-30 23:11:06.500413"]] 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.1ms) 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$SmepPiafX6.vMoETsiCte.CqmiLqk9kE2hOlT/8KZVJyRzcBEmFE6"], ["remember_token", "udDRyieCD5I0AM9LL-55rQ"], ["created_at", "2015-10-30 23:11:06.509410"], ["updated_at", "2015-10-30 23:11:06.509410"]]  (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", "2015-10-30 23:11:06.511280"], ["updated_at", "2015-10-30 23:11:06.511280"]]  (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", "hu4JWIfsxh_fMcN-vDnXpw"]] 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"."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 6ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (0.9ms) 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", "2015-10-30 23:11:06.524386"], ["updated_at", "2015-10-30 23:11:06.524386"]]  (0.0ms) 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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:11:06.526760"], ["updated_at", "2015-10-30 23:11:06.526760"]]  (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", "2015-10-30 23:11:06.529478"], ["updated_at", "2015-10-30 23:11:06.529478"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:11:06.536720"], ["updated_at", "2015-10-30 23:11:06.536720"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:06.539269"], ["updated_at", "2015-10-30 23:11:06.539269"]]  (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 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", "2015-10-30 23:11:06.564435"], ["updated_at", "2015-10-30 23:11:06.564435"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:06.567199"], ["updated_at", "2015-10-30 23:11:06.567199"]]  (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", "2015-10-30 23:11:06.574986"], ["updated_at", "2015-10-30 23:11:06.574986"]]  (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", "2015-10-30 23:11:06.577504"], ["updated_at", "2015-10-30 23:11:06.577504"]]  (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", "2015-10-30 23:11:06.580251"], ["updated_at", "2015-10-30 23:11:06.580251"]]  (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 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:11:06.587074"], ["updated_at", "2015-10-30 23:11:06.587074"]]  (0.0ms) 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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:11:06.589190"], ["updated_at", "2015-10-30 23:11:06.589190"]]  (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", "2015-10-30 23:11:06.592166"], ["updated_at", "2015-10-30 23:11:06.592166"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:11:06.598868"], ["updated_at", "2015-10-30 23:11:06.598868"]]  (0.0ms) 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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:11:06.601126"], ["updated_at", "2015-10-30 23:11:06.601126"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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.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" = 1001 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (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", "2015-10-30 23:11:15.516193"], ["updated_at", "2015-10-30 23:11:15.516193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.8ms) 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", "2015-10-30 23:11:15.536383"], ["updated_at", "2015-10-30 23:11:15.536383"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:11:15.562999"], ["updated_at", "2015-10-30 23:11:15.562999"]] SQL (1.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", "2015-10-30 23:11:15.566313"], ["updated_at", "2015-10-30 23:11:15.566313"]] 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" = 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.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", "2015-10-30 23:11:15.581337"], ["updated_at", "2015-10-30 23:11:15.581337"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:15.584352"], ["updated_at", "2015-10-30 23:11:15.584352"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:15.588216"], ["updated_at", "2015-10-30 23:11:15.588216"]] 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", "2015-10-30 23:11:15.589615"], ["updated_at", "2015-10-30 23:11:15.589615"]] 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" = 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"."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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (0.9ms) 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", "2015-10-30 23:11:15.599909"], ["updated_at", "2015-10-30 23:11:15.599909"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:15.602441"], ["updated_at", "2015-10-30 23:11:15.602441"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:15.605650"], ["updated_at", "2015-10-30 23:11:15.605650"]] 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", "2015-10-30 23:11:15.607177"], ["updated_at", "2015-10-30 23:11:15.607177"]] 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" = 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"."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.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", "2015-10-30 23:11:15.622707"], ["updated_at", "2015-10-30 23:11:15.622707"]]  (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", "2015-10-30 23:11:15.626017"], ["updated_at", "2015-10-30 23:11:15.626017"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:15.631022"], ["updated_at", "2015-10-30 23:11:15.631022"]] 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", "2015-10-30 23:11:15.632420"], ["updated_at", "2015-10-30 23:11:15.632420"]] 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" = 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"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1005 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (0.9ms) 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", "2015-10-30 23:11:15.644047"], ["updated_at", "2015-10-30 23:11:15.644047"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:15.646807"], ["updated_at", "2015-10-30 23:11:15.646807"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:15.652236"], ["updated_at", "2015-10-30 23:11:15.652236"]] 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", "2015-10-30 23:11:15.654100"], ["updated_at", "2015-10-30 23:11:15.654100"]] 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.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", "2015-10-30 23:11:15.664411"], ["updated_at", "2015-10-30 23:11:15.664411"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:15.667102"], ["updated_at", "2015-10-30 23:11:15.667102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:15.671611"], ["updated_at", "2015-10-30 23:11:15.671611"]] 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", "2015-10-30 23:11:15.673041"], ["updated_at", "2015-10-30 23:11:15.673041"]] 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" = 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"."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.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" = 1007 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", "2015-10-30 23:11:15.683048"], ["updated_at", "2015-10-30 23:11:15.683048"]]  (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", "2015-10-30 23:11:15.685984"], ["updated_at", "2015-10-30 23:11:15.685984"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:15.689631"], ["updated_at", "2015-10-30 23:11:15.689631"]] 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", "2015-10-30 23:11:15.691333"], ["updated_at", "2015-10-30 23:11:15.691333"]] 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" = 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"."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.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" = 1008 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:11:15.702177"], ["updated_at", "2015-10-30 23:11:15.702177"]]  (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", "2015-10-30 23:11:15.705275"], ["updated_at", "2015-10-30 23:11:15.705275"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:11:15.710013"], ["updated_at", "2015-10-30 23:11:15.710013"]] 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", "2015-10-30 23:11:15.711425"], ["updated_at", "2015-10-30 23:11:15.711425"]] 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.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"."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.1ms) 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"]]  (1.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:11:15.722961"], ["updated_at", "2015-10-30 23:11:15.722961"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:15.725697"], ["updated_at", "2015-10-30 23:11:15.725697"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:15.729816"], ["updated_at", "2015-10-30 23:11:15.729816"]] 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", "2015-10-30 23:11:15.731387"], ["updated_at", "2015-10-30 23:11:15.731387"]] 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" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."name" = 'share' Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-30 23:11:15.743251"], ["updated_at", "2015-10-30 23:11:15.743251"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:15.745924"], ["updated_at", "2015-10-30 23:11:15.745924"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:15.750115"], ["updated_at", "2015-10-30 23:11:15.750115"]] 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", "2015-10-30 23:11:15.751668"], ["updated_at", "2015-10-30 23:11:15.751668"]] 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.9ms) 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", "2015-10-30 23:11:15.759910"], ["updated_at", "2015-10-30 23:11:15.759910"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:15.762512"], ["updated_at", "2015-10-30 23:11:15.762512"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:15.767866"], ["updated_at", "2015-10-30 23:11:15.767866"]] 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", "2015-10-30 23:11:15.769639"], ["updated_at", "2015-10-30 23:11:15.769639"]] 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" = 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"]]  (1.2ms) 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", "2015-10-30 23:11:15.788934"], ["updated_at", "2015-10-30 23:11:15.788934"]]  (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", "2015-10-30 23:11:15.793316"], ["updated_at", "2015-10-30 23:11:15.793316"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:15.798245"], ["updated_at", "2015-10-30 23:11:15.798245"]] 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", "2015-10-30 23:11:15.799848"], ["updated_at", "2015-10-30 23:11:15.799848"]] 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.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" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1013 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:11:15.815124"], ["updated_at", "2015-10-30 23:11:15.815124"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:15.818055"], ["updated_at", "2015-10-30 23:11:15.818055"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:15.822740"], ["updated_at", "2015-10-30 23:11:15.822740"]] 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", "2015-10-30 23:11:15.824281"], ["updated_at", "2015-10-30 23:11:15.824281"]] 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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:11:15.836143"], ["updated_at", "2015-10-30 23:11:15.836143"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:15.839153"], ["updated_at", "2015-10-30 23:11:15.839153"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:15.843137"], ["updated_at", "2015-10-30 23:11:15.843137"]] 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", "2015-10-30 23:11:15.844553"], ["updated_at", "2015-10-30 23:11:15.844553"]] 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" = 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.1ms) 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", "2015-10-30 23:11:15.857444"], ["updated_at", "2015-10-30 23:11:15.857444"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:15.860153"], ["updated_at", "2015-10-30 23:11:15.860153"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:15.864083"], ["updated_at", "2015-10-30 23:11:15.864083"]] 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", "2015-10-30 23:11:15.865522"], ["updated_at", "2015-10-30 23:11:15.865522"]] 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" = 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"."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.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" = 1020 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:11:15.876993"], ["updated_at", "2015-10-30 23:11:15.876993"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:15.879510"], ["updated_at", "2015-10-30 23:11:15.879510"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:15.882967"], ["updated_at", "2015-10-30 23:11:15.882967"]] 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", "2015-10-30 23:11:15.884921"], ["updated_at", "2015-10-30 23:11:15.884921"]] 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" = 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.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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.9ms) 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", "2015-10-30 23:11:15.911477"], ["updated_at", "2015-10-30 23:11:15.911477"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", "2015-10-30 23:11:15.915167"], ["updated_at", "2015-10-30 23:11:15.915167"]]  (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", "2015-10-30 23:11:15.921426"], ["updated_at", "2015-10-30 23:11:15.921426"]]  (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", "2015-10-30 23:11:15.925358"], ["updated_at", "2015-10-30 23:11:15.925358"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:15.928597"], ["updated_at", "2015-10-30 23:11:15.928597"]] 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", "2015-10-30 23:11:15.929954"], ["updated_at", "2015-10-30 23:11:15.929954"]] 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" = 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"."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"]]  (0.9ms) 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$P7Y3QjavpYGtoVn9VKqJR.VUuAyvqaF3pFZxbtlZlRX97JrvzbygK"], ["remember_token", "MdTOQMqw-o5Okkp9bsi5Vg"], ["created_at", "2015-10-30 23:11:15.948122"], ["updated_at", "2015-10-30 23:11:15.948122"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:11:15.952126"], ["updated_at", "2015-10-30 23:11:15.952126"]]  (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", "2015-10-30 23:11:15.955125"], ["updated_at", "2015-10-30 23:11:15.955125"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:15.958300"], ["updated_at", "2015-10-30 23:11:15.958300"]] 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", "2015-10-30 23:11:15.959575"], ["updated_at", "2015-10-30 23:11:15.959575"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "MdTOQMqw-o5Okkp9bsi5Vg"]] 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.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" = '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 22ms (Views: 14.6ms | ActiveRecord: 0.8ms)  (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$bbiBe8apkf8NN0QteL.bueR1jaZZiZxUpXF3AiEeSEfVb9eZAiZUG"], ["remember_token", "-UnusV71UAzGDuBhXvxqHg"], ["created_at", "2015-10-30 23:11:15.993407"], ["updated_at", "2015-10-30 23:11:15.993407"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:11:15.996747"], ["updated_at", "2015-10-30 23:11:15.996747"]]  (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", "2015-10-30 23:11:15.999763"], ["updated_at", "2015-10-30 23:11:15.999763"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:16.004203"], ["updated_at", "2015-10-30 23:11:16.004203"]] 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", "2015-10-30 23:11:16.006338"], ["updated_at", "2015-10-30 23:11:16.006338"]] 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", "-UnusV71UAzGDuBhXvxqHg"]] 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"]] 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.5ms) Completed 200 OK in 7ms (Views: 1.6ms | 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$CUX9m3/DfFfu2og3rWMjOugN1s55gvJlcFFeotEREWCyIWWDJ5mSW"], ["remember_token", "RvpeSKixRbcESb-R1xTnFw"], ["created_at", "2015-10-30 23:11:16.023073"], ["updated_at", "2015-10-30 23:11:16.023073"]]  (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", "2015-10-30 23:11:16.028255"], ["updated_at", "2015-10-30 23:11:16.028255"]]  (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", "2015-10-30 23:11:16.031463"], ["updated_at", "2015-10-30 23:11:16.031463"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:16.034640"], ["updated_at", "2015-10-30 23:11:16.034640"]] 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", "2015-10-30 23:11:16.035926"], ["updated_at", "2015-10-30 23:11:16.035926"]] 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.2ms) 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$OJW0KBEljNPK7JnnFN78rephvywbbfpxmpac9qrlOCoANC/8VZdCC"], ["remember_token", "beW-sq54q56l33qkUpOwfA"], ["created_at", "2015-10-30 23:11:16.048770"], ["updated_at", "2015-10-30 23:11:16.048770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.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", "2015-10-30 23:11:16.058312"], ["updated_at", "2015-10-30 23:11:16.058312"]]  (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", "2015-10-30 23:11:16.063712"], ["updated_at", "2015-10-30 23:11:16.063712"]]  (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", "2015-10-30 23:11:16.065704"], ["updated_at", "2015-10-30 23:11:16.065704"]]  (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", "2015-10-30 23:11:16.067438"], ["updated_at", "2015-10-30 23:11:16.067438"]]  (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", "2015-10-30 23:11:16.069149"], ["updated_at", "2015-10-30 23:11:16.069149"]]  (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", "RvpeSKixRbcESb-R1xTnFw"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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$nlLgbLfS1AB05RZDck61v.tcRisfWruLhpQ6bO6Yk.dovDfbY9.bC"], ["remember_token", "Zy7438cJAX5qqASC-dzzwA"], ["created_at", "2015-10-30 23:11:16.082645"], ["updated_at", "2015-10-30 23:11:16.082645"]]  (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", "2015-10-30 23:11:16.086125"], ["updated_at", "2015-10-30 23:11:16.086125"]]  (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", "2015-10-30 23:11:16.089472"], ["updated_at", "2015-10-30 23:11:16.089472"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:16.092659"], ["updated_at", "2015-10-30 23:11:16.092659"]] 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", "2015-10-30 23:11:16.093925"], ["updated_at", "2015-10-30 23:11:16.093925"]] 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", "2015-10-30 23:11:16.097709"], ["updated_at", "2015-10-30 23:11:16.097709"]]  (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", "2015-10-30 23:11:16.099433"], ["updated_at", "2015-10-30 23:11:16.099433"]]  (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", "2015-10-30 23:11:16.101156"], ["updated_at", "2015-10-30 23:11:16.101156"]]  (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", "2015-10-30 23:11:16.102724"], ["updated_at", "2015-10-30 23:11:16.102724"]]  (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", "2015-10-30 23:11:16.104311"], ["updated_at", "2015-10-30 23:11:16.104311"]]  (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$c6.bBpIzcA3NrUjHsgjiz.preRsy6CQPWt6nftj5PJ8zpCA20TK.i"], ["remember_token", "GmDFhvmTWI9KgWRkT1FaVA"], ["created_at", "2015-10-30 23:11:16.108532"], ["updated_at", "2015-10-30 23:11:16.108532"]]  (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", "2015-10-30 23:11:16.110093"], ["updated_at", "2015-10-30 23:11:16.110093"]]  (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", "2015-10-30 23:11:16.111995"], ["updated_at", "2015-10-30 23:11:16.111995"]]  (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", "2015-10-30 23:11:16.113813"], ["updated_at", "2015-10-30 23:11:16.113813"]]  (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", "2015-10-30 23:11:16.116354"], ["updated_at", "2015-10-30 23:11:16.116354"]]  (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", "2015-10-30 23:11:16.118421"], ["updated_at", "2015-10-30 23:11:16.118421"]]  (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", "Zy7438cJAX5qqASC-dzzwA"]] 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.2ms) Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.6ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$vEe5swxFgRmQIaRpi8spS.A7w0wbcxYyzuhCCIURKuPQHKQR54aoq"], ["remember_token", "6-MQl5lEWa-z_enyeWEZzA"], ["created_at", "2015-10-30 23:11:16.133201"], ["updated_at", "2015-10-30 23:11:16.133201"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:11:16.136318"], ["updated_at", "2015-10-30 23:11:16.136318"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:16.139494"], ["updated_at", "2015-10-30 23:11:16.139494"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:16.145342"], ["updated_at", "2015-10-30 23:11:16.145342"]] 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", "2015-10-30 23:11:16.147264"], ["updated_at", "2015-10-30 23:11:16.147264"]] 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.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", "2015-10-30 23:11:16.151369"], ["updated_at", "2015-10-30 23:11:16.151369"]]  (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", "2015-10-30 23:11:16.153811"], ["updated_at", "2015-10-30 23:11:16.153811"]]  (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", "2015-10-30 23:11:16.156119"], ["updated_at", "2015-10-30 23:11:16.156119"]]  (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", "2015-10-30 23:11:16.158038"], ["updated_at", "2015-10-30 23:11:16.158038"]]  (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", "2015-10-30 23:11:16.159740"], ["updated_at", "2015-10-30 23:11:16.159740"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$w2m31egsBXB1zjxmJtuad.5ggGRffpE4UaBZ3eFXu.Iew63vqbYpO"], ["remember_token", "F2gNMz1FvsC1IuNLiB72YA"], ["created_at", "2015-10-30 23:11:16.163524"], ["updated_at", "2015-10-30 23:11:16.163524"]]  (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", "2015-10-30 23:11:16.165442"], ["updated_at", "2015-10-30 23:11:16.165442"]]  (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", "2015-10-30 23:11:16.167911"], ["updated_at", "2015-10-30 23:11:16.167911"]]  (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", "2015-10-30 23:11:16.169727"], ["updated_at", "2015-10-30 23:11:16.169727"]]  (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", "2015-10-30 23:11:16.172891"], ["updated_at", "2015-10-30 23:11:16.172891"]]  (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", "2015-10-30 23:11:16.175134"], ["updated_at", "2015-10-30 23:11:16.175134"]]  (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", "2015-10-30 23:11:16.177124"], ["updated_at", "2015-10-30 23:11:16.177124"]]  (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.0ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:16.183897"], ["updated_at", "2015-10-30 23:11:16.183897"]] 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", "2015-10-30 23:11:16.186172"], ["updated_at", "2015-10-30 23:11:16.186172"]] 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", "6-MQl5lEWa-z_enyeWEZzA"]] Adeia::Token Load (0.3ms) 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 7ms (Views: 1.2ms | ActiveRecord: 0.7ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$LjvAWTDBxx1rPftSei7cAuoa6R6Hs9GDtK6hOsfBFOHUEZWVEMmZW"], ["remember_token", "DUvHtj9VdPY3sGHOlHc6wA"], ["created_at", "2015-10-30 23:11:16.205443"], ["updated_at", "2015-10-30 23:11:16.205443"]]  (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.5ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$Xj9iqpqScZ8v53ImM.hQ8uwykBGtfGiYg3FvU766uia5QQeHKgguW"], ["remember_token", "y9ECexYq-V7uKFkdMzD12w"], ["created_at", "2015-10-30 23:11:16.209879"], ["updated_at", "2015-10-30 23:11:16.209879"]]  (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", "2015-10-30 23:11:16.213176"], ["updated_at", "2015-10-30 23:11:16.213176"]]  (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", "2015-10-30 23:11:16.215780"], ["updated_at", "2015-10-30 23:11:16.215780"]]  (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", "2015-10-30 23:11:16.217731"], ["updated_at", "2015-10-30 23:11:16.217731"]]  (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", "2015-10-30 23:11:16.219494"], ["updated_at", "2015-10-30 23:11:16.219494"]]  (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", "2015-10-30 23:11:16.221870"], ["updated_at", "2015-10-30 23:11:16.221870"]]  (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", "2015-10-30 23:11:16.223823"], ["updated_at", "2015-10-30 23:11:16.223823"]]  (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", "2015-10-30 23:11:16.225695"], ["updated_at", "2015-10-30 23:11:16.225695"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:11:16.228416"], ["updated_at", "2015-10-30 23:11:16.228416"]]  (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", "2015-10-30 23:11:16.231261"], ["updated_at", "2015-10-30 23:11:16.231261"]]  (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", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:16.235194"], ["updated_at", "2015-10-30 23:11:16.235194"]] 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", "2015-10-30 23:11:16.237493"], ["updated_at", "2015-10-30 23:11:16.237493"]] 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.0ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:16.244859"], ["updated_at", "2015-10-30 23:11:16.244859"]] 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", "2015-10-30 23:11:16.246221"], ["updated_at", "2015-10-30 23:11:16.246221"]] 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", "DUvHtj9VdPY3sGHOlHc6wA"]] 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.5ms) Completed 200 OK in 7ms (Views: 2.1ms | ActiveRecord: 0.5ms) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (3.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$Gf/IlpIgNDO1X/ArF3Fq5uQU1VMD4rF983HziV81ca6siOxnKXDhe"], ["remember_token", "pIst8tbPYOqo_82l_ymbkg"], ["created_at", "2015-10-30 23:11:16.268265"], ["updated_at", "2015-10-30 23:11:16.268265"]]  (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", "2015-10-30 23:11:16.272692"], ["updated_at", "2015-10-30 23:11:16.272692"]]  (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", "2015-10-30 23:11:16.276017"], ["updated_at", "2015-10-30 23:11:16.276017"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:16.279107"], ["updated_at", "2015-10-30 23:11:16.279107"]] 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", "2015-10-30 23:11:16.280574"], ["updated_at", "2015-10-30 23:11:16.280574"]] 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.1ms) 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$GwfjuYZFLKdptunjGEuv0e3M9zB/1rhHKdQOZa7FRul0jEsZSOsUy"], ["remember_token", "D5qqw0YccpTwDpVyWX-aUw"], ["created_at", "2015-10-30 23:11:16.286613"], ["updated_at", "2015-10-30 23:11:16.286613"]]  (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", "2015-10-30 23:11:16.288313"], ["updated_at", "2015-10-30 23:11:16.288313"]]  (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", "pIst8tbPYOqo_82l_ymbkg"]] 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.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 articles/show.html.erb within layouts/application (0.4ms) Completed 200 OK in 8ms (Views: 3.4ms | ActiveRecord: 0.5ms)  (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$kOw8d7OUSY4P6WCVguwWYuQRZ63A/72Id8S8ZTuIcRin2f1WtIAmm"], ["remember_token", "Sy7qnof7TY7j2bADcPb_7g"], ["created_at", "2015-10-30 23:11:16.303325"], ["updated_at", "2015-10-30 23:11:16.303325"]]  (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", "2015-10-30 23:11:16.307349"], ["updated_at", "2015-10-30 23:11:16.307349"]]  (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", "2015-10-30 23:11:16.310963"], ["updated_at", "2015-10-30 23:11:16.310963"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:16.314509"], ["updated_at", "2015-10-30 23:11:16.314509"]] 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", "2015-10-30 23:11:16.315899"], ["updated_at", "2015-10-30 23:11:16.315899"]] 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.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$TKzgG6E.d8OXvrQM563GSeFO0Zwx8BRCiG4TcUIoAx9BrXE.FsIFO"], ["remember_token", "JduK2i721oAHf_ZsJj78gQ"], ["created_at", "2015-10-30 23:11:16.321445"], ["updated_at", "2015-10-30 23:11:16.321445"]]  (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", "2015-10-30 23:11:16.323054"], ["updated_at", "2015-10-30 23:11:16.323054"]]  (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 1 [["remember_token", "Sy7qnof7TY7j2bADcPb_7g"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (1.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$ZPV1VQzSC.H1a3dR4vbL/OkOvyHpg59PatrW.oIxhPxblNgNQYBo2"], ["remember_token", "xBhhGfq8faS-s8getRYbew"], ["created_at", "2015-10-30 23:11:16.343944"], ["updated_at", "2015-10-30 23:11:16.343944"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:11:16.349907"], ["updated_at", "2015-10-30 23:11:16.349907"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:16.354387"], ["updated_at", "2015-10-30 23:11:16.354387"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:16.359300"], ["updated_at", "2015-10-30 23:11:16.359300"]] 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", "2015-10-30 23:11:16.360913"], ["updated_at", "2015-10-30 23:11:16.360913"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "xBhhGfq8faS-s8getRYbew"]] 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 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.3ms) Completed 200 OK in 6ms (Views: 2.8ms | 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$Yu0UwfutBDCCd70whyi99OVvJg1SXJbn.rCTx75TC9WeoSQP.gsBG"], ["remember_token", "oaYiYJSV3VL7RGQxK2-93w"], ["created_at", "2015-10-30 23:11:16.377075"], ["updated_at", "2015-10-30 23:11:16.377075"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:11:16.380054"], ["updated_at", "2015-10-30 23:11:16.380054"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:16.382712"], ["updated_at", "2015-10-30 23:11:16.382712"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:16.386266"], ["updated_at", "2015-10-30 23:11:16.386266"]] 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", "2015-10-30 23:11:16.387551"], ["updated_at", "2015-10-30 23:11:16.387551"]] 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.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$TSbPfFlGNEKa7S.iFf4PwOieo7Ut9Is0fuNSu8b7x4beA/A0Rmpym"], ["remember_token", "tf8qKupR9nn8z_r_dhWn3g"], ["created_at", "2015-10-30 23:11:16.392873"], ["updated_at", "2015-10-30 23:11:16.392873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", "2015-10-30 23:11:16.395534"], ["updated_at", "2015-10-30 23:11:16.395534"]]  (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", "oaYiYJSV3VL7RGQxK2-93w"]] 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.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 7ms (Views: 3.5ms | ActiveRecord: 0.6ms)  (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$oq3m.liOHLFWeevw3IGskuqY/mIkgGY.w9wZPNPqB5GXWWTsJQK36"], ["remember_token", "kVbhY6oYqpVJ8hrp0X-i6A"], ["created_at", "2015-10-30 23:11:16.411803"], ["updated_at", "2015-10-30 23:11:16.411803"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:11:16.414952"], ["updated_at", "2015-10-30 23:11:16.414952"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:16.418128"], ["updated_at", "2015-10-30 23:11:16.418128"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:11:16.421364"], ["updated_at", "2015-10-30 23:11:16.421364"]] 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", "2015-10-30 23:11:16.423529"], ["updated_at", "2015-10-30 23:11:16.423529"]] 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.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$VJyHsgEpefeMsUgfk6spjOP7qmJ9fSFSHuweBMd3h0ukQpI9Y5R8W"], ["remember_token", "5LosNOw8om5UhaShlFmAJw"], ["created_at", "2015-10-30 23:11:16.430164"], ["updated_at", "2015-10-30 23:11:16.430164"]]  (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", "2015-10-30 23:11:16.431795"], ["updated_at", "2015-10-30 23:11:16.431795"]]  (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", "kVbhY6oYqpVJ8hrp0X-i6A"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (1.2ms) 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", "2015-10-30 23:11:16.446465"], ["updated_at", "2015-10-30 23:11:16.446465"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:11:16.449411"], ["updated_at", "2015-10-30 23:11:16.449411"]]  (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", "2015-10-30 23:11:16.452680"], ["updated_at", "2015-10-30 23:11:16.452680"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:11:16.460512"], ["updated_at", "2015-10-30 23:11:16.460512"]]  (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", "2015-10-30 23:11:16.465796"], ["updated_at", "2015-10-30 23:11:16.465796"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:11:16.492593"], ["updated_at", "2015-10-30 23:11:16.492593"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:11:16.495388"], ["updated_at", "2015-10-30 23:11:16.495388"]]  (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 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:11:16.502296"], ["updated_at", "2015-10-30 23:11:16.502296"]]  (0.0ms) 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", "2015-10-30 23:11:16.504431"], ["updated_at", "2015-10-30 23:11:16.504431"]]  (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", "2015-10-30 23:11:16.506958"], ["updated_at", "2015-10-30 23:11:16.506958"]]  (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 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", "2015-10-30 23:11:16.514972"], ["updated_at", "2015-10-30 23:11:16.514972"]]  (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.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:11:16.517248"], ["updated_at", "2015-10-30 23:11:16.517248"]]  (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", "2015-10-30 23:11:16.520290"], ["updated_at", "2015-10-30 23:11:16.520290"]]  (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 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:11:16.527998"], ["updated_at", "2015-10-30 23:11:16.527998"]]  (0.0ms) 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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:11:16.530321"], ["updated_at", "2015-10-30 23:11:16.530321"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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  (0.1ms) 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.8ms) 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.8ms) 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", "2015-10-30 23:12:02.361617"], ["updated_at", "2015-10-30 23:12:02.361617"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-30 23:12:02.381375"], ["updated_at", "2015-10-30 23:12:02.381375"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:12:02.409250"], ["updated_at", "2015-10-30 23:12:02.409250"]] 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", "2015-10-30 23:12:02.411743"], ["updated_at", "2015-10-30 23:12:02.411743"]] 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.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.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", "2015-10-30 23:12:02.424304"], ["updated_at", "2015-10-30 23:12:02.424304"]]  (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", "2015-10-30 23:12:02.426941"], ["updated_at", "2015-10-30 23:12:02.426941"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:02.430218"], ["updated_at", "2015-10-30 23:12:02.430218"]] 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", "2015-10-30 23:12:02.433734"], ["updated_at", "2015-10-30 23:12:02.433734"]] 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" = 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"."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.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" = 1003 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:02.447072"], ["updated_at", "2015-10-30 23:12:02.447072"]]  (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", "2015-10-30 23:12:02.450992"], ["updated_at", "2015-10-30 23:12:02.450992"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:02.456017"], ["updated_at", "2015-10-30 23:12:02.456017"]] 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", "2015-10-30 23:12:02.457770"], ["updated_at", "2015-10-30 23:12:02.457770"]] 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.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" = 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", "2015-10-30 23:12:02.469908"], ["updated_at", "2015-10-30 23:12:02.469908"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:02.472999"], ["updated_at", "2015-10-30 23:12:02.472999"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:02.477263"], ["updated_at", "2015-10-30 23:12:02.477263"]] 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", "2015-10-30 23:12:02.478976"], ["updated_at", "2015-10-30 23:12:02.478976"]] 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" = 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"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1005 AND "adeia_elements"."name" = 'admin/articles' [["create_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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:02.490100"], ["updated_at", "2015-10-30 23:12:02.490100"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:02.492717"], ["updated_at", "2015-10-30 23:12:02.492717"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:02.496146"], ["updated_at", "2015-10-30 23:12:02.496146"]] 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", "2015-10-30 23:12:02.497883"], ["updated_at", "2015-10-30 23:12:02.497883"]] 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" = 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"]]  (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", "2015-10-30 23:12:02.508935"], ["updated_at", "2015-10-30 23:12:02.508935"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:02.511808"], ["updated_at", "2015-10-30 23:12:02.511808"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:02.515939"], ["updated_at", "2015-10-30 23:12:02.515939"]] 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", "2015-10-30 23:12:02.517823"], ["updated_at", "2015-10-30 23:12:02.517823"]] 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" = 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"."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.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" = 1007 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:12:02.528231"], ["updated_at", "2015-10-30 23:12:02.528231"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:02.530977"], ["updated_at", "2015-10-30 23:12:02.530977"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:02.534536"], ["updated_at", "2015-10-30 23:12:02.534536"]] 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", "2015-10-30 23:12:02.536395"], ["updated_at", "2015-10-30 23:12:02.536395"]] 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" = 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"."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.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" = 1008 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:12:02.547744"], ["updated_at", "2015-10-30 23:12:02.547744"]]  (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", "2015-10-30 23:12:02.550548"], ["updated_at", "2015-10-30 23:12:02.550548"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:12:02.555635"], ["updated_at", "2015-10-30 23:12:02.555635"]] 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", "2015-10-30 23:12:02.557065"], ["updated_at", "2015-10-30 23:12:02.557065"]] 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.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"."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.1ms) 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"]]  (1.2ms) 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", "2015-10-30 23:12:02.569666"], ["updated_at", "2015-10-30 23:12:02.569666"]]  (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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:02.572511"], ["updated_at", "2015-10-30 23:12:02.572511"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:02.578950"], ["updated_at", "2015-10-30 23:12:02.578950"]] 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", "2015-10-30 23:12:02.581092"], ["updated_at", "2015-10-30 23:12:02.581092"]] 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" = 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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-30 23:12:02.594319"], ["updated_at", "2015-10-30 23:12:02.594319"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:02.597393"], ["updated_at", "2015-10-30 23:12:02.597393"]]  (0.0ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:02.601419"], ["updated_at", "2015-10-30 23:12:02.601419"]] 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", "2015-10-30 23:12:02.603393"], ["updated_at", "2015-10-30 23:12:02.603393"]] 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  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:02.612062"], ["updated_at", "2015-10-30 23:12:02.612062"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:02.614886"], ["updated_at", "2015-10-30 23:12:02.614886"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:02.619792"], ["updated_at", "2015-10-30 23:12:02.619792"]] 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", "2015-10-30 23:12:02.621394"], ["updated_at", "2015-10-30 23:12:02.621394"]] 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" = 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.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" = 1012 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:02.637776"], ["updated_at", "2015-10-30 23:12:02.637776"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:02.641002"], ["updated_at", "2015-10-30 23:12:02.641002"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:02.645240"], ["updated_at", "2015-10-30 23:12:02.645240"]] 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", "2015-10-30 23:12:02.646686"], ["updated_at", "2015-10-30 23:12:02.646686"]] 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" = 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"."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.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" = 1013 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:02.661187"], ["updated_at", "2015-10-30 23:12:02.661187"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:02.663898"], ["updated_at", "2015-10-30 23:12:02.663898"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:02.667496"], ["updated_at", "2015-10-30 23:12:02.667496"]] 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", "2015-10-30 23:12:02.669948"], ["updated_at", "2015-10-30 23:12:02.669948"]] 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" = 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.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" = 1016 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:02.681958"], ["updated_at", "2015-10-30 23:12:02.681958"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:02.684626"], ["updated_at", "2015-10-30 23:12:02.684626"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:02.688213"], ["updated_at", "2015-10-30 23:12:02.688213"]] 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", "2015-10-30 23:12:02.690323"], ["updated_at", "2015-10-30 23:12:02.690323"]] 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" = 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.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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:02.704366"], ["updated_at", "2015-10-30 23:12:02.704366"]]  (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", "2015-10-30 23:12:02.709022"], ["updated_at", "2015-10-30 23:12:02.709022"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:02.712936"], ["updated_at", "2015-10-30 23:12:02.712936"]] 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", "2015-10-30 23:12:02.714542"], ["updated_at", "2015-10-30 23:12:02.714542"]] 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" = 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:02.726197"], ["updated_at", "2015-10-30 23:12:02.726197"]]  (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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:02.731020"], ["updated_at", "2015-10-30 23:12:02.731020"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:02.737270"], ["updated_at", "2015-10-30 23:12:02.737270"]] 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", "2015-10-30 23:12:02.739648"], ["updated_at", "2015-10-30 23:12:02.739648"]] 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" = 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.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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction 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.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:12:02.762246"], ["updated_at", "2015-10-30 23:12:02.762246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_group_users" ("adeia_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_group_id", 1], ["user_id", 1023], ["created_at", "2015-10-30 23:12:02.766974"], ["updated_at", "2015-10-30 23:12:02.766974"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:02.772339"], ["updated_at", "2015-10-30 23:12:02.772339"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:02.777765"], ["updated_at", "2015-10-30 23:12:02.777765"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:02.784162"], ["updated_at", "2015-10-30 23:12:02.784162"]] 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", "2015-10-30 23:12:02.786855"], ["updated_at", "2015-10-30 23:12:02.786855"]] 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.3ms) 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"]]  (0.9ms) 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$N2xR3CV2lMVrI8N/zRFeS.DkIEtJ/Zg4KzZDKLT0wGNkFGLLEh99m"], ["remember_token", "wNabJV849XRnmATnXWIJig"], ["created_at", "2015-10-30 23:12:02.819361"], ["updated_at", "2015-10-30 23:12:02.819361"]]  (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", "2015-10-30 23:12:02.823531"], ["updated_at", "2015-10-30 23:12:02.823531"]]  (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", "2015-10-30 23:12:02.826367"], ["updated_at", "2015-10-30 23:12:02.826367"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:02.829922"], ["updated_at", "2015-10-30 23:12:02.829922"]] 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", "2015-10-30 23:12:02.831372"], ["updated_at", "2015-10-30 23:12:02.831372"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "wNabJV849XRnmATnXWIJig"]] 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.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" = '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.6ms) Completed 200 OK in 22ms (Views: 16.6ms | ActiveRecord: 0.7ms)  (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$UjP.HR51Emyd/LayMUmNFOHL6HsJ4rqifea51DdXzeNOmouOzBdSi"], ["remember_token", "vBr5WbFVI8-7Nv5OJU3n6A"], ["created_at", "2015-10-30 23:12:02.868271"], ["updated_at", "2015-10-30 23:12:02.868271"]]  (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", "2015-10-30 23:12:02.872596"], ["updated_at", "2015-10-30 23:12:02.872596"]]  (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", "2015-10-30 23:12:02.876174"], ["updated_at", "2015-10-30 23:12:02.876174"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:02.881647"], ["updated_at", "2015-10-30 23:12:02.881647"]] 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", "2015-10-30 23:12:02.883955"], ["updated_at", "2015-10-30 23:12:02.883955"]] 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", "vBr5WbFVI8-7Nv5OJU3n6A"]] 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.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" = '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 8ms (Views: 1.3ms | 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$J7z6zQ3xwFu6P1cFqNiAIO.EyDBd.5M9D.pwOi3txqj/9kwkdv862"], ["remember_token", "THq-XGp3sG9uguL62tnP-A"], ["created_at", "2015-10-30 23:12:02.903988"], ["updated_at", "2015-10-30 23:12:02.903988"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:12:02.910379"], ["updated_at", "2015-10-30 23:12:02.910379"]]  (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", "2015-10-30 23:12:02.914083"], ["updated_at", "2015-10-30 23:12:02.914083"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:02.917429"], ["updated_at", "2015-10-30 23:12:02.917429"]] 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", "2015-10-30 23:12:02.919335"], ["updated_at", "2015-10-30 23:12:02.919335"]] 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.2ms) 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$OirIhVe.9V3IhnNsw75Qku7zApGCqoJHA/11d89PSgg/ciSgjLBs6"], ["remember_token", "hNGaoIfYbJJMlToDK-_eMg"], ["created_at", "2015-10-30 23:12:02.932185"], ["updated_at", "2015-10-30 23:12:02.932185"]]  (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", 2], ["created_at", "2015-10-30 23:12:02.941577"], ["updated_at", "2015-10-30 23:12:02.941577"]]  (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.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", "2015-10-30 23:12:02.946779"], ["updated_at", "2015-10-30 23:12:02.946779"]]  (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", "2015-10-30 23:12:02.949972"], ["updated_at", "2015-10-30 23:12:02.949972"]]  (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", "2015-10-30 23:12:02.952840"], ["updated_at", "2015-10-30 23:12:02.952840"]]  (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", "2015-10-30 23:12:02.955741"], ["updated_at", "2015-10-30 23:12:02.955741"]]  (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", "THq-XGp3sG9uguL62tnP-A"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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$fzNXpjTRu7HhG6NU3V/d.ukuNAgsjte7SWCngAQYAdRLB.V/KnoBy"], ["remember_token", "ea838gWKcjwuTJeJwhOgpg"], ["created_at", "2015-10-30 23:12:02.972702"], ["updated_at", "2015-10-30 23:12:02.972702"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:12:02.976189"], ["updated_at", "2015-10-30 23:12:02.976189"]]  (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", "2015-10-30 23:12:02.979624"], ["updated_at", "2015-10-30 23:12:02.979624"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:02.982828"], ["updated_at", "2015-10-30 23:12:02.982828"]] 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", "2015-10-30 23:12:02.984072"], ["updated_at", "2015-10-30 23:12:02.984072"]] 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 "articles" ("title", "content", "user_id", "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", "2015-10-30 23:12:02.988954"], ["updated_at", "2015-10-30 23:12:02.988954"]]  (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", "2015-10-30 23:12:02.991908"], ["updated_at", "2015-10-30 23:12:02.991908"]]  (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", "2015-10-30 23:12:02.994565"], ["updated_at", "2015-10-30 23:12:02.994565"]]  (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", "2015-10-30 23:12:02.996672"], ["updated_at", "2015-10-30 23:12:02.996672"]]  (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", "2015-10-30 23:12:02.999157"], ["updated_at", "2015-10-30 23:12:02.999157"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$efqAnrgRfPqMoYXsZsUpe.opLTPbkD2C9Oyh5w/mePByRHt3WPdea"], ["remember_token", "NGYbbZyB5wu10rQtXJ2ViQ"], ["created_at", "2015-10-30 23:12:03.005032"], ["updated_at", "2015-10-30 23:12:03.005032"]]  (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", "2015-10-30 23:12:03.007511"], ["updated_at", "2015-10-30 23:12:03.007511"]]  (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", "2015-10-30 23:12:03.009727"], ["updated_at", "2015-10-30 23:12:03.009727"]]  (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", "2015-10-30 23:12:03.011476"], ["updated_at", "2015-10-30 23:12:03.011476"]]  (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", "2015-10-30 23:12:03.013152"], ["updated_at", "2015-10-30 23:12:03.013152"]]  (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", "2015-10-30 23:12:03.014861"], ["updated_at", "2015-10-30 23:12:03.014861"]]  (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", "ea838gWKcjwuTJeJwhOgpg"]] 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 7ms (Views: 1.1ms | ActiveRecord: 0.7ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (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$QEcyDgSeV2FzAbjCcx6NhuWpagUZfJZILRYgn38NEEl.LcTZX0HZG"], ["remember_token", "HfERzx8rJXMME0J1ao2-cA"], ["created_at", "2015-10-30 23:12:03.030535"], ["updated_at", "2015-10-30 23:12:03.030535"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:12:03.033744"], ["updated_at", "2015-10-30 23:12:03.033744"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:03.037038"], ["updated_at", "2015-10-30 23:12:03.037038"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:03.040200"], ["updated_at", "2015-10-30 23:12:03.040200"]] 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", "2015-10-30 23:12:03.041468"], ["updated_at", "2015-10-30 23:12:03.041468"]] 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", "2015-10-30 23:12:03.044703"], ["updated_at", "2015-10-30 23:12:03.044703"]]  (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", "2015-10-30 23:12:03.046595"], ["updated_at", "2015-10-30 23:12:03.046595"]]  (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", "2015-10-30 23:12:03.048489"], ["updated_at", "2015-10-30 23:12:03.048489"]]  (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", "2015-10-30 23:12:03.050050"], ["updated_at", "2015-10-30 23:12:03.050050"]]  (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", "2015-10-30 23:12:03.051580"], ["updated_at", "2015-10-30 23:12:03.051580"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$z78cdndLQgiPukJaQlpOZu1gyhFDMZmbmF8XJWWIzg63foOiMsFHy"], ["remember_token", "R8h8IqiIeUJfX2d2-mpT1w"], ["created_at", "2015-10-30 23:12:03.055349"], ["updated_at", "2015-10-30 23:12:03.055349"]]  (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", "2015-10-30 23:12:03.056787"], ["updated_at", "2015-10-30 23:12:03.056787"]]  (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", "2015-10-30 23:12:03.058648"], ["updated_at", "2015-10-30 23:12:03.058648"]]  (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.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", "2015-10-30 23:12:03.060371"], ["updated_at", "2015-10-30 23:12:03.060371"]]  (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.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", "2015-10-30 23:12:03.063231"], ["updated_at", "2015-10-30 23:12:03.063231"]]  (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", "2015-10-30 23:12:03.067025"], ["updated_at", "2015-10-30 23:12:03.067025"]]  (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", "2015-10-30 23:12:03.069852"], ["updated_at", "2015-10-30 23:12:03.069852"]]  (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.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:03.076751"], ["updated_at", "2015-10-30 23:12:03.076751"]] 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", "2015-10-30 23:12:03.078140"], ["updated_at", "2015-10-30 23:12:03.078140"]] 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", "HfERzx8rJXMME0J1ao2-cA"]] 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.2ms) 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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$.CCAuNA9BxqvbzT.udo96.2LBiBKNQneVbxOGYDUIQBgTz2gxD8Ma"], ["remember_token", "p6XOBad-yAX-K1YLzzl03A"], ["created_at", "2015-10-30 23:12:03.096537"], ["updated_at", "2015-10-30 23:12:03.096537"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$WLbFQbrkgVkldh0oWizYLOnTDmrEvhIuHQFmynk1InZv2/g2Ha6me"], ["remember_token", "STtK55op3bWGB-wxRUbJ5A"], ["created_at", "2015-10-30 23:12:03.103720"], ["updated_at", "2015-10-30 23:12:03.103720"]]  (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", "2015-10-30 23:12:03.105909"], ["updated_at", "2015-10-30 23:12:03.105909"]]  (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", "2015-10-30 23:12:03.108291"], ["updated_at", "2015-10-30 23:12:03.108291"]]  (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", "2015-10-30 23:12:03.110252"], ["updated_at", "2015-10-30 23:12:03.110252"]]  (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", "2015-10-30 23:12:03.112040"], ["updated_at", "2015-10-30 23:12:03.112040"]]  (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", "2015-10-30 23:12:03.113791"], ["updated_at", "2015-10-30 23:12:03.113791"]]  (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", "2015-10-30 23:12:03.116022"], ["updated_at", "2015-10-30 23:12:03.116022"]]  (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", "2015-10-30 23:12:03.117878"], ["updated_at", "2015-10-30 23:12:03.117878"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:12:03.120603"], ["updated_at", "2015-10-30 23:12:03.120603"]]  (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", "2015-10-30 23:12:03.122989"], ["updated_at", "2015-10-30 23:12:03.122989"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:03.127471"], ["updated_at", "2015-10-30 23:12:03.127471"]] 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", "2015-10-30 23:12:03.129720"], ["updated_at", "2015-10-30 23:12:03.129720"]] 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.0ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:03.136362"], ["updated_at", "2015-10-30 23:12:03.136362"]] 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", "2015-10-30 23:12:03.138168"], ["updated_at", "2015-10-30 23:12:03.138168"]] 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", "p6XOBad-yAX-K1YLzzl03A"]] 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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.5ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$upIPwNM1dNDSt1uBTgKPx.NdRwQjnTCcAXeGQuCBGUkcpFzpqg8ii"], ["remember_token", "0--tEKtXn9ky8yd1KMuC5g"], ["created_at", "2015-10-30 23:12:03.154138"], ["updated_at", "2015-10-30 23:12:03.154138"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:12:03.157279"], ["updated_at", "2015-10-30 23:12:03.157279"]]  (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", "2015-10-30 23:12:03.160827"], ["updated_at", "2015-10-30 23:12:03.160827"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:03.164000"], ["updated_at", "2015-10-30 23:12:03.164000"]] 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", "2015-10-30 23:12:03.165319"], ["updated_at", "2015-10-30 23:12:03.165319"]] 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.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$z3DTp0XaziU9gLMNJLuKgOsa/m7Ko/PCxdUuqxDDi9Hpc/p3PvTFW"], ["remember_token", "3Ci5e7dmwzQykBZ6dOyPag"], ["created_at", "2015-10-30 23:12:03.171187"], ["updated_at", "2015-10-30 23:12:03.171187"]]  (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", "2015-10-30 23:12:03.172876"], ["updated_at", "2015-10-30 23:12:03.172876"]]  (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", "0--tEKtXn9ky8yd1KMuC5g"]] 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.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 articles/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 8ms (Views: 3.7ms | ActiveRecord: 0.5ms)  (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$ooP06/6DGfge9qnq/mXYKOwAd33J4eSj9drHEEerGaDGCPTTeOc.a"], ["remember_token", "98j7pIakvcSJy9O7NfF7fg"], ["created_at", "2015-10-30 23:12:03.189335"], ["updated_at", "2015-10-30 23:12:03.189335"]]  (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", "2015-10-30 23:12:03.192902"], ["updated_at", "2015-10-30 23:12:03.192902"]]  (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", "2015-10-30 23:12:03.196107"], ["updated_at", "2015-10-30 23:12:03.196107"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:03.199701"], ["updated_at", "2015-10-30 23:12:03.199701"]] 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", "2015-10-30 23:12:03.201135"], ["updated_at", "2015-10-30 23:12:03.201135"]] 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.1ms) 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$HJRFNBKKxt56t.95Qau.q.kUUeNjcnoj1JKMEc9zUS5f6CRcHt1.u"], ["remember_token", "nfFufC-2F0Mj59-rVJmbNQ"], ["created_at", "2015-10-30 23:12:03.207478"], ["updated_at", "2015-10-30 23:12:03.207478"]]  (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", "2015-10-30 23:12:03.209387"], ["updated_at", "2015-10-30 23:12:03.209387"]]  (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 1 [["remember_token", "98j7pIakvcSJy9O7NfF7fg"]] 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.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 articles/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (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$7WZfQikdioUIE.sDQhx1OevJNVtNxDw5Tyi..w5SK9IyC8wcuKJqW"], ["remember_token", "nm1NNcDv5oCLhfp5132Abg"], ["created_at", "2015-10-30 23:12:03.227377"], ["updated_at", "2015-10-30 23:12:03.227377"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:12:03.230885"], ["updated_at", "2015-10-30 23:12:03.230885"]]  (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", "2015-10-30 23:12:03.233863"], ["updated_at", "2015-10-30 23:12:03.233863"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:03.237227"], ["updated_at", "2015-10-30 23:12:03.237227"]] 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", "2015-10-30 23:12:03.238596"], ["updated_at", "2015-10-30 23:12:03.238596"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "nm1NNcDv5oCLhfp5132Abg"]] 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 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.8ms) Completed 200 OK in 7ms (Views: 4.0ms | ActiveRecord: 0.4ms)  (1.1ms) 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$8R9ihdI1LkEFe0VtWB3pHuxYINM2VCdNogLbmV4bsGfrSlaO7ah26"], ["remember_token", "V3aI4tJo_nPC1CTdlMuJDQ"], ["created_at", "2015-10-30 23:12:03.256570"], ["updated_at", "2015-10-30 23:12:03.256570"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:12:03.260443"], ["updated_at", "2015-10-30 23:12:03.260443"]]  (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", "2015-10-30 23:12:03.263377"], ["updated_at", "2015-10-30 23:12:03.263377"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:03.266576"], ["updated_at", "2015-10-30 23:12:03.266576"]] 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", "2015-10-30 23:12:03.267929"], ["updated_at", "2015-10-30 23:12:03.267929"]] 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.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$FdKLaL75hiesyd01c6l5MeM5RVtAoI/DnGfUh2TMusB8Gl4VsI/p6"], ["remember_token", "cIn0XnV8EC4Gyl44Wa0UgQ"], ["created_at", "2015-10-30 23:12:03.273473"], ["updated_at", "2015-10-30 23:12:03.273473"]]  (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", "2015-10-30 23:12:03.275052"], ["updated_at", "2015-10-30 23:12:03.275052"]]  (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", "V3aI4tJo_nPC1CTdlMuJDQ"]] 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"."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.5ms) Completed 200 OK in 8ms (Views: 4.3ms | ActiveRecord: 0.6ms)  (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$k1vaWdCUaL57nUhK6K0kC.N4dTtssXYFsLQl2r5MgRK9ibW149huO"], ["remember_token", "H22qFtaVMqFmt7iyLkIezA"], ["created_at", "2015-10-30 23:12:03.291797"], ["updated_at", "2015-10-30 23:12:03.291797"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:12:03.295024"], ["updated_at", "2015-10-30 23:12:03.295024"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:03.297927"], ["updated_at", "2015-10-30 23:12:03.297927"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:03.301008"], ["updated_at", "2015-10-30 23:12:03.301008"]] 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", "2015-10-30 23:12:03.302309"], ["updated_at", "2015-10-30 23:12:03.302309"]] 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.1ms) 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$davth5MMyor9nEoiCK/GaeCcsbSj9w/hHgLZnBBRgSXKiDFGgfEQW"], ["remember_token", "eHPjw2GBJkWcor42tUKzXg"], ["created_at", "2015-10-30 23:12:03.308474"], ["updated_at", "2015-10-30 23:12:03.308474"]]  (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", "2015-10-30 23:12:03.310087"], ["updated_at", "2015-10-30 23:12:03.310087"]]  (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", "H22qFtaVMqFmt7iyLkIezA"]] 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.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 7ms (Views: 1.6ms | ActiveRecord: 0.6ms)  (1.2ms) 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", "2015-10-30 23:12:03.324544"], ["updated_at", "2015-10-30 23:12:03.324544"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:12:03.327301"], ["updated_at", "2015-10-30 23:12:03.327301"]]  (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", "2015-10-30 23:12:03.330582"], ["updated_at", "2015-10-30 23:12:03.330582"]]  (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 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", "2015-10-30 23:12:03.337933"], ["updated_at", "2015-10-30 23:12:03.337933"]]  (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", "2015-10-30 23:12:03.340977"], ["updated_at", "2015-10-30 23:12:03.340977"]]  (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 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:12:03.362102"], ["updated_at", "2015-10-30 23:12:03.362102"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:03.364870"], ["updated_at", "2015-10-30 23:12:03.364870"]]  (0.0ms) 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 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", "2015-10-30 23:12:03.373425"], ["updated_at", "2015-10-30 23:12:03.373425"]]  (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", "2015-10-30 23:12:03.376661"], ["updated_at", "2015-10-30 23:12:03.376661"]]  (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", "2015-10-30 23:12:03.379783"], ["updated_at", "2015-10-30 23:12:03.379783"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:03.387046"], ["updated_at", "2015-10-30 23:12:03.387046"]]  (0.0ms) 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", "2015-10-30 23:12:03.389235"], ["updated_at", "2015-10-30 23:12:03.389235"]]  (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", "2015-10-30 23:12:03.391700"], ["updated_at", "2015-10-30 23:12:03.391700"]]  (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 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", "2015-10-30 23:12:03.399762"], ["updated_at", "2015-10-30 23:12:03.399762"]]  (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", "2015-10-30 23:12:03.402097"], ["updated_at", "2015-10-30 23:12:03.402097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) begin transaction Adeia::Token Load (1.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.8ms) SELECT "adeia_groups".* 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.8ms) 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.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:33.821998"], ["updated_at", "2015-10-30 23:12:33.821998"]]  (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.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:33.846246"], ["updated_at", "2015-10-30 23:12:33.846246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:12:33.874833"], ["updated_at", "2015-10-30 23:12:33.874833"]] 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", "2015-10-30 23:12:33.877327"], ["updated_at", "2015-10-30 23:12:33.877327"]] 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" = 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"]]  (0.9ms) 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", "2015-10-30 23:12:33.890890"], ["updated_at", "2015-10-30 23:12:33.890890"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:33.894365"], ["updated_at", "2015-10-30 23:12:33.894365"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:33.898114"], ["updated_at", "2015-10-30 23:12:33.898114"]] 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", "2015-10-30 23:12:33.900076"], ["updated_at", "2015-10-30 23:12:33.900076"]] 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" = 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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:33.913954"], ["updated_at", "2015-10-30 23:12:33.913954"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:33.917140"], ["updated_at", "2015-10-30 23:12:33.917140"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:33.921910"], ["updated_at", "2015-10-30 23:12:33.921910"]] 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", "2015-10-30 23:12:33.924649"], ["updated_at", "2015-10-30 23:12:33.924649"]] 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"]]  (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", "2015-10-30 23:12:33.936561"], ["updated_at", "2015-10-30 23:12:33.936561"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:33.940299"], ["updated_at", "2015-10-30 23:12:33.940299"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:33.945427"], ["updated_at", "2015-10-30 23:12:33.945427"]] 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", "2015-10-30 23:12:33.946917"], ["updated_at", "2015-10-30 23:12:33.946917"]] 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" = 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"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1005 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:33.959342"], ["updated_at", "2015-10-30 23:12:33.959342"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:33.962275"], ["updated_at", "2015-10-30 23:12:33.962275"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:33.966999"], ["updated_at", "2015-10-30 23:12:33.966999"]] 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", "2015-10-30 23:12:33.969504"], ["updated_at", "2015-10-30 23:12:33.969504"]] 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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:33.982171"], ["updated_at", "2015-10-30 23:12:33.982171"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:33.985293"], ["updated_at", "2015-10-30 23:12:33.985293"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:33.990957"], ["updated_at", "2015-10-30 23:12:33.990957"]] 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", "2015-10-30 23:12:33.992470"], ["updated_at", "2015-10-30 23:12:33.992470"]] 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" = 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.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" = 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", "2015-10-30 23:12:34.004758"], ["updated_at", "2015-10-30 23:12:34.004758"]]  (1.2ms) 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", "2015-10-30 23:12:34.009670"], ["updated_at", "2015-10-30 23:12:34.009670"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.022416"], ["updated_at", "2015-10-30 23:12:34.022416"]] 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", "2015-10-30 23:12:34.025921"], ["updated_at", "2015-10-30 23:12:34.025921"]] 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.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.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" = 1008 AND "adeia_elements"."name" = 'admin/articles' [["update_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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:34.047725"], ["updated_at", "2015-10-30 23:12:34.047725"]]  (0.3ms) 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.8ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:34.057004"], ["updated_at", "2015-10-30 23:12:34.057004"]]  (0.2ms) 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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:12:34.063152"], ["updated_at", "2015-10-30 23:12:34.063152"]] 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", "2015-10-30 23:12:34.065196"], ["updated_at", "2015-10-30 23:12:34.065196"]] 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.2ms) 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"]]  (1.0ms) rollback transaction  (0.6ms) 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", "2015-10-30 23:12:34.080227"], ["updated_at", "2015-10-30 23:12:34.080227"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:34.083467"], ["updated_at", "2015-10-30 23:12:34.083467"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.087899"], ["updated_at", "2015-10-30 23:12:34.087899"]] 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", "2015-10-30 23:12:34.089353"], ["updated_at", "2015-10-30 23:12:34.089353"]] 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" = 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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-30 23:12:34.101846"], ["updated_at", "2015-10-30 23:12:34.101846"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:34.105040"], ["updated_at", "2015-10-30 23:12:34.105040"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.110591"], ["updated_at", "2015-10-30 23:12:34.110591"]] 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", "2015-10-30 23:12:34.112972"], ["updated_at", "2015-10-30 23:12:34.112972"]] 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.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", "2015-10-30 23:12:34.123308"], ["updated_at", "2015-10-30 23:12:34.123308"]]  (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", "2015-10-30 23:12:34.126966"], ["updated_at", "2015-10-30 23:12:34.126966"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.130941"], ["updated_at", "2015-10-30 23:12:34.130941"]] 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", "2015-10-30 23:12:34.132637"], ["updated_at", "2015-10-30 23:12:34.132637"]] 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" = 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"."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.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", "2015-10-30 23:12:34.152612"], ["updated_at", "2015-10-30 23:12:34.152612"]]  (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", "2015-10-30 23:12:34.157866"], ["updated_at", "2015-10-30 23:12:34.157866"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.161918"], ["updated_at", "2015-10-30 23:12:34.161918"]] 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", "2015-10-30 23:12:34.163288"], ["updated_at", "2015-10-30 23:12:34.163288"]] 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" = 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.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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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", "2015-10-30 23:12:34.182699"], ["updated_at", "2015-10-30 23:12:34.182699"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:34.185783"], ["updated_at", "2015-10-30 23:12:34.185783"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.189702"], ["updated_at", "2015-10-30 23:12:34.189702"]] 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", "2015-10-30 23:12:34.191209"], ["updated_at", "2015-10-30 23:12:34.191209"]] 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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:34.203500"], ["updated_at", "2015-10-30 23:12:34.203500"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:34.206227"], ["updated_at", "2015-10-30 23:12:34.206227"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.210026"], ["updated_at", "2015-10-30 23:12:34.210026"]] 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", "2015-10-30 23:12:34.211743"], ["updated_at", "2015-10-30 23:12:34.211743"]] 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" = 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:34.224208"], ["updated_at", "2015-10-30 23:12:34.224208"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:34.226785"], ["updated_at", "2015-10-30 23:12:34.226785"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.230180"], ["updated_at", "2015-10-30 23:12:34.230180"]] 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", "2015-10-30 23:12:34.233827"], ["updated_at", "2015-10-30 23:12:34.233827"]] 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" = 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:34.246400"], ["updated_at", "2015-10-30 23:12:34.246400"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:34.249015"], ["updated_at", "2015-10-30 23:12:34.249015"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.252858"], ["updated_at", "2015-10-30 23:12:34.252858"]] 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", "2015-10-30 23:12:34.254415"], ["updated_at", "2015-10-30 23:12:34.254415"]] 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 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.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" = 1022 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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.9ms) 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", "2015-10-30 23:12:34.277002"], ["updated_at", "2015-10-30 23:12:34.277002"]]  (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", "2015-10-30 23:12:34.281519"], ["updated_at", "2015-10-30 23:12:34.281519"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:34.285794"], ["updated_at", "2015-10-30 23:12:34.285794"]]  (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", "2015-10-30 23:12:34.288640"], ["updated_at", "2015-10-30 23:12:34.288640"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.292095"], ["updated_at", "2015-10-30 23:12:34.292095"]] 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", "2015-10-30 23:12:34.293505"], ["updated_at", "2015-10-30 23:12:34.293505"]] 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" = 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"."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  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$qDLtoxi76a.DFvWXrYxlees82QiMvOUWRn6.2foONVrU8zbKH6oRS"], ["remember_token", "5O-fY8Hv_SDUcVtgKsKKkA"], ["created_at", "2015-10-30 23:12:34.312235"], ["updated_at", "2015-10-30 23:12:34.312235"]]  (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", "2015-10-30 23:12:34.316541"], ["updated_at", "2015-10-30 23:12:34.316541"]]  (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", "2015-10-30 23:12:34.319392"], ["updated_at", "2015-10-30 23:12:34.319392"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.323761"], ["updated_at", "2015-10-30 23:12:34.323761"]] 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", "2015-10-30 23:12:34.325563"], ["updated_at", "2015-10-30 23:12:34.325563"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "5O-fY8Hv_SDUcVtgKsKKkA"]] 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.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" = '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 20ms (Views: 13.9ms | ActiveRecord: 0.8ms)  (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$ozUYKP00ysSZkxILLYEXeepETwT6l1PrOoHPCzXnFu.hYx1bhIzee"], ["remember_token", "K_c9GQP8Ntrf-zkWDyYdYA"], ["created_at", "2015-10-30 23:12:34.357345"], ["updated_at", "2015-10-30 23:12:34.357345"]]  (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", "2015-10-30 23:12:34.360575"], ["updated_at", "2015-10-30 23:12:34.360575"]]  (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", "2015-10-30 23:12:34.363675"], ["updated_at", "2015-10-30 23:12:34.363675"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.369743"], ["updated_at", "2015-10-30 23:12:34.369743"]] 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", "2015-10-30 23:12:34.371775"], ["updated_at", "2015-10-30 23:12:34.371775"]] 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", "K_c9GQP8Ntrf-zkWDyYdYA"]] 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 7ms (Views: 1.1ms | 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$UW3QQUdwloDIhjECjP.R.e0eBsgcrrZ05z.Rpm/gJY.DV/j/a99dK"], ["remember_token", "DYykdN2BXqXyev_6smvR9w"], ["created_at", "2015-10-30 23:12:34.388849"], ["updated_at", "2015-10-30 23:12:34.388849"]]  (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", "2015-10-30 23:12:34.392681"], ["updated_at", "2015-10-30 23:12:34.392681"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:34.396275"], ["updated_at", "2015-10-30 23:12:34.396275"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.400288"], ["updated_at", "2015-10-30 23:12:34.400288"]] 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", "2015-10-30 23:12:34.401691"], ["updated_at", "2015-10-30 23:12:34.401691"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (0.2ms) 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$0rzZpe0Xz8mG0Y9ozl92gOfdXcGG.vOF4oIoMRceA67SqClP7P5gG"], ["remember_token", "xl5dT2o5rc5D4XZJWhcv_w"], ["created_at", "2015-10-30 23:12:34.415271"], ["updated_at", "2015-10-30 23:12:34.415271"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", "2015-10-30 23:12:34.418911"], ["updated_at", "2015-10-30 23:12:34.418911"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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", "2015-10-30 23:12:34.430905"], ["updated_at", "2015-10-30 23:12:34.430905"]]  (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", "2015-10-30 23:12:34.433046"], ["updated_at", "2015-10-30 23:12:34.433046"]]  (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", "2015-10-30 23:12:34.435213"], ["updated_at", "2015-10-30 23:12:34.435213"]]  (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", "2015-10-30 23:12:34.437036"], ["updated_at", "2015-10-30 23:12:34.437036"]]  (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", "DYykdN2BXqXyev_6smvR9w"]] 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)  (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$236oAkvvVM84O/Mvua4KbOGvM43lQy.ONksLTHC6nhGY8WB8wMLce"], ["remember_token", "akOc8L6E33t5RtRAiMkOTw"], ["created_at", "2015-10-30 23:12:34.453793"], ["updated_at", "2015-10-30 23:12:34.453793"]]  (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", "2015-10-30 23:12:34.457135"], ["updated_at", "2015-10-30 23:12:34.457135"]]  (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", "2015-10-30 23:12:34.460856"], ["updated_at", "2015-10-30 23:12:34.460856"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.465289"], ["updated_at", "2015-10-30 23:12:34.465289"]] 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", "2015-10-30 23:12:34.467036"], ["updated_at", "2015-10-30 23:12:34.467036"]] 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 "articles" ("title", "content", "user_id", "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", "2015-10-30 23:12:34.472196"], ["updated_at", "2015-10-30 23:12:34.472196"]]  (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", "2015-10-30 23:12:34.474616"], ["updated_at", "2015-10-30 23:12:34.474616"]]  (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", "2015-10-30 23:12:34.476954"], ["updated_at", "2015-10-30 23:12:34.476954"]]  (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", "2015-10-30 23:12:34.479417"], ["updated_at", "2015-10-30 23:12:34.479417"]]  (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", "2015-10-30 23:12:34.481375"], ["updated_at", "2015-10-30 23:12:34.481375"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$5WOf7UK9p3s046BXfBBucuMVXoa9FA5WpZe0Y1xccXEb3jwHBQsW2"], ["remember_token", "UbK67BZeAsk5bGDS-x5_qg"], ["created_at", "2015-10-30 23:12:34.487014"], ["updated_at", "2015-10-30 23:12:34.487014"]]  (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", "2015-10-30 23:12:34.488764"], ["updated_at", "2015-10-30 23:12:34.488764"]]  (0.0ms) 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", "2015-10-30 23:12:34.490752"], ["updated_at", "2015-10-30 23:12:34.490752"]]  (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", "2015-10-30 23:12:34.492504"], ["updated_at", "2015-10-30 23:12:34.492504"]]  (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", "2015-10-30 23:12:34.494217"], ["updated_at", "2015-10-30 23:12:34.494217"]]  (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", "2015-10-30 23:12:34.496820"], ["updated_at", "2015-10-30 23:12:34.496820"]]  (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", "akOc8L6E33t5RtRAiMkOTw"]] 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.3ms | ActiveRecord: 0.5ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (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$6zjd/djyRETRKI2NaWNMPO7I67xsw1hfeD9WOWbf0KTNSi89Vilq2"], ["remember_token", "avvOAyTA2HEgqVgM19LGEA"], ["created_at", "2015-10-30 23:12:34.512548"], ["updated_at", "2015-10-30 23:12:34.512548"]]  (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", "2015-10-30 23:12:34.516048"], ["updated_at", "2015-10-30 23:12:34.516048"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:34.519286"], ["updated_at", "2015-10-30 23:12:34.519286"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.522597"], ["updated_at", "2015-10-30 23:12:34.522597"]] 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", "2015-10-30 23:12:34.523901"], ["updated_at", "2015-10-30 23:12:34.523901"]] 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.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", "2015-10-30 23:12:34.527465"], ["updated_at", "2015-10-30 23:12:34.527465"]]  (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", "2015-10-30 23:12:34.531132"], ["updated_at", "2015-10-30 23:12:34.531132"]]  (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", "2015-10-30 23:12:34.533938"], ["updated_at", "2015-10-30 23:12:34.533938"]]  (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", "2015-10-30 23:12:34.536310"], ["updated_at", "2015-10-30 23:12:34.536310"]]  (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", "2015-10-30 23:12:34.539047"], ["updated_at", "2015-10-30 23:12:34.539047"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$sAEbSxK3xKsBJgNVzucYSOfRqMRxRFQOkiiILzhVaY5mezqYH4oQ6"], ["remember_token", "Gok3MCN8VtgQFK9NIhUbhQ"], ["created_at", "2015-10-30 23:12:34.544555"], ["updated_at", "2015-10-30 23:12:34.544555"]]  (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", "2015-10-30 23:12:34.546808"], ["updated_at", "2015-10-30 23:12:34.546808"]]  (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", "2015-10-30 23:12:34.549214"], ["updated_at", "2015-10-30 23:12:34.549214"]]  (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", "2015-10-30 23:12:34.551288"], ["updated_at", "2015-10-30 23:12:34.551288"]]  (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.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", "2015-10-30 23:12:34.553365"], ["updated_at", "2015-10-30 23:12:34.553365"]]  (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.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", "2015-10-30 23:12:34.557581"], ["updated_at", "2015-10-30 23:12:34.557581"]]  (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", "2015-10-30 23:12:34.560704"], ["updated_at", "2015-10-30 23:12:34.560704"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.567280"], ["updated_at", "2015-10-30 23:12:34.567280"]] 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", "2015-10-30 23:12:34.569143"], ["updated_at", "2015-10-30 23:12:34.569143"]] 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", "avvOAyTA2HEgqVgM19LGEA"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (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$R/vNL8IjDAElvJreqOYRl.7JcY1.iWZzgC4hNjSFXZGByA5D5XV6i"], ["remember_token", "ayevc2wrA6aIgO6z1WFoPQ"], ["created_at", "2015-10-30 23:12:34.584785"], ["updated_at", "2015-10-30 23:12:34.584785"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$XKkwfPkpZnYHnPenKurzi.z.zrvPKPDa9Cph9zsXO.5Jibpj4HBH2"], ["remember_token", "AmVMkUX72OWFJDEy9Em5oQ"], ["created_at", "2015-10-30 23:12:34.589518"], ["updated_at", "2015-10-30 23:12:34.589518"]]  (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", "2015-10-30 23:12:34.591719"], ["updated_at", "2015-10-30 23:12:34.591719"]]  (0.0ms) 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 "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-30 23:12:34.593819"], ["updated_at", "2015-10-30 23:12:34.593819"]]  (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", "2015-10-30 23:12:34.595996"], ["updated_at", "2015-10-30 23:12:34.595996"]]  (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", "2015-10-30 23:12:34.597807"], ["updated_at", "2015-10-30 23:12:34.597807"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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", "2015-10-30 23:12:34.600570"], ["updated_at", "2015-10-30 23:12:34.600570"]]  (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", "2015-10-30 23:12:34.603529"], ["updated_at", "2015-10-30 23:12:34.603529"]]  (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", "2015-10-30 23:12:34.605783"], ["updated_at", "2015-10-30 23:12:34.605783"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:12:34.608658"], ["updated_at", "2015-10-30 23:12:34.608658"]]  (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", "2015-10-30 23:12:34.610986"], ["updated_at", "2015-10-30 23:12:34.610986"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.614821"], ["updated_at", "2015-10-30 23:12:34.614821"]] 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", "2015-10-30 23:12:34.617269"], ["updated_at", "2015-10-30 23:12:34.617269"]] 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.5ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.626109"], ["updated_at", "2015-10-30 23:12:34.626109"]] 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", "2015-10-30 23:12:34.627794"], ["updated_at", "2015-10-30 23:12:34.627794"]] 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", "ayevc2wrA6aIgO6z1WFoPQ"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms) 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$RuETZUFQJHfFj8SaBHHn5OUal7qTGNpnuKm1iavfa.VOH0Tb1uvPG"], ["remember_token", "EH7fftKay0v4ufhIjc1HUg"], ["created_at", "2015-10-30 23:12:34.644045"], ["updated_at", "2015-10-30 23:12:34.644045"]]  (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", "2015-10-30 23:12:34.647409"], ["updated_at", "2015-10-30 23:12:34.647409"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:34.650967"], ["updated_at", "2015-10-30 23:12:34.650967"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.657263"], ["updated_at", "2015-10-30 23:12:34.657263"]] 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", "2015-10-30 23:12:34.659547"], ["updated_at", "2015-10-30 23:12:34.659547"]] 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.1ms) 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$Imsr/4v.Dg5pNgG..f6FbuRS/0jab0dI4.VQX0Pktz4GI1gXtmWiu"], ["remember_token", "maH9IrWxmgNJLAWx2Na3fw"], ["created_at", "2015-10-30 23:12:34.667392"], ["updated_at", "2015-10-30 23:12:34.667392"]]  (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", "2015-10-30 23:12:34.669369"], ["updated_at", "2015-10-30 23:12:34.669369"]]  (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 1 [["remember_token", "EH7fftKay0v4ufhIjc1HUg"]] Article Load (0.2ms) 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.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::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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 9ms (Views: 3.0ms | ActiveRecord: 0.8ms)  (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$DfNL7Haqtxe.WO2Gwgzz7uAMHqh/N52bV4jcum0luqWOG14/JcDYK"], ["remember_token", "-nkeEocLypWVXB-yMfFQcw"], ["created_at", "2015-10-30 23:12:34.686084"], ["updated_at", "2015-10-30 23:12:34.686084"]]  (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", "2015-10-30 23:12:34.690275"], ["updated_at", "2015-10-30 23:12:34.690275"]]  (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", "2015-10-30 23:12:34.693672"], ["updated_at", "2015-10-30 23:12:34.693672"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.696704"], ["updated_at", "2015-10-30 23:12:34.696704"]] 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", "2015-10-30 23:12:34.698008"], ["updated_at", "2015-10-30 23:12:34.698008"]] 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.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$bsJAKzRZGv55VoKftnze3eauDc57pvs9OS9mBIKUyeImeTt6h8MNq"], ["remember_token", "PmsMF6ou3He-r1z526gcyg"], ["created_at", "2015-10-30 23:12:34.703524"], ["updated_at", "2015-10-30 23:12:34.703524"]]  (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", "2015-10-30 23:12:34.705109"], ["updated_at", "2015-10-30 23:12:34.705109"]]  (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 1 [["remember_token", "-nkeEocLypWVXB-yMfFQcw"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 12ms (Views: 1.2ms | 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$I/5M3yBiYh2XwYxcuFVTY./7lI00kviUUQObu8XQUj37Vb65F1Uq6"], ["remember_token", "FERKE9zSR2Kfwf465l7shQ"], ["created_at", "2015-10-30 23:12:34.725072"], ["updated_at", "2015-10-30 23:12:34.725072"]]  (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", "2015-10-30 23:12:34.728634"], ["updated_at", "2015-10-30 23:12:34.728634"]]  (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", "2015-10-30 23:12:34.732226"], ["updated_at", "2015-10-30 23:12:34.732226"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.735297"], ["updated_at", "2015-10-30 23:12:34.735297"]] 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", "2015-10-30 23:12:34.737314"], ["updated_at", "2015-10-30 23:12:34.737314"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "FERKE9zSR2Kfwf465l7shQ"]] 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 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.3ms) Completed 200 OK in 6ms (Views: 2.8ms | 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$ZHrZE/JZV3J/soFkuubHQOT0gAluAQhOjq/WMwqNoxgFcyYbJNUEG"], ["remember_token", "r3jDyl1spaZNZ-68j_D4PQ"], ["created_at", "2015-10-30 23:12:34.754845"], ["updated_at", "2015-10-30 23:12:34.754845"]]  (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", "2015-10-30 23:12:34.758954"], ["updated_at", "2015-10-30 23:12:34.758954"]]  (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", "2015-10-30 23:12:34.762355"], ["updated_at", "2015-10-30 23:12:34.762355"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.765494"], ["updated_at", "2015-10-30 23:12:34.765494"]] 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", "2015-10-30 23:12:34.766785"], ["updated_at", "2015-10-30 23:12:34.766785"]] 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.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$xDxW/dQ0L38FTAb/Aw3WSOZqK5VfWWj2HM6.zD0hY4IPGTC9M6Zyy"], ["remember_token", "xiZ5XGjQXE6gTxTw1JbTsA"], ["created_at", "2015-10-30 23:12:34.772877"], ["updated_at", "2015-10-30 23:12:34.772877"]]  (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", "2015-10-30 23:12:34.774704"], ["updated_at", "2015-10-30 23:12:34.774704"]]  (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", "r3jDyl1spaZNZ-68j_D4PQ"]] 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.5ms) Completed 200 OK in 9ms (Views: 4.6ms | ActiveRecord: 0.6ms)  (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$vzf./R.LwjdkfpUB8/K5aerW58d51UbTufPEEoI2JVePVxCWj9BFq"], ["remember_token", "WTMbXv3raPWvLur79ofr8Q"], ["created_at", "2015-10-30 23:12:34.791696"], ["updated_at", "2015-10-30 23:12:34.791696"]]  (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", "2015-10-30 23:12:34.795353"], ["updated_at", "2015-10-30 23:12:34.795353"]]  (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", "2015-10-30 23:12:34.799005"], ["updated_at", "2015-10-30 23:12:34.799005"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:34.802464"], ["updated_at", "2015-10-30 23:12:34.802464"]] 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", "2015-10-30 23:12:34.803846"], ["updated_at", "2015-10-30 23:12:34.803846"]] 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.1ms) 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$yyLjix.bRxK.B6O2tKr61ugNgVSU/USEumxoLq7gtxWlr9M4O/NEu"], ["remember_token", "21dPOeNuWK15IQ-ovOqjOg"], ["created_at", "2015-10-30 23:12:34.810205"], ["updated_at", "2015-10-30 23:12:34.810205"]]  (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", 2], ["created_at", "2015-10-30 23:12:34.811947"], ["updated_at", "2015-10-30 23:12:34.811947"]]  (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", "WTMbXv3raPWvLur79ofr8Q"]] 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.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"."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 6ms (Views: 1.0ms | ActiveRecord: 0.6ms)  (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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:34.825241"], ["updated_at", "2015-10-30 23:12:34.825241"]]  (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", "2015-10-30 23:12:34.827646"], ["updated_at", "2015-10-30 23:12:34.827646"]]  (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", "2015-10-30 23:12:34.830321"], ["updated_at", "2015-10-30 23:12:34.830321"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:34.837515"], ["updated_at", "2015-10-30 23:12:34.837515"]]  (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", "2015-10-30 23:12:34.841715"], ["updated_at", "2015-10-30 23:12:34.841715"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.2ms) 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", "2015-10-30 23:12:34.864548"], ["updated_at", "2015-10-30 23:12:34.864548"]]  (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", "2015-10-30 23:12:34.868553"], ["updated_at", "2015-10-30 23:12:34.868553"]]  (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 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", "2015-10-30 23:12:34.909019"], ["updated_at", "2015-10-30 23:12:34.909019"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:12:34.911614"], ["updated_at", "2015-10-30 23:12:34.911614"]]  (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", "2015-10-30 23:12:34.914188"], ["updated_at", "2015-10-30 23:12:34.914188"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:34.921567"], ["updated_at", "2015-10-30 23:12:34.921567"]]  (0.0ms) 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", "2015-10-30 23:12:34.923701"], ["updated_at", "2015-10-30 23:12:34.923701"]]  (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", "2015-10-30 23:12:34.926425"], ["updated_at", "2015-10-30 23:12:34.926425"]]  (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 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", "2015-10-30 23:12:34.933328"], ["updated_at", "2015-10-30 23:12:34.933328"]]  (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.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:12:34.935670"], ["updated_at", "2015-10-30 23:12:34.935670"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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  (0.1ms) 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.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" = 1001 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"."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.5ms) 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", "2015-10-30 23:12:46.375667"], ["updated_at", "2015-10-30 23:12:46.375667"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:46.395626"], ["updated_at", "2015-10-30 23:12:46.395626"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:12:46.422252"], ["updated_at", "2015-10-30 23:12:46.422252"]] 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", "2015-10-30 23:12:46.424606"], ["updated_at", "2015-10-30 23:12:46.424606"]] 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" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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", "2015-10-30 23:12:46.436556"], ["updated_at", "2015-10-30 23:12:46.436556"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:46.439609"], ["updated_at", "2015-10-30 23:12:46.439609"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:46.443394"], ["updated_at", "2015-10-30 23:12:46.443394"]] 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", "2015-10-30 23:12:46.444896"], ["updated_at", "2015-10-30 23:12:46.444896"]] 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" = 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"."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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_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", "2015-10-30 23:12:46.455319"], ["updated_at", "2015-10-30 23:12:46.455319"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:46.457819"], ["updated_at", "2015-10-30 23:12:46.457819"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:46.461730"], ["updated_at", "2015-10-30 23:12:46.461730"]] 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", "2015-10-30 23:12:46.463450"], ["updated_at", "2015-10-30 23:12:46.463450"]] 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" = 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"."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", "2015-10-30 23:12:46.475379"], ["updated_at", "2015-10-30 23:12:46.475379"]]  (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", "2015-10-30 23:12:46.478984"], ["updated_at", "2015-10-30 23:12:46.478984"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:46.483679"], ["updated_at", "2015-10-30 23:12:46.483679"]] 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", "2015-10-30 23:12:46.486772"], ["updated_at", "2015-10-30 23:12:46.486772"]] 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.3ms) 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"]]  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:46.498610"], ["updated_at", "2015-10-30 23:12:46.498610"]]  (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", "2015-10-30 23:12:46.501946"], ["updated_at", "2015-10-30 23:12:46.501946"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:46.506507"], ["updated_at", "2015-10-30 23:12:46.506507"]] 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", "2015-10-30 23:12:46.508249"], ["updated_at", "2015-10-30 23:12:46.508249"]] 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.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", "2015-10-30 23:12:46.519963"], ["updated_at", "2015-10-30 23:12:46.519963"]]  (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", "2015-10-30 23:12:46.523438"], ["updated_at", "2015-10-30 23:12:46.523438"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:46.528082"], ["updated_at", "2015-10-30 23:12:46.528082"]] 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", "2015-10-30 23:12:46.529502"], ["updated_at", "2015-10-30 23:12:46.529502"]] 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.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" = 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"."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.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" = 1007 AND "adeia_elements"."name" = 'admin/articles' [["update_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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:46.541277"], ["updated_at", "2015-10-30 23:12:46.541277"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:46.544609"], ["updated_at", "2015-10-30 23:12:46.544609"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:46.548955"], ["updated_at", "2015-10-30 23:12:46.548955"]] 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", "2015-10-30 23:12:46.550313"], ["updated_at", "2015-10-30 23:12:46.550313"]] 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" = 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"."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.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" = 1008 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:46.561899"], ["updated_at", "2015-10-30 23:12:46.561899"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:46.564644"], ["updated_at", "2015-10-30 23:12:46.564644"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:12:46.570326"], ["updated_at", "2015-10-30 23:12:46.570326"]] 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", "2015-10-30 23:12:46.572508"], ["updated_at", "2015-10-30 23:12:46.572508"]] 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.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" = 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"."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.2ms) 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"]]  (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", "2015-10-30 23:12:46.588783"], ["updated_at", "2015-10-30 23:12:46.588783"]]  (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", "2015-10-30 23:12:46.594022"], ["updated_at", "2015-10-30 23:12:46.594022"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:46.599805"], ["updated_at", "2015-10-30 23:12:46.599805"]] 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", "2015-10-30 23:12:46.601920"], ["updated_at", "2015-10-30 23:12:46.601920"]] Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.3ms) 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  (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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."name" = 'share'  (1.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:46.623500"], ["updated_at", "2015-10-30 23:12:46.623500"]]  (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", "2015-10-30 23:12:46.626679"], ["updated_at", "2015-10-30 23:12:46.626679"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:46.631224"], ["updated_at", "2015-10-30 23:12:46.631224"]] 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", "2015-10-30 23:12:46.632852"], ["updated_at", "2015-10-30 23:12:46.632852"]] 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.9ms) 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", "2015-10-30 23:12:46.641088"], ["updated_at", "2015-10-30 23:12:46.641088"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:46.644056"], ["updated_at", "2015-10-30 23:12:46.644056"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:46.648235"], ["updated_at", "2015-10-30 23:12:46.648235"]] 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", "2015-10-30 23:12:46.649977"], ["updated_at", "2015-10-30 23:12:46.649977"]] 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.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" = 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:46.667023"], ["updated_at", "2015-10-30 23:12:46.667023"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:46.669594"], ["updated_at", "2015-10-30 23:12:46.669594"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:46.673554"], ["updated_at", "2015-10-30 23:12:46.673554"]] 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", "2015-10-30 23:12:46.675410"], ["updated_at", "2015-10-30 23:12:46.675410"]] 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" = 1013  (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"."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.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" = 1013 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", "2015-10-30 23:12:46.691482"], ["updated_at", "2015-10-30 23:12:46.691482"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:46.694104"], ["updated_at", "2015-10-30 23:12:46.694104"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:46.697449"], ["updated_at", "2015-10-30 23:12:46.697449"]] 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", "2015-10-30 23:12:46.699267"], ["updated_at", "2015-10-30 23:12:46.699267"]] 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" = 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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:46.711510"], ["updated_at", "2015-10-30 23:12:46.711510"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:46.714059"], ["updated_at", "2015-10-30 23:12:46.714059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:46.717901"], ["updated_at", "2015-10-30 23:12:46.717901"]] 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", "2015-10-30 23:12:46.720954"], ["updated_at", "2015-10-30 23:12:46.720954"]] 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" = 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.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" = 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", "2015-10-30 23:12:46.734811"], ["updated_at", "2015-10-30 23:12:46.734811"]]  (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", "2015-10-30 23:12:46.738816"], ["updated_at", "2015-10-30 23:12:46.738816"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:46.743407"], ["updated_at", "2015-10-30 23:12:46.743407"]] 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", "2015-10-30 23:12:46.744828"], ["updated_at", "2015-10-30 23:12:46.744828"]] 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" = 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 (1.0ms) 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"]]  (0.9ms) 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", "2015-10-30 23:12:46.757272"], ["updated_at", "2015-10-30 23:12:46.757272"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:46.759874"], ["updated_at", "2015-10-30 23:12:46.759874"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:46.763273"], ["updated_at", "2015-10-30 23:12:46.763273"]] 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", "2015-10-30 23:12:46.765295"], ["updated_at", "2015-10-30 23:12:46.765295"]] 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.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" = 1022 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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (2.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", "2015-10-30 23:12:46.792467"], ["updated_at", "2015-10-30 23:12:46.792467"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_group_users" ("adeia_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_group_id", 1], ["user_id", 1023], ["created_at", "2015-10-30 23:12:46.796437"], ["updated_at", "2015-10-30 23:12:46.796437"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:46.800545"], ["updated_at", "2015-10-30 23:12:46.800545"]]  (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", "2015-10-30 23:12:46.803083"], ["updated_at", "2015-10-30 23:12:46.803083"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:46.806648"], ["updated_at", "2015-10-30 23:12:46.806648"]] 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", "2015-10-30 23:12:46.807992"], ["updated_at", "2015-10-30 23:12:46.807992"]] 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" = 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.5ms) 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$RPuXMHadlwtHrsOybA2Wpe6dFkgKoCWcWZwHrjRluM0EYGhmRsZe2"], ["remember_token", "uPGXyd-1Av8LDziC5oLKkQ"], ["created_at", "2015-10-30 23:12:46.832697"], ["updated_at", "2015-10-30 23:12:46.832697"]]  (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", "2015-10-30 23:12:46.836784"], ["updated_at", "2015-10-30 23:12:46.836784"]]  (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", "2015-10-30 23:12:46.839614"], ["updated_at", "2015-10-30 23:12:46.839614"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:46.844467"], ["updated_at", "2015-10-30 23:12:46.844467"]] 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", "2015-10-30 23:12:46.846327"], ["updated_at", "2015-10-30 23:12:46.846327"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "uPGXyd-1Av8LDziC5oLKkQ"]] 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.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" = '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.5ms) Completed 200 OK in 26ms (Views: 20.4ms | ActiveRecord: 0.8ms)  (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$wBTDLKd9rEXs7qpQjvl6aeo1qVDfrSP0ytB/L75sNU8zgWRsJRhlm"], ["remember_token", "L-kFCW8tGpt4G3Nz2r0xDg"], ["created_at", "2015-10-30 23:12:46.884387"], ["updated_at", "2015-10-30 23:12:46.884387"]]  (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", "2015-10-30 23:12:46.888519"], ["updated_at", "2015-10-30 23:12:46.888519"]]  (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", "2015-10-30 23:12:46.892729"], ["updated_at", "2015-10-30 23:12:46.892729"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:46.895989"], ["updated_at", "2015-10-30 23:12:46.895989"]] 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", "2015-10-30 23:12:46.897270"], ["updated_at", "2015-10-30 23:12:46.897270"]] 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", "L-kFCW8tGpt4G3Nz2r0xDg"]] 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.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$lRgnwFILUahE28g7UtS29eQ8l77zdBEkSf5PVda2gtfAOd7NJOyq2"], ["remember_token", "KlD2jLUEvhhRv13_nZ59gg"], ["created_at", "2015-10-30 23:12:46.914826"], ["updated_at", "2015-10-30 23:12:46.914826"]]  (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", "2015-10-30 23:12:46.919801"], ["updated_at", "2015-10-30 23:12:46.919801"]]  (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", "2015-10-30 23:12:46.923011"], ["updated_at", "2015-10-30 23:12:46.923011"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:46.926470"], ["updated_at", "2015-10-30 23:12:46.926470"]] 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", "2015-10-30 23:12:46.927864"], ["updated_at", "2015-10-30 23:12:46.927864"]] 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.2ms) 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$dM3090xe/PaGJZjVvDXIIuuSaVtO5IpEZFI6tM1iYygu/V/IFSowq"], ["remember_token", "iRnCPmCFas2UvJZHSi5P0A"], ["created_at", "2015-10-30 23:12:46.940982"], ["updated_at", "2015-10-30 23:12:46.940982"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", "2015-10-30 23:12:46.949518"], ["updated_at", "2015-10-30 23:12:46.949518"]]  (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", "2015-10-30 23:12:46.953046"], ["updated_at", "2015-10-30 23:12:46.953046"]]  (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.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", "2015-10-30 23:12:46.955848"], ["updated_at", "2015-10-30 23:12:46.955848"]]  (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", "2015-10-30 23:12:46.959369"], ["updated_at", "2015-10-30 23:12:46.959369"]]  (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", "2015-10-30 23:12:46.962087"], ["updated_at", "2015-10-30 23:12:46.962087"]]  (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 1 [["remember_token", "KlD2jLUEvhhRv13_nZ59gg"]] 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" = 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 7ms (Views: 1.0ms | ActiveRecord: 0.7ms)  (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$jnhZMhecLTh01D9MfNuZiOLJM5SDB2sT9EX6TRA/8DyCON/JtVzOq"], ["remember_token", "yRLJ1VRE0ymX6H5k-an3QA"], ["created_at", "2015-10-30 23:12:46.978426"], ["updated_at", "2015-10-30 23:12:46.978426"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:12:46.981619"], ["updated_at", "2015-10-30 23:12:46.981619"]]  (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", "2015-10-30 23:12:46.984317"], ["updated_at", "2015-10-30 23:12:46.984317"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:46.990273"], ["updated_at", "2015-10-30 23:12:46.990273"]] 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", "2015-10-30 23:12:46.992179"], ["updated_at", "2015-10-30 23:12:46.992179"]] 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 "articles" ("title", "content", "user_id", "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", "2015-10-30 23:12:46.996590"], ["updated_at", "2015-10-30 23:12:46.996590"]]  (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", "2015-10-30 23:12:46.998831"], ["updated_at", "2015-10-30 23:12:46.998831"]]  (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", "2015-10-30 23:12:47.000907"], ["updated_at", "2015-10-30 23:12:47.000907"]]  (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", "2015-10-30 23:12:47.003424"], ["updated_at", "2015-10-30 23:12:47.003424"]]  (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", "2015-10-30 23:12:47.005621"], ["updated_at", "2015-10-30 23:12:47.005621"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$.8S3LFANwbHk0ObWYhD58OUHMb48DD9t6S1uK7Bk/4lqK0SaskOai"], ["remember_token", "tRFh756v-NtM1IHx29iVtg"], ["created_at", "2015-10-30 23:12:47.010060"], ["updated_at", "2015-10-30 23:12:47.010060"]]  (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", "2015-10-30 23:12:47.011564"], ["updated_at", "2015-10-30 23:12:47.011564"]]  (0.0ms) 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", "2015-10-30 23:12:47.013393"], ["updated_at", "2015-10-30 23:12:47.013393"]]  (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", "2015-10-30 23:12:47.015098"], ["updated_at", "2015-10-30 23:12:47.015098"]]  (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", "2015-10-30 23:12:47.017998"], ["updated_at", "2015-10-30 23:12:47.017998"]]  (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.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", "2015-10-30 23:12:47.021653"], ["updated_at", "2015-10-30 23:12:47.021653"]]  (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", "yRLJ1VRE0ymX6H5k-an3QA"]] 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 7ms (Views: 1.1ms | ActiveRecord: 0.6ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$zOVS/CKfwRtjSQgBF/RdAuz4BJ3v217v.Vil7V47cUEZVsn2V4LUm"], ["remember_token", "MQCfgM1JawYeMOqkNVtPOA"], ["created_at", "2015-10-30 23:12:47.039522"], ["updated_at", "2015-10-30 23:12:47.039522"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:12:47.042614"], ["updated_at", "2015-10-30 23:12:47.042614"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:47.047199"], ["updated_at", "2015-10-30 23:12:47.047199"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:47.052063"], ["updated_at", "2015-10-30 23:12:47.052063"]] 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", "2015-10-30 23:12:47.053948"], ["updated_at", "2015-10-30 23:12:47.053948"]] 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 "articles" ("title", "content", "user_id", "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", "2015-10-30 23:12:47.058355"], ["updated_at", "2015-10-30 23:12:47.058355"]]  (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", "2015-10-30 23:12:47.060772"], ["updated_at", "2015-10-30 23:12:47.060772"]]  (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", "2015-10-30 23:12:47.062684"], ["updated_at", "2015-10-30 23:12:47.062684"]]  (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", "2015-10-30 23:12:47.064311"], ["updated_at", "2015-10-30 23:12:47.064311"]]  (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", "2015-10-30 23:12:47.065855"], ["updated_at", "2015-10-30 23:12:47.065855"]]  (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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$qJcN8sP/T4gr62Vnk5JYtucNGGAoy9MRDEPaoAWSBnd77A5VhPFGa"], ["remember_token", "SxTla35ImjjwV6Jy-3ySgg"], ["created_at", "2015-10-30 23:12:47.070236"], ["updated_at", "2015-10-30 23:12:47.070236"]]  (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", "2015-10-30 23:12:47.073347"], ["updated_at", "2015-10-30 23:12:47.073347"]]  (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", "2015-10-30 23:12:47.075691"], ["updated_at", "2015-10-30 23:12:47.075691"]]  (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", "2015-10-30 23:12:47.077460"], ["updated_at", "2015-10-30 23:12:47.077460"]]  (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", "2015-10-30 23:12:47.079236"], ["updated_at", "2015-10-30 23:12:47.079236"]]  (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", "2015-10-30 23:12:47.081185"], ["updated_at", "2015-10-30 23:12:47.081185"]]  (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", "2015-10-30 23:12:47.083016"], ["updated_at", "2015-10-30 23:12:47.083016"]]  (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", "articles"]] 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.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:47.088125"], ["updated_at", "2015-10-30 23:12:47.088125"]] 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", "2015-10-30 23:12:47.089843"], ["updated_at", "2015-10-30 23:12:47.089843"]] 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", "MQCfgM1JawYeMOqkNVtPOA"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms) Article Load (0.2ms) 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$J8IGSnxTRape/hDwCyYhYedBX2wgH2/Z20PRD3.7LuK3WXSVqHUQS"], ["remember_token", "5A2i6rBIhxIXvImPUPmTJA"], ["created_at", "2015-10-30 23:12:47.105480"], ["updated_at", "2015-10-30 23:12:47.105480"]]  (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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$9Tlm7xXroR97TB7jEedckuBfS3mAAa7edPt.zqjwDjCQk/unUkCYO"], ["remember_token", "WdiHRKeD1_NcRb-jxztF7g"], ["created_at", "2015-10-30 23:12:47.110109"], ["updated_at", "2015-10-30 23:12:47.110109"]]  (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", "2015-10-30 23:12:47.112253"], ["updated_at", "2015-10-30 23:12:47.112253"]]  (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", "2015-10-30 23:12:47.114273"], ["updated_at", "2015-10-30 23:12:47.114273"]]  (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", "2015-10-30 23:12:47.116065"], ["updated_at", "2015-10-30 23:12:47.116065"]]  (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", "2015-10-30 23:12:47.117802"], ["updated_at", "2015-10-30 23:12:47.117802"]]  (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", "2015-10-30 23:12:47.119678"], ["updated_at", "2015-10-30 23:12:47.119678"]]  (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", "2015-10-30 23:12:47.121835"], ["updated_at", "2015-10-30 23:12:47.121835"]]  (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", "2015-10-30 23:12:47.123713"], ["updated_at", "2015-10-30 23:12:47.123713"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:12:47.126423"], ["updated_at", "2015-10-30 23:12:47.126423"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:47.130963"], ["updated_at", "2015-10-30 23:12:47.130963"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:47.135722"], ["updated_at", "2015-10-30 23:12:47.135722"]] 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", "2015-10-30 23:12:47.138049"], ["updated_at", "2015-10-30 23:12:47.138049"]] 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.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:47.146084"], ["updated_at", "2015-10-30 23:12:47.146084"]] 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", "2015-10-30 23:12:47.147351"], ["updated_at", "2015-10-30 23:12:47.147351"]] 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 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "5A2i6rBIhxIXvImPUPmTJA"]] 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.2ms) 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.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$st0VfAUsfuDurDr./mX6menCD30IFqOZbXlFZD/QKcUKTP0DQ0C5O"], ["remember_token", "wzBZ8lGyLOnl9x16wC10fg"], ["created_at", "2015-10-30 23:12:47.162694"], ["updated_at", "2015-10-30 23:12:47.162694"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:12:47.166000"], ["updated_at", "2015-10-30 23:12:47.166000"]]  (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", "2015-10-30 23:12:47.168955"], ["updated_at", "2015-10-30 23:12:47.168955"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:47.172704"], ["updated_at", "2015-10-30 23:12:47.172704"]] 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", "2015-10-30 23:12:47.174028"], ["updated_at", "2015-10-30 23:12:47.174028"]] 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.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$Fh0RSlqA.PmRi.feODhN5Ooq03So/76Czh6JQjFGmi.by1e2n0II6"], ["remember_token", "43SaElQUGUXfMqNah-D4cg"], ["created_at", "2015-10-30 23:12:47.179470"], ["updated_at", "2015-10-30 23:12:47.179470"]]  (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", "2015-10-30 23:12:47.181156"], ["updated_at", "2015-10-30 23:12:47.181156"]]  (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", "wzBZ8lGyLOnl9x16wC10fg"]] Article Load (0.3ms) 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.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"]] Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 11ms (Views: 3.4ms | ActiveRecord: 0.9ms)  (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$3mYU.iMKMtv31X01RAf6a.LVbniUVpLhOlv5/xoXGcfj.lCMpe8wK"], ["remember_token", "BPJwo7FzfE4KWA6FRx-43w"], ["created_at", "2015-10-30 23:12:47.202118"], ["updated_at", "2015-10-30 23:12:47.202118"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:12:47.207133"], ["updated_at", "2015-10-30 23:12:47.207133"]]  (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", "2015-10-30 23:12:47.210712"], ["updated_at", "2015-10-30 23:12:47.210712"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:47.214438"], ["updated_at", "2015-10-30 23:12:47.214438"]] 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", "2015-10-30 23:12:47.216309"], ["updated_at", "2015-10-30 23:12:47.216309"]] 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 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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$j6r32Az87w0.Nm7DDa6IBeHxtCISFy.YZ7CaNnR6Hv1TzKSV5tFFa"], ["remember_token", "7PU0YT_KwFPkOc7ZUHur3w"], ["created_at", "2015-10-30 23:12:47.223203"], ["updated_at", "2015-10-30 23:12:47.223203"]]  (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", "2015-10-30 23:12:47.225165"], ["updated_at", "2015-10-30 23:12:47.225165"]]  (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", "BPJwo7FzfE4KWA6FRx-43w"]] 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"."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 5ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (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$r/4acAZrmQWsP3wnG0eHquoKZkRMkc9PVHU2RRwSIGWip6e/sttw6"], ["remember_token", "ysOB-7HKPXUXSqxHT3JL8A"], ["created_at", "2015-10-30 23:12:47.243514"], ["updated_at", "2015-10-30 23:12:47.243514"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:12:47.246890"], ["updated_at", "2015-10-30 23:12:47.246890"]]  (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", "2015-10-30 23:12:47.250897"], ["updated_at", "2015-10-30 23:12:47.250897"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:47.254242"], ["updated_at", "2015-10-30 23:12:47.254242"]] 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", "2015-10-30 23:12:47.255909"], ["updated_at", "2015-10-30 23:12:47.255909"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "ysOB-7HKPXUXSqxHT3JL8A"]] 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 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.3ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.5ms)  (0.8ms) 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$9AyO7.oT8q/nUu1TWbPPp.zjsuk3gQneZWZXMzoqXimvLuTuplpua"], ["remember_token", "Zy2LgX2P14RtobzewPrgcA"], ["created_at", "2015-10-30 23:12:47.270877"], ["updated_at", "2015-10-30 23:12:47.270877"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:12:47.274359"], ["updated_at", "2015-10-30 23:12:47.274359"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:12:47.279108"], ["updated_at", "2015-10-30 23:12:47.279108"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:47.282943"], ["updated_at", "2015-10-30 23:12:47.282943"]] 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", "2015-10-30 23:12:47.284543"], ["updated_at", "2015-10-30 23:12:47.284543"]] 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.1ms) 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$YfWo3tKgu9tAPYLmCKjVtupI0CobAswDkLED04kf8FWqUlaBlBC0q"], ["remember_token", "7hAToRuvY8KEaokvYV6P_Q"], ["created_at", "2015-10-30 23:12:47.291722"], ["updated_at", "2015-10-30 23:12:47.291722"]]  (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", "2015-10-30 23:12:47.293387"], ["updated_at", "2015-10-30 23:12:47.293387"]]  (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", "Zy2LgX2P14RtobzewPrgcA"]] 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.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.3ms) Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 0.7ms)  (1.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$0wrALmSQ60iH/NZ73vCoieF3Ht7YsZ9s.CTQikHtOK0w2qg89N7va"], ["remember_token", "40rgn7R2CNCvw1O5tUUUqw"], ["created_at", "2015-10-30 23:12:47.308111"], ["updated_at", "2015-10-30 23:12:47.308111"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:12:47.311796"], ["updated_at", "2015-10-30 23:12:47.311796"]]  (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", "2015-10-30 23:12:47.315011"], ["updated_at", "2015-10-30 23:12:47.315011"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:12:47.318312"], ["updated_at", "2015-10-30 23:12:47.318312"]] 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", "2015-10-30 23:12:47.319941"], ["updated_at", "2015-10-30 23:12:47.319941"]] 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.0ms) 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$DBmny3qKzYaNzZLQPBRCIOzZDwxzJ3/zNMeGESXNKtxnA46gIb6me"], ["remember_token", "_aybWGkI2U7uqAv_DONCQA"], ["created_at", "2015-10-30 23:12:47.326453"], ["updated_at", "2015-10-30 23:12:47.326453"]]  (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", "2015-10-30 23:12:47.329797"], ["updated_at", "2015-10-30 23:12:47.329797"]]  (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", "40rgn7R2CNCvw1O5tUUUqw"]] 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.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 6ms (Views: 1.2ms | ActiveRecord: 0.6ms)  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:47.344299"], ["updated_at", "2015-10-30 23:12:47.344299"]]  (0.0ms) 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", "2015-10-30 23:12:47.346630"], ["updated_at", "2015-10-30 23:12:47.346630"]]  (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", "2015-10-30 23:12:47.349207"], ["updated_at", "2015-10-30 23:12:47.349207"]]  (0.0ms) 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 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", "2015-10-30 23:12:47.357253"], ["updated_at", "2015-10-30 23:12:47.357253"]]  (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", "2015-10-30 23:12:47.361182"], ["updated_at", "2015-10-30 23:12:47.361182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:12:47.381838"], ["updated_at", "2015-10-30 23:12:47.381838"]]  (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", "2015-10-30 23:12:47.384577"], ["updated_at", "2015-10-30 23:12:47.384577"]]  (0.0ms) 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 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", "2015-10-30 23:12:47.393129"], ["updated_at", "2015-10-30 23:12:47.393129"]]  (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", "2015-10-30 23:12:47.396291"], ["updated_at", "2015-10-30 23:12:47.396291"]]  (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", "2015-10-30 23:12:47.399225"], ["updated_at", "2015-10-30 23:12:47.399225"]]  (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 1 [["name", "admin/articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:12:47.406415"], ["updated_at", "2015-10-30 23:12:47.406415"]]  (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", "2015-10-30 23:12:47.408733"], ["updated_at", "2015-10-30 23:12:47.408733"]]  (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", "2015-10-30 23:12:47.411172"], ["updated_at", "2015-10-30 23:12:47.411172"]]  (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", "2015-10-30 23:12:47.417928"], ["updated_at", "2015-10-30 23:12:47.417928"]]  (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", "2015-10-30 23:12:47.420539"], ["updated_at", "2015-10-30 23:12:47.420539"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) 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.8ms) 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.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", "2015-10-30 23:13:07.906304"], ["updated_at", "2015-10-30 23:13:07.906304"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-30 23:13:07.920438"], ["updated_at", "2015-10-30 23:13:07.920438"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:13:07.947621"], ["updated_at", "2015-10-30 23:13:07.947621"]] SQL (1.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", "2015-10-30 23:13:07.950113"], ["updated_at", "2015-10-30 23:13:07.950113"]] 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" = 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"]]  (0.9ms) 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", "2015-10-30 23:13:07.962646"], ["updated_at", "2015-10-30 23:13:07.962646"]]  (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", "2015-10-30 23:13:07.965815"], ["updated_at", "2015-10-30 23:13:07.965815"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:07.969845"], ["updated_at", "2015-10-30 23:13:07.969845"]] 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", "2015-10-30 23:13:07.971429"], ["updated_at", "2015-10-30 23:13:07.971429"]] 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" = 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"."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.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" = 1003 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:07.982046"], ["updated_at", "2015-10-30 23:13:07.982046"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:07.984666"], ["updated_at", "2015-10-30 23:13:07.984666"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:07.988136"], ["updated_at", "2015-10-30 23:13:07.988136"]] 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", "2015-10-30 23:13:07.989852"], ["updated_at", "2015-10-30 23:13:07.989852"]] 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" = 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"."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"]]  (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", "2015-10-30 23:13:08.002334"], ["updated_at", "2015-10-30 23:13:08.002334"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:08.005574"], ["updated_at", "2015-10-30 23:13:08.005574"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.009259"], ["updated_at", "2015-10-30 23:13:08.009259"]] 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", "2015-10-30 23:13:08.010772"], ["updated_at", "2015-10-30 23:13:08.010772"]] 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.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" = 1005 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (1.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:08.021142"], ["updated_at", "2015-10-30 23:13:08.021142"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:08.023817"], ["updated_at", "2015-10-30 23:13:08.023817"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.028600"], ["updated_at", "2015-10-30 23:13:08.028600"]] 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", "2015-10-30 23:13:08.030050"], ["updated_at", "2015-10-30 23:13:08.030050"]] 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" = 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:08.041446"], ["updated_at", "2015-10-30 23:13:08.041446"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:08.044325"], ["updated_at", "2015-10-30 23:13:08.044325"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.047680"], ["updated_at", "2015-10-30 23:13:08.047680"]] 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", "2015-10-30 23:13:08.049429"], ["updated_at", "2015-10-30 23:13:08.049429"]] 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" = 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"."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.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" = 1007 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) 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", "2015-10-30 23:13:08.062206"], ["updated_at", "2015-10-30 23:13:08.062206"]]  (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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:08.065800"], ["updated_at", "2015-10-30 23:13:08.065800"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.070391"], ["updated_at", "2015-10-30 23:13:08.070391"]] 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", "2015-10-30 23:13:08.071912"], ["updated_at", "2015-10-30 23:13:08.071912"]] 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" = 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.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" = 1008 AND "adeia_elements"."name" = 'admin/articles' [["update_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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:08.084316"], ["updated_at", "2015-10-30 23:13:08.084316"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:08.087055"], ["updated_at", "2015-10-30 23:13:08.087055"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:13:08.090841"], ["updated_at", "2015-10-30 23:13:08.090841"]] 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", "2015-10-30 23:13:08.092283"], ["updated_at", "2015-10-30 23:13:08.092283"]] 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.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"."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.1ms) 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"]]  (1.1ms) 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", "2015-10-30 23:13:08.105498"], ["updated_at", "2015-10-30 23:13:08.105498"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:08.110080"], ["updated_at", "2015-10-30 23:13:08.110080"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.115202"], ["updated_at", "2015-10-30 23:13:08.115202"]] 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", "2015-10-30 23:13:08.117348"], ["updated_at", "2015-10-30 23:13:08.117348"]] 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" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."name" = 'share' Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-30 23:13:08.129482"], ["updated_at", "2015-10-30 23:13:08.129482"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:08.132303"], ["updated_at", "2015-10-30 23:13:08.132303"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.136091"], ["updated_at", "2015-10-30 23:13:08.136091"]] 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", "2015-10-30 23:13:08.137916"], ["updated_at", "2015-10-30 23:13:08.137916"]] 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", "onW-UYtNdNvnUCFX9QcXvw"], ["is_valid", "t"], ["exp_at", "2015-11-30"], ["adeia_permission_id", 1], ["created_at", "2015-10-30 23:13:08.142684"], ["updated_at", "2015-10-30 23:13:08.142684"]]  (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", "onW-UYtNdNvnUCFX9QcXvw"]]  (1.1ms) 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", "2015-10-30 23:13:08.188811"], ["updated_at", "2015-10-30 23:13:08.188811"]]  (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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:08.191827"], ["updated_at", "2015-10-30 23:13:08.191827"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.198618"], ["updated_at", "2015-10-30 23:13:08.198618"]] 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", "2015-10-30 23:13:08.200639"], ["updated_at", "2015-10-30 23:13:08.200639"]] 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" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1012 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:13:08.212896"], ["updated_at", "2015-10-30 23:13:08.212896"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:08.215578"], ["updated_at", "2015-10-30 23:13:08.215578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.219433"], ["updated_at", "2015-10-30 23:13:08.219433"]] 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", "2015-10-30 23:13:08.221415"], ["updated_at", "2015-10-30 23:13:08.221415"]] 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" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1013 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", "2015-10-30 23:13:08.236503"], ["updated_at", "2015-10-30 23:13:08.236503"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:08.239209"], ["updated_at", "2015-10-30 23:13:08.239209"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.243033"], ["updated_at", "2015-10-30 23:13:08.243033"]] 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", "2015-10-30 23:13:08.244469"], ["updated_at", "2015-10-30 23:13:08.244469"]] 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.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" = 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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:08.257371"], ["updated_at", "2015-10-30 23:13:08.257371"]]  (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", "2015-10-30 23:13:08.261447"], ["updated_at", "2015-10-30 23:13:08.261447"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.266316"], ["updated_at", "2015-10-30 23:13:08.266316"]] 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", "2015-10-30 23:13:08.268456"], ["updated_at", "2015-10-30 23:13:08.268456"]] 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" = 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.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" = 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:08.280646"], ["updated_at", "2015-10-30 23:13:08.280646"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:08.283466"], ["updated_at", "2015-10-30 23:13:08.283466"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.287192"], ["updated_at", "2015-10-30 23:13:08.287192"]] 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", "2015-10-30 23:13:08.288585"], ["updated_at", "2015-10-30 23:13:08.288585"]] 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" = 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"."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.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" = 1020 AND "adeia_elements"."name" = 'admin/articles' [["update_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", "2015-10-30 23:13:08.300376"], ["updated_at", "2015-10-30 23:13:08.300376"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:08.303133"], ["updated_at", "2015-10-30 23:13:08.303133"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.308227"], ["updated_at", "2015-10-30 23:13:08.308227"]] 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", "2015-10-30 23:13:08.309645"], ["updated_at", "2015-10-30 23:13:08.309645"]] 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.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.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" = 1022 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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.8ms) 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", "2015-10-30 23:13:08.329867"], ["updated_at", "2015-10-30 23:13:08.329867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", "2015-10-30 23:13:08.334068"], ["updated_at", "2015-10-30 23:13:08.334068"]]  (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", "2015-10-30 23:13:08.337697"], ["updated_at", "2015-10-30 23:13:08.337697"]]  (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", "2015-10-30 23:13:08.340284"], ["updated_at", "2015-10-30 23:13:08.340284"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.344004"], ["updated_at", "2015-10-30 23:13:08.344004"]] 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", "2015-10-30 23:13:08.345366"], ["updated_at", "2015-10-30 23:13:08.345366"]] 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" = 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"."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.2ms) 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$MPdoRyoBHrX8UT9vrl9D6ODAVK.XN.h8UJSfPx7MfxIuutMnIzKKK"], ["remember_token", "FUXkaY00urlHYX2CIMTg2A"], ["created_at", "2015-10-30 23:13:08.364593"], ["updated_at", "2015-10-30 23:13:08.364593"]]  (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", "2015-10-30 23:13:08.368927"], ["updated_at", "2015-10-30 23:13:08.368927"]]  (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", "2015-10-30 23:13:08.371869"], ["updated_at", "2015-10-30 23:13:08.371869"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.375275"], ["updated_at", "2015-10-30 23:13:08.375275"]] 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", "2015-10-30 23:13:08.376722"], ["updated_at", "2015-10-30 23:13:08.376722"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "FUXkaY00urlHYX2CIMTg2A"]] 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.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" = '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 30ms (Views: 23.6ms | ActiveRecord: 0.7ms)  (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$Ny8XYucVcs6ZpJ7IzOaW5uf1mo81YQWN2tf3Gte/eF.KxHlwSivCm"], ["remember_token", "a6Yytim4OveChjW9LhOy1w"], ["created_at", "2015-10-30 23:13:08.419106"], ["updated_at", "2015-10-30 23:13:08.419106"]]  (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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:13:08.422331"], ["updated_at", "2015-10-30 23:13:08.422331"]]  (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", "2015-10-30 23:13:08.426288"], ["updated_at", "2015-10-30 23:13:08.426288"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.429794"], ["updated_at", "2015-10-30 23:13:08.429794"]] 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", "2015-10-30 23:13:08.431039"], ["updated_at", "2015-10-30 23:13:08.431039"]] 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 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "a6Yytim4OveChjW9LhOy1w"]] 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"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.5ms)  (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$SyUEMoTq9USUfQ3CcQdPq.qU555VDrM9LNU8x4ltvoYXjolSWR9q."], ["remember_token", "B9Bv_16RiNLw2Fe4oA9wiw"], ["created_at", "2015-10-30 23:13:08.445785"], ["updated_at", "2015-10-30 23:13:08.445785"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:13:08.449004"], ["updated_at", "2015-10-30 23:13:08.449004"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:08.453575"], ["updated_at", "2015-10-30 23:13:08.453575"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.457023"], ["updated_at", "2015-10-30 23:13:08.457023"]] 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", "2015-10-30 23:13:08.458327"], ["updated_at", "2015-10-30 23:13:08.458327"]] 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.2ms) 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$OGfnA1amw7XVua5H.mDbSO72V9jK4R8v7b.8iAe7I70Pr9v3mrH6S"], ["remember_token", "H0O3rthiltDkI9OzOdQ1vQ"], ["created_at", "2015-10-30 23:13:08.470849"], ["updated_at", "2015-10-30 23:13:08.470849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.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", "2015-10-30 23:13:08.473482"], ["updated_at", "2015-10-30 23:13:08.473482"]]  (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", "2015-10-30 23:13:08.479100"], ["updated_at", "2015-10-30 23:13:08.479100"]]  (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", "2015-10-30 23:13:08.480993"], ["updated_at", "2015-10-30 23:13:08.480993"]]  (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.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", "2015-10-30 23:13:08.483240"], ["updated_at", "2015-10-30 23:13:08.483240"]]  (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.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", "2015-10-30 23:13:08.486917"], ["updated_at", "2015-10-30 23:13:08.486917"]]  (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", "B9Bv_16RiNLw2Fe4oA9wiw"]] 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"."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 7ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (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$0SSd2v9d921RMn4crDewA.FdmFUF0Rcz.uE.Q.V2sNDUKPaF.u3iO"], ["remember_token", "G3gJRe8ok-Rg8s50yITOtA"], ["created_at", "2015-10-30 23:13:08.506629"], ["updated_at", "2015-10-30 23:13:08.506629"]]  (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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:13:08.510460"], ["updated_at", "2015-10-30 23:13:08.510460"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:08.513798"], ["updated_at", "2015-10-30 23:13:08.513798"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.517172"], ["updated_at", "2015-10-30 23:13:08.517172"]] 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", "2015-10-30 23:13:08.518442"], ["updated_at", "2015-10-30 23:13:08.518442"]] 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.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", "2015-10-30 23:13:08.523548"], ["updated_at", "2015-10-30 23:13:08.523548"]]  (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", "2015-10-30 23:13:08.525475"], ["updated_at", "2015-10-30 23:13:08.525475"]]  (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", "2015-10-30 23:13:08.527157"], ["updated_at", "2015-10-30 23:13:08.527157"]]  (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", "2015-10-30 23:13:08.530260"], ["updated_at", "2015-10-30 23:13:08.530260"]]  (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", "2015-10-30 23:13:08.533454"], ["updated_at", "2015-10-30 23:13:08.533454"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$Pf611EuP/21PySFECCggrOoNydtDgq7o0oBOJDFeb9eRU1Bq8KNre"], ["remember_token", "MZE_bXAFvxBuC-qlz2bXSw"], ["created_at", "2015-10-30 23:13:08.539738"], ["updated_at", "2015-10-30 23:13:08.539738"]]  (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", "2015-10-30 23:13:08.543180"], ["updated_at", "2015-10-30 23:13:08.543180"]]  (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", "2015-10-30 23:13:08.546420"], ["updated_at", "2015-10-30 23:13:08.546420"]]  (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", "2015-10-30 23:13:08.548755"], ["updated_at", "2015-10-30 23:13:08.548755"]]  (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", "2015-10-30 23:13:08.550892"], ["updated_at", "2015-10-30 23:13:08.550892"]]  (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", "2015-10-30 23:13:08.552891"], ["updated_at", "2015-10-30 23:13:08.552891"]]  (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", "G3gJRe8ok-Rg8s50yITOtA"]] 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" = 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 10ms (Views: 1.0ms | ActiveRecord: 0.6ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (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$Q/NNeDBN4le2AXW9XAE8QOTecrwMThyMYMmPAizNG03iMErByWlk6"], ["remember_token", "SRqRGX9HfMvGQGViRMMSvw"], ["created_at", "2015-10-30 23:13:08.571094"], ["updated_at", "2015-10-30 23:13:08.571094"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:13:08.574334"], ["updated_at", "2015-10-30 23:13:08.574334"]]  (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", "2015-10-30 23:13:08.579162"], ["updated_at", "2015-10-30 23:13:08.579162"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.582259"], ["updated_at", "2015-10-30 23:13:08.582259"]] 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", "2015-10-30 23:13:08.583538"], ["updated_at", "2015-10-30 23:13:08.583538"]] 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", "2015-10-30 23:13:08.587098"], ["updated_at", "2015-10-30 23:13:08.587098"]]  (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", "2015-10-30 23:13:08.588901"], ["updated_at", "2015-10-30 23:13:08.588901"]]  (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", "2015-10-30 23:13:08.590710"], ["updated_at", "2015-10-30 23:13:08.590710"]]  (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", "2015-10-30 23:13:08.592311"], ["updated_at", "2015-10-30 23:13:08.592311"]]  (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", "2015-10-30 23:13:08.593856"], ["updated_at", "2015-10-30 23:13:08.593856"]]  (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$5v.J2HfyGsMxTP8dvIX/X.FB1oJ9o9vG1p0vs6hM3jztKHw40DJx6"], ["remember_token", "cDM7ut1Imcq3OmCZ3xWdRQ"], ["created_at", "2015-10-30 23:13:08.599739"], ["updated_at", "2015-10-30 23:13:08.599739"]]  (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", "2015-10-30 23:13:08.602641"], ["updated_at", "2015-10-30 23:13:08.602641"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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", "2015-10-30 23:13:08.606386"], ["updated_at", "2015-10-30 23:13:08.606386"]]  (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", "2015-10-30 23:13:08.609211"], ["updated_at", "2015-10-30 23:13:08.609211"]]  (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", "2015-10-30 23:13:08.611681"], ["updated_at", "2015-10-30 23:13:08.611681"]]  (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", "2015-10-30 23:13:08.613975"], ["updated_at", "2015-10-30 23:13:08.613975"]]  (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", "2015-10-30 23:13:08.616169"], ["updated_at", "2015-10-30 23:13:08.616169"]]  (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", "articles"]] 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.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.621800"], ["updated_at", "2015-10-30 23:13:08.621800"]] 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", "2015-10-30 23:13:08.623175"], ["updated_at", "2015-10-30 23:13:08.623175"]] 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", "SRqRGX9HfMvGQGViRMMSvw"]] 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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms) 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.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$GSUURY.vg4P6cUwOA6qXgOHtUexVxXqR0ri9zd9/3.Rok80KaU9pm"], ["remember_token", "L8Fkedn1KStCY1Bx2FsWyg"], ["created_at", "2015-10-30 23:13:08.638779"], ["updated_at", "2015-10-30 23:13:08.638779"]]  (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.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$jrmfuIgBRNHp8fdyJW9.4OByWoDbmQPyxfaF7yYb79Qkr4BTGoAWi"], ["remember_token", "_jyTF-zuCryQ6oq9aWJ8Yg"], ["created_at", "2015-10-30 23:13:08.644583"], ["updated_at", "2015-10-30 23:13:08.644583"]]  (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", "2015-10-30 23:13:08.648496"], ["updated_at", "2015-10-30 23:13:08.648496"]]  (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", "2015-10-30 23:13:08.651929"], ["updated_at", "2015-10-30 23:13:08.651929"]]  (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", "2015-10-30 23:13:08.654452"], ["updated_at", "2015-10-30 23:13:08.654452"]]  (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", "2015-10-30 23:13:08.656761"], ["updated_at", "2015-10-30 23:13:08.656761"]]  (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", "2015-10-30 23:13:08.659801"], ["updated_at", "2015-10-30 23:13:08.659801"]]  (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", "2015-10-30 23:13:08.662222"], ["updated_at", "2015-10-30 23:13:08.662222"]]  (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", "2015-10-30 23:13:08.664494"], ["updated_at", "2015-10-30 23:13:08.664494"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:13:08.667408"], ["updated_at", "2015-10-30 23:13:08.667408"]]  (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", "2015-10-30 23:13:08.670168"], ["updated_at", "2015-10-30 23:13:08.670168"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.674279"], ["updated_at", "2015-10-30 23:13:08.674279"]] 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", "2015-10-30 23:13:08.675851"], ["updated_at", "2015-10-30 23:13:08.675851"]] 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.0ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.682902"], ["updated_at", "2015-10-30 23:13:08.682902"]] 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", "2015-10-30 23:13:08.684377"], ["updated_at", "2015-10-30 23:13:08.684377"]] 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", "L8Fkedn1KStCY1Bx2FsWyg"]] 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 7ms (Views: 1.1ms | ActiveRecord: 0.6ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$OxgMdUQfkcHnC6HY/437Nes662ZjNyL4StNu0yh2tC/8dUzcLISrq"], ["remember_token", "eMJyItFsSF-Kd8aFXWhHDA"], ["created_at", "2015-10-30 23:13:08.709949"], ["updated_at", "2015-10-30 23:13:08.709949"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:13:08.713745"], ["updated_at", "2015-10-30 23:13:08.713745"]]  (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", "2015-10-30 23:13:08.717456"], ["updated_at", "2015-10-30 23:13:08.717456"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.720381"], ["updated_at", "2015-10-30 23:13:08.720381"]] 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", "2015-10-30 23:13:08.721650"], ["updated_at", "2015-10-30 23:13:08.721650"]] 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 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$Swl3NUaMUtwY..1J8lPUJO8H6nEXdkOgrCkQ0LoJZ6BG/XQgAwy8i"], ["remember_token", "4-u5vldOdq0XOjfGSyHO3A"], ["created_at", "2015-10-30 23:13:08.729520"], ["updated_at", "2015-10-30 23:13:08.729520"]]  (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", "2015-10-30 23:13:08.731272"], ["updated_at", "2015-10-30 23:13:08.731272"]]  (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", "eMJyItFsSF-Kd8aFXWhHDA"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 7ms (Views: 3.4ms | ActiveRecord: 0.5ms)  (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$mv5SHFjVCn5umblMhvfcQOKZR3ESOWD2/OMoBbHnfdKtRvI/AnqVm"], ["remember_token", "UXB-R-h_Z04YNS3O8_DSeQ"], ["created_at", "2015-10-30 23:13:08.746803"], ["updated_at", "2015-10-30 23:13:08.746803"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:13:08.749879"], ["updated_at", "2015-10-30 23:13:08.749879"]]  (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", "2015-10-30 23:13:08.752463"], ["updated_at", "2015-10-30 23:13:08.752463"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.756349"], ["updated_at", "2015-10-30 23:13:08.756349"]] 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", "2015-10-30 23:13:08.757756"], ["updated_at", "2015-10-30 23:13:08.757756"]] 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.1ms) 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$VUkJmgZYU/s6OQ0XpQNTnui0F/iO6PsD64rLTik7ECnxJav70TrCm"], ["remember_token", "OcgyxEMep6SL_eZTxz_xsQ"], ["created_at", "2015-10-30 23:13:08.763738"], ["updated_at", "2015-10-30 23:13:08.763738"]]  (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", "2015-10-30 23:13:08.765496"], ["updated_at", "2015-10-30 23:13:08.765496"]]  (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 1 [["remember_token", "UXB-R-h_Z04YNS3O8_DSeQ"]] 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"."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"]] Rendered articles/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (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$VeqiB4pcuBOQDMgZ4Xlt2OuNLha1ou9q5hsThHofU00YSDkK2Pmbm"], ["remember_token", "FUBiRyNjwOXzL7CgypDqvw"], ["created_at", "2015-10-30 23:13:08.778608"], ["updated_at", "2015-10-30 23:13:08.778608"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:13:08.782469"], ["updated_at", "2015-10-30 23:13:08.782469"]]  (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", "2015-10-30 23:13:08.786185"], ["updated_at", "2015-10-30 23:13:08.786185"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.789721"], ["updated_at", "2015-10-30 23:13:08.789721"]] 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", "2015-10-30 23:13:08.790982"], ["updated_at", "2015-10-30 23:13:08.790982"]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.2ms) 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", "FUBiRyNjwOXzL7CgypDqvw"]] 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 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.3ms) Completed 200 OK in 7ms (Views: 2.8ms | 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$CulXrLVNTAvXWZtIc0rykeiU0wakvFh0HHfRrqRJxuyL4zTgxsGCq"], ["remember_token", "C9SZ6Pm0pr5RyOU2UREDhQ"], ["created_at", "2015-10-30 23:13:08.807295"], ["updated_at", "2015-10-30 23:13:08.807295"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:13:08.810617"], ["updated_at", "2015-10-30 23:13:08.810617"]]  (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", "2015-10-30 23:13:08.813448"], ["updated_at", "2015-10-30 23:13:08.813448"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.816964"], ["updated_at", "2015-10-30 23:13:08.816964"]] 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", "2015-10-30 23:13:08.818272"], ["updated_at", "2015-10-30 23:13:08.818272"]] 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.1ms) 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$N5buQZu.aC/R7L99fWNR8uvQVK9Udor8kSPru9N/e181gtQFNTb.i"], ["remember_token", "3bou08WXb84aAaXffjTFqQ"], ["created_at", "2015-10-30 23:13:08.828229"], ["updated_at", "2015-10-30 23:13:08.828229"]]  (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", "2015-10-30 23:13:08.830503"], ["updated_at", "2015-10-30 23:13:08.830503"]]  (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", "C9SZ6Pm0pr5RyOU2UREDhQ"]] 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.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.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" = 1 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] Rendered articles/edit.html.erb within layouts/application (0.3ms) Completed 200 OK in 9ms (Views: 3.4ms | ActiveRecord: 0.9ms)  (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$608fwYdobEgK0n1OfYir4u.9UVSyUDjRdOtLE3.MzEywALwPcVB8K"], ["remember_token", "FtPVJLv2iOU17Y5L6IeX8g"], ["created_at", "2015-10-30 23:13:08.847273"], ["updated_at", "2015-10-30 23:13:08.847273"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:13:08.850570"], ["updated_at", "2015-10-30 23:13:08.850570"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:08.853900"], ["updated_at", "2015-10-30 23:13:08.853900"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:08.857025"], ["updated_at", "2015-10-30 23:13:08.857025"]] 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", "2015-10-30 23:13:08.858300"], ["updated_at", "2015-10-30 23:13:08.858300"]] 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.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$sFTthx/P1aEMQg9PNDecxufoovxMJgGOli7HyOdsVvAQoES3kzVq."], ["remember_token", "5aouEJJwcGIxYJ8z17Kusw"], ["created_at", "2015-10-30 23:13:08.863818"], ["updated_at", "2015-10-30 23:13:08.863818"]]  (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", "2015-10-30 23:13:08.865532"], ["updated_at", "2015-10-30 23:13:08.865532"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "FtPVJLv2iOU17Y5L6IeX8g"]] 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.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.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.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 7ms (Views: 1.0ms | ActiveRecord: 1.1ms)  (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", "2015-10-30 23:13:08.881657"], ["updated_at", "2015-10-30 23:13:08.881657"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:13:08.884578"], ["updated_at", "2015-10-30 23:13:08.884578"]]  (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", "2015-10-30 23:13:08.887228"], ["updated_at", "2015-10-30 23:13:08.887228"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:08.894861"], ["updated_at", "2015-10-30 23:13:08.894861"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:08.897303"], ["updated_at", "2015-10-30 23:13:08.897303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.2ms) 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", "2015-10-30 23:13:08.905507"], ["updated_at", "2015-10-30 23:13:08.905507"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:08.908398"], ["updated_at", "2015-10-30 23:13:08.908398"]]  (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 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", "2015-10-30 23:13:08.915884"], ["updated_at", "2015-10-30 23:13:08.915884"]]  (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", "2015-10-30 23:13:08.918592"], ["updated_at", "2015-10-30 23:13:08.918592"]]  (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", "2015-10-30 23:13:08.921188"], ["updated_at", "2015-10-30 23:13:08.921188"]]  (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 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", "2015-10-30 23:13:08.928666"], ["updated_at", "2015-10-30 23:13:08.928666"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:13:08.931172"], ["updated_at", "2015-10-30 23:13:08.931172"]]  (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", "2015-10-30 23:13:08.933846"], ["updated_at", "2015-10-30 23:13:08.933846"]]  (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 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", "2015-10-30 23:13:08.941324"], ["updated_at", "2015-10-30 23:13:08.941324"]]  (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.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:13:08.943755"], ["updated_at", "2015-10-30 23:13:08.943755"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["token", "kji-GwnShDSmfh2rM7sz9w"], ["is_valid", "t"], ["exp_at", "2015-11-30"], ["created_at", "2015-10-30 23:13:35.141186"], ["updated_at", "2015-10-30 23:13:35.141186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.7ms) 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.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" = 1001 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"."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.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:35.232299"], ["updated_at", "2015-10-30 23:13:35.232299"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-30 23:13:35.255629"], ["updated_at", "2015-10-30 23:13:35.255629"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:13:35.284443"], ["updated_at", "2015-10-30 23:13:35.284443"]] 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", "2015-10-30 23:13:35.287070"], ["updated_at", "2015-10-30 23:13:35.287070"]] 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" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1002 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", "2015-10-30 23:13:35.300677"], ["updated_at", "2015-10-30 23:13:35.300677"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:35.303523"], ["updated_at", "2015-10-30 23:13:35.303523"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:35.308032"], ["updated_at", "2015-10-30 23:13:35.308032"]] 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", "2015-10-30 23:13:35.310747"], ["updated_at", "2015-10-30 23:13:35.310747"]] 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" = 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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.1ms) 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", "2015-10-30 23:13:35.323954"], ["updated_at", "2015-10-30 23:13:35.323954"]]  (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", "2015-10-30 23:13:35.327309"], ["updated_at", "2015-10-30 23:13:35.327309"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:35.331454"], ["updated_at", "2015-10-30 23:13:35.331454"]] 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", "2015-10-30 23:13:35.333724"], ["updated_at", "2015-10-30 23:13:35.333724"]] 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.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", "2015-10-30 23:13:35.346133"], ["updated_at", "2015-10-30 23:13:35.346133"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:35.348844"], ["updated_at", "2015-10-30 23:13:35.348844"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:35.352943"], ["updated_at", "2015-10-30 23:13:35.352943"]] 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", "2015-10-30 23:13:35.354450"], ["updated_at", "2015-10-30 23:13:35.354450"]] 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.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" = 1005 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (1.2ms) 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", "2015-10-30 23:13:35.367224"], ["updated_at", "2015-10-30 23:13:35.367224"]]  (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", "2015-10-30 23:13:35.371858"], ["updated_at", "2015-10-30 23:13:35.371858"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:35.376317"], ["updated_at", "2015-10-30 23:13:35.376317"]] 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", "2015-10-30 23:13:35.378002"], ["updated_at", "2015-10-30 23:13:35.378002"]] 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.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.1ms) 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"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) 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", "2015-10-30 23:13:35.391008"], ["updated_at", "2015-10-30 23:13:35.391008"]]  (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", "2015-10-30 23:13:35.394118"], ["updated_at", "2015-10-30 23:13:35.394118"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:35.398126"], ["updated_at", "2015-10-30 23:13:35.398126"]] 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", "2015-10-30 23:13:35.399714"], ["updated_at", "2015-10-30 23:13:35.399714"]] 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" = 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"."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.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" = 1007 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:13:35.409652"], ["updated_at", "2015-10-30 23:13:35.409652"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:35.412249"], ["updated_at", "2015-10-30 23:13:35.412249"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:35.416168"], ["updated_at", "2015-10-30 23:13:35.416168"]] 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", "2015-10-30 23:13:35.417962"], ["updated_at", "2015-10-30 23:13:35.417962"]] 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" = 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"."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.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" = 1008 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", "2015-10-30 23:13:35.429391"], ["updated_at", "2015-10-30 23:13:35.429391"]]  (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", "2015-10-30 23:13:35.433211"], ["updated_at", "2015-10-30 23:13:35.433211"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:13:35.437178"], ["updated_at", "2015-10-30 23:13:35.437178"]] 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", "2015-10-30 23:13:35.438527"], ["updated_at", "2015-10-30 23:13:35.438527"]] 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.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"."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.2ms) 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.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", "2015-10-30 23:13:35.449396"], ["updated_at", "2015-10-30 23:13:35.449396"]]  (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", "2015-10-30 23:13:35.452129"], ["updated_at", "2015-10-30 23:13:35.452129"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:35.455786"], ["updated_at", "2015-10-30 23:13:35.455786"]] 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", "2015-10-30 23:13:35.457248"], ["updated_at", "2015-10-30 23:13:35.457248"]] 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" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."name" = 'share' Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."name" = 'share'  (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", "2015-10-30 23:13:35.468661"], ["updated_at", "2015-10-30 23:13:35.468661"]]  (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", "2015-10-30 23:13:35.472121"], ["updated_at", "2015-10-30 23:13:35.472121"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:35.476535"], ["updated_at", "2015-10-30 23:13:35.476535"]] 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", "2015-10-30 23:13:35.478128"], ["updated_at", "2015-10-30 23:13:35.478128"]] 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", "IkXn4eOClnGI_CPTXZ9qbA"], ["is_valid", "t"], ["exp_at", "2015-11-30"], ["adeia_permission_id", 1], ["created_at", "2015-10-30 23:13:35.483733"], ["updated_at", "2015-10-30 23:13:35.483733"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "IkXn4eOClnGI_CPTXZ9qbA"]]  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:35.535005"], ["updated_at", "2015-10-30 23:13:35.535005"]]  (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.8ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:35.539706"], ["updated_at", "2015-10-30 23:13:35.539706"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:35.548747"], ["updated_at", "2015-10-30 23:13:35.548747"]] 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", "2015-10-30 23:13:35.552868"], ["updated_at", "2015-10-30 23:13:35.552868"]] 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.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", "2015-10-30 23:13:35.570972"], ["updated_at", "2015-10-30 23:13:35.570972"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:35.574624"], ["updated_at", "2015-10-30 23:13:35.574624"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:35.579016"], ["updated_at", "2015-10-30 23:13:35.579016"]] 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", "2015-10-30 23:13:35.580687"], ["updated_at", "2015-10-30 23:13:35.580687"]] 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.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" = 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"."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.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" = 1013 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", "2015-10-30 23:13:35.599409"], ["updated_at", "2015-10-30 23:13:35.599409"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:35.602708"], ["updated_at", "2015-10-30 23:13:35.602708"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:35.606492"], ["updated_at", "2015-10-30 23:13:35.606492"]] 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", "2015-10-30 23:13:35.607951"], ["updated_at", "2015-10-30 23:13:35.607951"]] 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" = 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.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" = 1016 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", "2015-10-30 23:13:35.622420"], ["updated_at", "2015-10-30 23:13:35.622420"]]  (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", "2015-10-30 23:13:35.626695"], ["updated_at", "2015-10-30 23:13:35.626695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:35.631096"], ["updated_at", "2015-10-30 23:13:35.631096"]] 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", "2015-10-30 23:13:35.633308"], ["updated_at", "2015-10-30 23:13:35.633308"]] 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" = 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.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" = 1018 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", "2015-10-30 23:13:35.645888"], ["updated_at", "2015-10-30 23:13:35.645888"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:35.649014"], ["updated_at", "2015-10-30 23:13:35.649014"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:35.653587"], ["updated_at", "2015-10-30 23:13:35.653587"]] 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", "2015-10-30 23:13:35.656252"], ["updated_at", "2015-10-30 23:13:35.656252"]] 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.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.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" = 1020 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" = 1020 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:35.669337"], ["updated_at", "2015-10-30 23:13:35.669337"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:35.672092"], ["updated_at", "2015-10-30 23:13:35.672092"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:35.675907"], ["updated_at", "2015-10-30 23:13:35.675907"]] 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", "2015-10-30 23:13:35.677420"], ["updated_at", "2015-10-30 23:13:35.677420"]] 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.3ms) 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" = 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.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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.7ms) 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", "2015-10-30 23:13:35.698918"], ["updated_at", "2015-10-30 23:13:35.698918"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_group_users" ("adeia_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_group_id", 1], ["user_id", 1023], ["created_at", "2015-10-30 23:13:35.703008"], ["updated_at", "2015-10-30 23:13:35.703008"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:35.707073"], ["updated_at", "2015-10-30 23:13:35.707073"]]  (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", "2015-10-30 23:13:35.709574"], ["updated_at", "2015-10-30 23:13:35.709574"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:35.713708"], ["updated_at", "2015-10-30 23:13:35.713708"]] 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", "2015-10-30 23:13:35.715945"], ["updated_at", "2015-10-30 23:13:35.715945"]] 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" = 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"."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"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$Krxd9ft4uYMsio/NKPhNPeZEg/ePhPiLSKNTqX1H7esbA06Zhg5Ei"], ["remember_token", "_wB0-uYSpgdOecHG6nrXkg"], ["created_at", "2015-10-30 23:13:35.735369"], ["updated_at", "2015-10-30 23:13:35.735369"]]  (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", "2015-10-30 23:13:35.739780"], ["updated_at", "2015-10-30 23:13:35.739780"]]  (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", "2015-10-30 23:13:35.742683"], ["updated_at", "2015-10-30 23:13:35.742683"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:35.746210"], ["updated_at", "2015-10-30 23:13:35.746210"]] 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", "2015-10-30 23:13:35.749699"], ["updated_at", "2015-10-30 23:13:35.749699"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "_wB0-uYSpgdOecHG6nrXkg"]] 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.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" = '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 21ms (Views: 14.0ms | 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$WKHmcavlf/eALq0mvRKBBu5Dbgn.uUaizNzkDWvv7VMvBsNCn2UpG"], ["remember_token", "lfmDYX3zaWJOtOHmtLSL8g"], ["created_at", "2015-10-30 23:13:35.791756"], ["updated_at", "2015-10-30 23:13:35.791756"]]  (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", "2015-10-30 23:13:35.796150"], ["updated_at", "2015-10-30 23:13:35.796150"]]  (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", "2015-10-30 23:13:35.799098"], ["updated_at", "2015-10-30 23:13:35.799098"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:35.804302"], ["updated_at", "2015-10-30 23:13:35.804302"]] 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", "2015-10-30 23:13:35.806160"], ["updated_at", "2015-10-30 23:13:35.806160"]] 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", "lfmDYX3zaWJOtOHmtLSL8g"]] 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" = 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 7ms (Views: 1.4ms | ActiveRecord: 0.7ms)  (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$Upet5OY87ZwGh7nIKJDYWOXuDuXhPgmtz9MThKv1TXGR5cAcxdmCS"], ["remember_token", "Cd98m8n9IVL-yCBVoqGZGw"], ["created_at", "2015-10-30 23:13:35.822943"], ["updated_at", "2015-10-30 23:13:35.822943"]]  (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", "2015-10-30 23:13:35.826676"], ["updated_at", "2015-10-30 23:13:35.826676"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:35.830134"], ["updated_at", "2015-10-30 23:13:35.830134"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:35.834185"], ["updated_at", "2015-10-30 23:13:35.834185"]] 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", "2015-10-30 23:13:35.835534"], ["updated_at", "2015-10-30 23:13:35.835534"]] 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.5ms) 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$uWx4T7z48UmojQGtmeB...2jTR4HU9oZk.EWfb21W8r05qm5iosrK"], ["remember_token", "6VYqOjYm3hoYANlZI_OORg"], ["created_at", "2015-10-30 23:13:35.849350"], ["updated_at", "2015-10-30 23:13:35.849350"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", "2015-10-30 23:13:35.852235"], ["updated_at", "2015-10-30 23:13:35.852235"]]  (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", "2015-10-30 23:13:35.855976"], ["updated_at", "2015-10-30 23:13:35.855976"]]  (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.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", "2015-10-30 23:13:35.858543"], ["updated_at", "2015-10-30 23:13:35.858543"]]  (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", "2015-10-30 23:13:35.860902"], ["updated_at", "2015-10-30 23:13:35.860902"]]  (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", "2015-10-30 23:13:35.862968"], ["updated_at", "2015-10-30 23:13:35.862968"]]  (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", "Cd98m8n9IVL-yCBVoqGZGw"]] 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.2ms) Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.6ms)  (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$bXltykeVotysoOS4XpLpG.1zIG3stdmrr5EvMK5ur2DV5fT6X3qya"], ["remember_token", "4ISWgdrNIWOu2DieVVjKbA"], ["created_at", "2015-10-30 23:13:35.879385"], ["updated_at", "2015-10-30 23:13:35.879385"]]  (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", "2015-10-30 23:13:35.883814"], ["updated_at", "2015-10-30 23:13:35.883814"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:35.886968"], ["updated_at", "2015-10-30 23:13:35.886968"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:35.890616"], ["updated_at", "2015-10-30 23:13:35.890616"]] 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", "2015-10-30 23:13:35.892097"], ["updated_at", "2015-10-30 23:13:35.892097"]] 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.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", "2015-10-30 23:13:35.897352"], ["updated_at", "2015-10-30 23:13:35.897352"]]  (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", "2015-10-30 23:13:35.901298"], ["updated_at", "2015-10-30 23:13:35.901298"]]  (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", "2015-10-30 23:13:35.904393"], ["updated_at", "2015-10-30 23:13:35.904393"]]  (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", "2015-10-30 23:13:35.906718"], ["updated_at", "2015-10-30 23:13:35.906718"]]  (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", "2015-10-30 23:13:35.908776"], ["updated_at", "2015-10-30 23:13:35.908776"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$erxu3JOjnnKH3P5p/kDpQuMu8yoSTABRtUSQ3Bf6pzFIMms/LWdQa"], ["remember_token", "mp6kbyo4sObSicdKHHz5lA"], ["created_at", "2015-10-30 23:13:35.913502"], ["updated_at", "2015-10-30 23:13:35.913502"]]  (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", "2015-10-30 23:13:35.916279"], ["updated_at", "2015-10-30 23:13:35.916279"]]  (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", "2015-10-30 23:13:35.920115"], ["updated_at", "2015-10-30 23:13:35.920115"]]  (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", "2015-10-30 23:13:35.922606"], ["updated_at", "2015-10-30 23:13:35.922606"]]  (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", "2015-10-30 23:13:35.925602"], ["updated_at", "2015-10-30 23:13:35.925602"]]  (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 "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-30 23:13:35.928178"], ["updated_at", "2015-10-30 23:13:35.928178"]]  (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", "4ISWgdrNIWOu2DieVVjKbA"]] 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 7ms (Views: 1.0ms | ActiveRecord: 0.7ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (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$sXz4zPskwb8Vn3Qxg4KD6eFtb8mGASI63nVtqYVBKvUxlkKZbBMeu"], ["remember_token", "XyXEuNjm_PbTfhtKZLV2_A"], ["created_at", "2015-10-30 23:13:35.946970"], ["updated_at", "2015-10-30 23:13:35.946970"]]  (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", "2015-10-30 23:13:35.951188"], ["updated_at", "2015-10-30 23:13:35.951188"]]  (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", "2015-10-30 23:13:35.954469"], ["updated_at", "2015-10-30 23:13:35.954469"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:35.958202"], ["updated_at", "2015-10-30 23:13:35.958202"]] 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", "2015-10-30 23:13:35.959581"], ["updated_at", "2015-10-30 23:13:35.959581"]] 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.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", "2015-10-30 23:13:35.962951"], ["updated_at", "2015-10-30 23:13:35.962951"]]  (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", "2015-10-30 23:13:35.965313"], ["updated_at", "2015-10-30 23:13:35.965313"]]  (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", "2015-10-30 23:13:35.967129"], ["updated_at", "2015-10-30 23:13:35.967129"]]  (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", "2015-10-30 23:13:35.968772"], ["updated_at", "2015-10-30 23:13:35.968772"]]  (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", "2015-10-30 23:13:35.971706"], ["updated_at", "2015-10-30 23:13:35.971706"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$X8z24NXEHRxXWf/TIXzY9.Ixb/QWPRWzQ5Lz/gUHXEm1jyUczRBve"], ["remember_token", "i02DxGbtho5Ehxgbf7LfqQ"], ["created_at", "2015-10-30 23:13:35.976314"], ["updated_at", "2015-10-30 23:13:35.976314"]]  (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", "2015-10-30 23:13:35.979197"], ["updated_at", "2015-10-30 23:13:35.979197"]]  (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", "2015-10-30 23:13:35.982629"], ["updated_at", "2015-10-30 23:13:35.982629"]]  (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", "2015-10-30 23:13:35.984903"], ["updated_at", "2015-10-30 23:13:35.984903"]]  (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", "2015-10-30 23:13:35.987137"], ["updated_at", "2015-10-30 23:13:35.987137"]]  (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", "2015-10-30 23:13:35.989476"], ["updated_at", "2015-10-30 23:13:35.989476"]]  (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", "2015-10-30 23:13:35.991698"], ["updated_at", "2015-10-30 23:13:35.991698"]]  (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.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:35.998843"], ["updated_at", "2015-10-30 23:13:35.998843"]] 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", "2015-10-30 23:13:36.001684"], ["updated_at", "2015-10-30 23:13:36.001684"]] 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", "XyXEuNjm_PbTfhtKZLV2_A"]] 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.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 7ms (Views: 1.0ms | ActiveRecord: 0.7ms) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (1.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$FtnzZcuaaY7BL//mZU.dKOjjk2jAzDpUK85T567SFc2W.JtQheDrO"], ["remember_token", "uUaJehjAeRmSAmh4Y2hj5g"], ["created_at", "2015-10-30 23:13:36.022596"], ["updated_at", "2015-10-30 23:13:36.022596"]]  (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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$Ffj2W3XN1c.xR2u0ugyw/upIpylYhGitnfYZyS4VzmR8yQUs/MGh2"], ["remember_token", "h02PZ2IuwvANmCjQhKu-nA"], ["created_at", "2015-10-30 23:13:36.027193"], ["updated_at", "2015-10-30 23:13:36.027193"]]  (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", 2], ["created_at", "2015-10-30 23:13:36.030540"], ["updated_at", "2015-10-30 23:13:36.030540"]]  (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 "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-30 23:13:36.036048"], ["updated_at", "2015-10-30 23:13:36.036048"]]  (0.2ms) 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", "2015-10-30 23:13:36.040998"], ["updated_at", "2015-10-30 23:13:36.040998"]]  (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", "2015-10-30 23:13:36.043915"], ["updated_at", "2015-10-30 23:13:36.043915"]]  (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", "2015-10-30 23:13:36.046377"], ["updated_at", "2015-10-30 23:13:36.046377"]]  (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", "2015-10-30 23:13:36.048891"], ["updated_at", "2015-10-30 23:13:36.048891"]]  (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", "2015-10-30 23:13:36.051302"], ["updated_at", "2015-10-30 23:13:36.051302"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:13:36.055770"], ["updated_at", "2015-10-30 23:13:36.055770"]]  (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", "2015-10-30 23:13:36.058917"], ["updated_at", "2015-10-30 23:13:36.058917"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:36.063189"], ["updated_at", "2015-10-30 23:13:36.063189"]] 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", "2015-10-30 23:13:36.065575"], ["updated_at", "2015-10-30 23:13:36.065575"]] 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:36.073866"], ["updated_at", "2015-10-30 23:13:36.073866"]] 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", "2015-10-30 23:13:36.076779"], ["updated_at", "2015-10-30 23:13:36.076779"]] 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", "uUaJehjAeRmSAmh4Y2hj5g"]] 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 15ms (Views: 1.9ms | ActiveRecord: 0.6ms) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (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$hCaVLsiSSO3PasOdxZteruzjqs32isb/uqM5L6nOgLKgDhyl2fIXy"], ["remember_token", "ob18IKjnaxCZ-2fZp0c3Nw"], ["created_at", "2015-10-30 23:13:36.106187"], ["updated_at", "2015-10-30 23:13:36.106187"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:13:36.114402"], ["updated_at", "2015-10-30 23:13:36.114402"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:36.119980"], ["updated_at", "2015-10-30 23:13:36.119980"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:36.126379"], ["updated_at", "2015-10-30 23:13:36.126379"]] 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", "2015-10-30 23:13:36.128590"], ["updated_at", "2015-10-30 23:13:36.128590"]] 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.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$0I0mDQf7wn5GFCJMa/.E8ur65O7V7AusSkMJqgiuWvvZLXg/fxhCy"], ["remember_token", "TKQeMbVJIdwM21PSRI29-A"], ["created_at", "2015-10-30 23:13:36.135197"], ["updated_at", "2015-10-30 23:13:36.135197"]]  (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", "2015-10-30 23:13:36.138178"], ["updated_at", "2015-10-30 23:13:36.138178"]]  (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 1 [["remember_token", "ob18IKjnaxCZ-2fZp0c3Nw"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 8ms (Views: 3.4ms | 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$TsaJwieSlJi1iwzb0sHrVOvPYeM4IJ6Eb/9JGSJN3HO9bBoQnEYrK"], ["remember_token", "jMlZ9BTfjTM6SNyxHubFgw"], ["created_at", "2015-10-30 23:13:36.155702"], ["updated_at", "2015-10-30 23:13:36.155702"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:13:36.159178"], ["updated_at", "2015-10-30 23:13:36.159178"]]  (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", "2015-10-30 23:13:36.161794"], ["updated_at", "2015-10-30 23:13:36.161794"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:36.165063"], ["updated_at", "2015-10-30 23:13:36.165063"]] 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", "2015-10-30 23:13:36.166587"], ["updated_at", "2015-10-30 23:13:36.166587"]] 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.1ms) 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$sDBP/bwHoIyJ3.pef3r.duiCkUOjXOEK9BJyTXWk8EvbLCS0ZS3ES"], ["remember_token", "GDaTWwnHGUmfEYqUP4BuuA"], ["created_at", "2015-10-30 23:13:36.173157"], ["updated_at", "2015-10-30 23:13:36.173157"]]  (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", "2015-10-30 23:13:36.174815"], ["updated_at", "2015-10-30 23:13:36.174815"]]  (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 1 [["remember_token", "jMlZ9BTfjTM6SNyxHubFgw"]] 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"."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"]] Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 6ms (Views: 1.7ms | ActiveRecord: 0.5ms)  (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$7sQmaVbkco0P91BV9NSQQuIaNBVkzUJ8nqEatvwK5jxI.MXRXIqEm"], ["remember_token", "d_kprL2YsFuPpKZcgW79ZA"], ["created_at", "2015-10-30 23:13:36.189955"], ["updated_at", "2015-10-30 23:13:36.189955"]]  (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", "2015-10-30 23:13:36.193590"], ["updated_at", "2015-10-30 23:13:36.193590"]]  (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", "2015-10-30 23:13:36.196273"], ["updated_at", "2015-10-30 23:13:36.196273"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:36.200884"], ["updated_at", "2015-10-30 23:13:36.200884"]] 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", "2015-10-30 23:13:36.203280"], ["updated_at", "2015-10-30 23:13:36.203280"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "d_kprL2YsFuPpKZcgW79ZA"]] 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 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.3ms) Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 0.6ms)  (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$Dtq1To9ICCEsVx.HBqYV5eTt0CLKKl40V1FX7sHcyz7W2JMdcnPEi"], ["remember_token", "W0W7dHXu7AEPTggMdTfoaQ"], ["created_at", "2015-10-30 23:13:36.222652"], ["updated_at", "2015-10-30 23:13:36.222652"]]  (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", "2015-10-30 23:13:36.226192"], ["updated_at", "2015-10-30 23:13:36.226192"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:36.229540"], ["updated_at", "2015-10-30 23:13:36.229540"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:36.233727"], ["updated_at", "2015-10-30 23:13:36.233727"]] 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", "2015-10-30 23:13:36.235585"], ["updated_at", "2015-10-30 23:13:36.235585"]] 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.1ms) 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$PuMoBnhFC/DE6p9hyW7ZmuidVGvWea05wtK/w.rix.qNBoJ0GWyKG"], ["remember_token", "7kvkGXFFJk8I1yusdW_iSw"], ["created_at", "2015-10-30 23:13:36.241056"], ["updated_at", "2015-10-30 23:13:36.241056"]]  (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", "2015-10-30 23:13:36.244220"], ["updated_at", "2015-10-30 23:13:36.244220"]]  (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", "W0W7dHXu7AEPTggMdTfoaQ"]] 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.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.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.3ms) Completed 200 OK in 8ms (Views: 3.0ms | ActiveRecord: 0.8ms)  (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$.68Cv0rxWC3h1mobMmkMeOCWR746UeJil4ZUJKB7ol.PfyYGok6nm"], ["remember_token", "K89kBbqng72U0jPzrtntUg"], ["created_at", "2015-10-30 23:13:36.261330"], ["updated_at", "2015-10-30 23:13:36.261330"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:13:36.264564"], ["updated_at", "2015-10-30 23:13:36.264564"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:36.267708"], ["updated_at", "2015-10-30 23:13:36.267708"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:36.273701"], ["updated_at", "2015-10-30 23:13:36.273701"]] 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", "2015-10-30 23:13:36.276748"], ["updated_at", "2015-10-30 23:13:36.276748"]] 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.1ms) 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$qh/zYTrQKpCshzHtyuW2cuBWv67pFDN/3BLPa0ZIyCD3pt7J7Lp06"], ["remember_token", "3C_ujQXnvYWSkgM2xWRs0w"], ["created_at", "2015-10-30 23:13:36.285622"], ["updated_at", "2015-10-30 23:13:36.285622"]]  (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", "2015-10-30 23:13:36.287643"], ["updated_at", "2015-10-30 23:13:36.287643"]]  (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", "K89kBbqng72U0jPzrtntUg"]] 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.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"."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 7ms (Views: 1.1ms | ActiveRecord: 0.7ms)  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:36.302081"], ["updated_at", "2015-10-30 23:13:36.302081"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:13:36.305400"], ["updated_at", "2015-10-30 23:13:36.305400"]]  (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", "2015-10-30 23:13:36.308471"], ["updated_at", "2015-10-30 23:13:36.308471"]]  (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", "2015-10-30 23:13:36.315508"], ["updated_at", "2015-10-30 23:13:36.315508"]]  (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", "2015-10-30 23:13:36.319887"], ["updated_at", "2015-10-30 23:13:36.319887"]]  (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 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", "2015-10-30 23:13:36.364088"], ["updated_at", "2015-10-30 23:13:36.364088"]]  (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", "2015-10-30 23:13:36.367804"], ["updated_at", "2015-10-30 23:13:36.367804"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.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", "2015-10-30 23:13:36.377216"], ["updated_at", "2015-10-30 23:13:36.377216"]]  (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", "2015-10-30 23:13:36.379436"], ["updated_at", "2015-10-30 23:13:36.379436"]]  (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", "2015-10-30 23:13:36.381926"], ["updated_at", "2015-10-30 23:13:36.381926"]]  (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 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", "2015-10-30 23:13:36.393033"], ["updated_at", "2015-10-30 23:13:36.393033"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:13:36.395668"], ["updated_at", "2015-10-30 23:13:36.395668"]]  (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", "2015-10-30 23:13:36.399846"], ["updated_at", "2015-10-30 23:13:36.399846"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:36.406496"], ["updated_at", "2015-10-30 23:13:36.406496"]]  (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", "2015-10-30 23:13:36.408864"], ["updated_at", "2015-10-30 23:13:36.408864"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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.7ms) 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.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:57.508949"], ["updated_at", "2015-10-30 23:13:57.508949"]]  (0.2ms) 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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:57.530883"], ["updated_at", "2015-10-30 23:13:57.530883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:13:57.571088"], ["updated_at", "2015-10-30 23:13:57.571088"]] 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", "2015-10-30 23:13:57.574561"], ["updated_at", "2015-10-30 23:13:57.574561"]] 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.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"]]  (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", "2015-10-30 23:13:57.593772"], ["updated_at", "2015-10-30 23:13:57.593772"]]  (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", "2015-10-30 23:13:57.598803"], ["updated_at", "2015-10-30 23:13:57.598803"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:57.605023"], ["updated_at", "2015-10-30 23:13:57.605023"]] 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", "2015-10-30 23:13:57.607594"], ["updated_at", "2015-10-30 23:13:57.607594"]] 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" = 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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:57.624457"], ["updated_at", "2015-10-30 23:13:57.624457"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:57.627726"], ["updated_at", "2015-10-30 23:13:57.627726"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:57.632998"], ["updated_at", "2015-10-30 23:13:57.632998"]] 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", "2015-10-30 23:13:57.634604"], ["updated_at", "2015-10-30 23:13:57.634604"]] 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:57.646414"], ["updated_at", "2015-10-30 23:13:57.646414"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:57.649042"], ["updated_at", "2015-10-30 23:13:57.649042"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:57.652546"], ["updated_at", "2015-10-30 23:13:57.652546"]] 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", "2015-10-30 23:13:57.654286"], ["updated_at", "2015-10-30 23:13:57.654286"]] 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.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" = 1005 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (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", "2015-10-30 23:13:57.664028"], ["updated_at", "2015-10-30 23:13:57.664028"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:57.667019"], ["updated_at", "2015-10-30 23:13:57.667019"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:57.670352"], ["updated_at", "2015-10-30 23:13:57.670352"]] 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", "2015-10-30 23:13:57.672345"], ["updated_at", "2015-10-30 23:13:57.672345"]] 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.3ms) 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:57.683419"], ["updated_at", "2015-10-30 23:13:57.683419"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:57.686036"], ["updated_at", "2015-10-30 23:13:57.686036"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:57.689908"], ["updated_at", "2015-10-30 23:13:57.689908"]] 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", "2015-10-30 23:13:57.691373"], ["updated_at", "2015-10-30 23:13:57.691373"]] 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" = 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"."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.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" = 1007 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:57.703089"], ["updated_at", "2015-10-30 23:13:57.703089"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:57.705987"], ["updated_at", "2015-10-30 23:13:57.705987"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:57.709318"], ["updated_at", "2015-10-30 23:13:57.709318"]] 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", "2015-10-30 23:13:57.711844"], ["updated_at", "2015-10-30 23:13:57.711844"]] 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" = 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"."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.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" = 1008 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:57.723298"], ["updated_at", "2015-10-30 23:13:57.723298"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:57.726108"], ["updated_at", "2015-10-30 23:13:57.726108"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:13:57.730339"], ["updated_at", "2015-10-30 23:13:57.730339"]] 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", "2015-10-30 23:13:57.732158"], ["updated_at", "2015-10-30 23:13:57.732158"]] 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.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"."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.1ms) 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.9ms) 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", "2015-10-30 23:13:57.743146"], ["updated_at", "2015-10-30 23:13:57.743146"]]  (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", "2015-10-30 23:13:57.746443"], ["updated_at", "2015-10-30 23:13:57.746443"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:57.750698"], ["updated_at", "2015-10-30 23:13:57.750698"]] 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", "2015-10-30 23:13:57.752087"], ["updated_at", "2015-10-30 23:13:57.752087"]] 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" = 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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-30 23:13:57.764707"], ["updated_at", "2015-10-30 23:13:57.764707"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:57.767459"], ["updated_at", "2015-10-30 23:13:57.767459"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:57.771453"], ["updated_at", "2015-10-30 23:13:57.771453"]] 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", "2015-10-30 23:13:57.772826"], ["updated_at", "2015-10-30 23:13:57.772826"]] 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  (1.0ms) rollback transaction  (0.2ms) begin transaction Adeia::Element Load (0.4ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:57.783300"], ["updated_at", "2015-10-30 23:13:57.783300"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:57.786632"], ["updated_at", "2015-10-30 23:13:57.786632"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:57.790797"], ["updated_at", "2015-10-30 23:13:57.790797"]] 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", "2015-10-30 23:13:57.792336"], ["updated_at", "2015-10-30 23:13:57.792336"]] 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.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" = 1012 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:13:57.809717"], ["updated_at", "2015-10-30 23:13:57.809717"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:57.812523"], ["updated_at", "2015-10-30 23:13:57.812523"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:57.817289"], ["updated_at", "2015-10-30 23:13:57.817289"]] 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", "2015-10-30 23:13:57.818885"], ["updated_at", "2015-10-30 23:13:57.818885"]] 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" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:13:57.836454"], ["updated_at", "2015-10-30 23:13:57.836454"]]  (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", "2015-10-30 23:13:57.839664"], ["updated_at", "2015-10-30 23:13:57.839664"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:57.844689"], ["updated_at", "2015-10-30 23:13:57.844689"]] 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", "2015-10-30 23:13:57.846984"], ["updated_at", "2015-10-30 23:13:57.846984"]] 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" = 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.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" = 1016 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:57.860035"], ["updated_at", "2015-10-30 23:13:57.860035"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:57.862669"], ["updated_at", "2015-10-30 23:13:57.862669"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:57.866640"], ["updated_at", "2015-10-30 23:13:57.866640"]] 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", "2015-10-30 23:13:57.868331"], ["updated_at", "2015-10-30 23:13:57.868331"]] 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" = 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.2ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:57.882876"], ["updated_at", "2015-10-30 23:13:57.882876"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:57.885779"], ["updated_at", "2015-10-30 23:13:57.885779"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:57.889580"], ["updated_at", "2015-10-30 23:13:57.889580"]] 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", "2015-10-30 23:13:57.891231"], ["updated_at", "2015-10-30 23:13:57.891231"]] 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" = 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"."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.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" = 1020 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:57.904142"], ["updated_at", "2015-10-30 23:13:57.904142"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:57.906665"], ["updated_at", "2015-10-30 23:13:57.906665"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:57.909996"], ["updated_at", "2015-10-30 23:13:57.909996"]] 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", "2015-10-30 23:13:57.912170"], ["updated_at", "2015-10-30 23:13:57.912170"]] 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.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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.8ms) 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", "2015-10-30 23:13:57.935796"], ["updated_at", "2015-10-30 23:13:57.935796"]]  (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", "2015-10-30 23:13:57.939851"], ["updated_at", "2015-10-30 23:13:57.939851"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:57.944030"], ["updated_at", "2015-10-30 23:13:57.944030"]]  (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", "2015-10-30 23:13:57.948210"], ["updated_at", "2015-10-30 23:13:57.948210"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:57.951757"], ["updated_at", "2015-10-30 23:13:57.951757"]] 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", "2015-10-30 23:13:57.953051"], ["updated_at", "2015-10-30 23:13:57.953051"]] 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" = 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"."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.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$FyPN84241gdLmx098GXXPOB0pRrB2yFc4CfYGKz7UZ1FWfNdlhdvu"], ["remember_token", "RTKi1SO1R3D0ATYvZmZywA"], ["created_at", "2015-10-30 23:13:57.975484"], ["updated_at", "2015-10-30 23:13:57.975484"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:13:57.983184"], ["updated_at", "2015-10-30 23:13:57.983184"]]  (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", "2015-10-30 23:13:57.986457"], ["updated_at", "2015-10-30 23:13:57.986457"]]  (0.2ms) 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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:57.989998"], ["updated_at", "2015-10-30 23:13:57.989998"]] 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", "2015-10-30 23:13:57.991318"], ["updated_at", "2015-10-30 23:13:57.991318"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "RTKi1SO1R3D0ATYvZmZywA"]] 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.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" = 'articles' [["read_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"."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 21ms (Views: 14.8ms | ActiveRecord: 0.8ms)  (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$gY./g1T2hn/K3709KZW1L.JG6zSIEWiCieJ660EkZ0QMnG/yxf/.y"], ["remember_token", "SW-nPl4UXSts7KW39CsXPg"], ["created_at", "2015-10-30 23:13:58.025080"], ["updated_at", "2015-10-30 23:13:58.025080"]]  (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", "2015-10-30 23:13:58.028372"], ["updated_at", "2015-10-30 23:13:58.028372"]]  (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", "2015-10-30 23:13:58.031630"], ["updated_at", "2015-10-30 23:13:58.031630"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:58.035017"], ["updated_at", "2015-10-30 23:13:58.035017"]] 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", "2015-10-30 23:13:58.036324"], ["updated_at", "2015-10-30 23:13:58.036324"]] 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", "SW-nPl4UXSts7KW39CsXPg"]] 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: 1.0ms | ActiveRecord: 0.5ms)  (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$5ue8SOKcbxro/Dws0rX7K.C94YpKGKpAVeoIKLvMEZNfWbOHfwxpu"], ["remember_token", "-bQPnMtovEgXr4HB_UcZAQ"], ["created_at", "2015-10-30 23:13:58.051097"], ["updated_at", "2015-10-30 23:13:58.051097"]]  (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", "2015-10-30 23:13:58.054412"], ["updated_at", "2015-10-30 23:13:58.054412"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:58.058528"], ["updated_at", "2015-10-30 23:13:58.058528"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:58.062453"], ["updated_at", "2015-10-30 23:13:58.062453"]] 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", "2015-10-30 23:13:58.064433"], ["updated_at", "2015-10-30 23:13:58.064433"]] 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.2ms) 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$Mmf6a/sHUlxY/ylTpoN12.mxc3OM2nVJ319RK/sWzX082fgJ.5Fl6"], ["remember_token", "9BBQvqUMVryqG31bK-bdYw"], ["created_at", "2015-10-30 23:13:58.076949"], ["updated_at", "2015-10-30 23:13:58.076949"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", "2015-10-30 23:13:58.085950"], ["updated_at", "2015-10-30 23:13:58.085950"]]  (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", "2015-10-30 23:13:58.089975"], ["updated_at", "2015-10-30 23:13:58.089975"]]  (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", "2015-10-30 23:13:58.092089"], ["updated_at", "2015-10-30 23:13:58.092089"]]  (0.0ms) 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", "2015-10-30 23:13:58.094001"], ["updated_at", "2015-10-30 23:13:58.094001"]]  (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", "2015-10-30 23:13:58.095955"], ["updated_at", "2015-10-30 23:13:58.095955"]]  (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", "-bQPnMtovEgXr4HB_UcZAQ"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | 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$xjob635lGsi08ncnaglhNOEeEnZe4ZXIV2KsGk0hiVOgwb3SYWssK"], ["remember_token", "LhNB7Lmwmrt2gfxcWPx-nA"], ["created_at", "2015-10-30 23:13:58.111789"], ["updated_at", "2015-10-30 23:13:58.111789"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:13:58.115111"], ["updated_at", "2015-10-30 23:13:58.115111"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:58.118237"], ["updated_at", "2015-10-30 23:13:58.118237"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:58.121701"], ["updated_at", "2015-10-30 23:13:58.121701"]] 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", "2015-10-30 23:13:58.123370"], ["updated_at", "2015-10-30 23:13:58.123370"]] 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", "2015-10-30 23:13:58.127180"], ["updated_at", "2015-10-30 23:13:58.127180"]]  (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", "2015-10-30 23:13:58.128916"], ["updated_at", "2015-10-30 23:13:58.128916"]]  (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", "2015-10-30 23:13:58.130586"], ["updated_at", "2015-10-30 23:13:58.130586"]]  (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", "2015-10-30 23:13:58.132093"], ["updated_at", "2015-10-30 23:13:58.132093"]]  (0.2ms) 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", "2015-10-30 23:13:58.135311"], ["updated_at", "2015-10-30 23:13:58.135311"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$KTKCDex.KdHg.61/0khhYuErVxQ6ZwfgE8S0Wr37x9RqrblrqMBVu"], ["remember_token", "ovTadrefmHw9mxwR5sGx6g"], ["created_at", "2015-10-30 23:13:58.141884"], ["updated_at", "2015-10-30 23:13:58.141884"]]  (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", "2015-10-30 23:13:58.144313"], ["updated_at", "2015-10-30 23:13:58.144313"]]  (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", "2015-10-30 23:13:58.146823"], ["updated_at", "2015-10-30 23:13:58.146823"]]  (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", "2015-10-30 23:13:58.149186"], ["updated_at", "2015-10-30 23:13:58.149186"]]  (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", "2015-10-30 23:13:58.151238"], ["updated_at", "2015-10-30 23:13:58.151238"]]  (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", "2015-10-30 23:13:58.153247"], ["updated_at", "2015-10-30 23:13:58.153247"]]  (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", "LhNB7Lmwmrt2gfxcWPx-nA"]] 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: 0.9ms | ActiveRecord: 0.5ms) 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.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$tSj0k6z3skhszmFpid.VuOHWDPMFxNkt0QN.2WplJMHiuIOuSUToq"], ["remember_token", "q-GyupH_vXCv7ax0RVV--w"], ["created_at", "2015-10-30 23:13:58.166930"], ["updated_at", "2015-10-30 23:13:58.166930"]]  (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", "2015-10-30 23:13:58.170176"], ["updated_at", "2015-10-30 23:13:58.170176"]]  (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", "2015-10-30 23:13:58.172745"], ["updated_at", "2015-10-30 23:13:58.172745"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:58.176664"], ["updated_at", "2015-10-30 23:13:58.176664"]] 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", "2015-10-30 23:13:58.177946"], ["updated_at", "2015-10-30 23:13:58.177946"]] 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.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", "2015-10-30 23:13:58.184782"], ["updated_at", "2015-10-30 23:13:58.184782"]]  (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", "2015-10-30 23:13:58.188801"], ["updated_at", "2015-10-30 23:13:58.188801"]]  (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", "2015-10-30 23:13:58.192459"], ["updated_at", "2015-10-30 23:13:58.192459"]]  (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", "2015-10-30 23:13:58.195574"], ["updated_at", "2015-10-30 23:13:58.195574"]]  (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", "2015-10-30 23:13:58.198585"], ["updated_at", "2015-10-30 23:13:58.198585"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$SFQ/XOcuP.sKKB53tAh9aODEB0ZwAk2goBQMF76YKxRFtHYkfPRIS"], ["remember_token", "5jeNJlx1llheo9WsPyzjLQ"], ["created_at", "2015-10-30 23:13:58.204445"], ["updated_at", "2015-10-30 23:13:58.204445"]]  (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", 2], ["created_at", "2015-10-30 23:13:58.206487"], ["updated_at", "2015-10-30 23:13:58.206487"]]  (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", "2015-10-30 23:13:58.209075"], ["updated_at", "2015-10-30 23:13:58.209075"]]  (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", "2015-10-30 23:13:58.211067"], ["updated_at", "2015-10-30 23:13:58.211067"]]  (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", "2015-10-30 23:13:58.213068"], ["updated_at", "2015-10-30 23:13:58.213068"]]  (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", "2015-10-30 23:13:58.215657"], ["updated_at", "2015-10-30 23:13:58.215657"]]  (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", "2015-10-30 23:13:58.217989"], ["updated_at", "2015-10-30 23:13:58.217989"]]  (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.0ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:58.223550"], ["updated_at", "2015-10-30 23:13:58.223550"]] 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", "2015-10-30 23:13:58.225111"], ["updated_at", "2015-10-30 23:13:58.225111"]] 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", "q-GyupH_vXCv7ax0RVV--w"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.6ms) Article Load (0.2ms) 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$jSlb3li4HO/nqWJrWnTeOeQkhv67Sus.c7dsER.wUR02obxjJAWru"], ["remember_token", "3nS2zRo2_OU8aKCnUflSMQ"], ["created_at", "2015-10-30 23:13:58.241915"], ["updated_at", "2015-10-30 23:13:58.241915"]]  (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.8ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$grfkwkFfLH6DFzHZhHpZHeov849G3/qfiesm80ljRCTMaiK6v..HG"], ["remember_token", "0cI22Lk_MdKECoMjV45e4w"], ["created_at", "2015-10-30 23:13:58.246650"], ["updated_at", "2015-10-30 23:13:58.246650"]]  (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", "2015-10-30 23:13:58.249511"], ["updated_at", "2015-10-30 23:13:58.249511"]]  (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", "2015-10-30 23:13:58.251772"], ["updated_at", "2015-10-30 23:13:58.251772"]]  (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", "2015-10-30 23:13:58.253644"], ["updated_at", "2015-10-30 23:13:58.253644"]]  (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", "2015-10-30 23:13:58.255732"], ["updated_at", "2015-10-30 23:13:58.255732"]]  (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", "2015-10-30 23:13:58.258043"], ["updated_at", "2015-10-30 23:13:58.258043"]]  (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", "2015-10-30 23:13:58.260397"], ["updated_at", "2015-10-30 23:13:58.260397"]]  (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", "2015-10-30 23:13:58.262258"], ["updated_at", "2015-10-30 23:13:58.262258"]]  (0.0ms) 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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:13:58.265745"], ["updated_at", "2015-10-30 23:13:58.265745"]]  (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", "2015-10-30 23:13:58.268424"], ["updated_at", "2015-10-30 23:13:58.268424"]]  (0.0ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:58.271639"], ["updated_at", "2015-10-30 23:13:58.271639"]] 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", "2015-10-30 23:13:58.273757"], ["updated_at", "2015-10-30 23:13:58.273757"]] 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.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:58.285085"], ["updated_at", "2015-10-30 23:13:58.285085"]] 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", "2015-10-30 23:13:58.286884"], ["updated_at", "2015-10-30 23:13:58.286884"]] 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", "3nS2zRo2_OU8aKCnUflSMQ"]] 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: 1.0ms | ActiveRecord: 0.5ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$E35kZk3be5h711oOQpiJ1u09Ii59r1D4baTHCNHZ/lAXWsBuNgLna"], ["remember_token", "B_QoggRxn5cDBmfO590FZw"], ["created_at", "2015-10-30 23:13:58.303171"], ["updated_at", "2015-10-30 23:13:58.303171"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:13:58.306274"], ["updated_at", "2015-10-30 23:13:58.306274"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:58.309403"], ["updated_at", "2015-10-30 23:13:58.309403"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:58.313773"], ["updated_at", "2015-10-30 23:13:58.313773"]] 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", "2015-10-30 23:13:58.316255"], ["updated_at", "2015-10-30 23:13:58.316255"]] 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.1ms) 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$ENnQaDgn.BOG1mTSMOjV3OSwTejvq60nA/cf2cpbSZb1qtmebGOGK"], ["remember_token", "pGlUXmjJhpUNy8d7QePRrA"], ["created_at", "2015-10-30 23:13:58.324381"], ["updated_at", "2015-10-30 23:13:58.324381"]]  (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", "2015-10-30 23:13:58.326333"], ["updated_at", "2015-10-30 23:13:58.326333"]]  (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 1 [["remember_token", "B_QoggRxn5cDBmfO590FZw"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 8ms (Views: 3.4ms | ActiveRecord: 0.6ms)  (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$A1AEW00OWqfwSRJ2Tm580u6aSMxmNZ74UORZ92PHUAMac6QdrH6tq"], ["remember_token", "O9F8miYrz-99_V55PfkLJA"], ["created_at", "2015-10-30 23:13:58.342550"], ["updated_at", "2015-10-30 23:13:58.342550"]]  (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", "2015-10-30 23:13:58.345909"], ["updated_at", "2015-10-30 23:13:58.345909"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:58.349612"], ["updated_at", "2015-10-30 23:13:58.349612"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:58.353161"], ["updated_at", "2015-10-30 23:13:58.353161"]] 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", "2015-10-30 23:13:58.354492"], ["updated_at", "2015-10-30 23:13:58.354492"]] 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.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$MrHLBdiRJWp0LBlW6X9FMuRrKm6ZVJ0s5ndegY2RWJKPlvuoxvtFK"], ["remember_token", "VZH0iBq6_AGlAKceC-tJ2g"], ["created_at", "2015-10-30 23:13:58.362154"], ["updated_at", "2015-10-30 23:13:58.362154"]]  (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", "2015-10-30 23:13:58.364841"], ["updated_at", "2015-10-30 23:13:58.364841"]]  (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 1 [["remember_token", "O9F8miYrz-99_V55PfkLJA"]] 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.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"]] Rendered articles/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 0.9ms | 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$5LmFVf9fIR9cO5n.UXFNOeuJMbHgcfRaJWs6sjUwWLp7L8e7LD31a"], ["remember_token", "r2bv2aWIBxVVgkWWPChXIA"], ["created_at", "2015-10-30 23:13:58.385897"], ["updated_at", "2015-10-30 23:13:58.385897"]]  (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", "2015-10-30 23:13:58.389138"], ["updated_at", "2015-10-30 23:13:58.389138"]]  (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", "2015-10-30 23:13:58.392664"], ["updated_at", "2015-10-30 23:13:58.392664"]]  (0.0ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:58.397147"], ["updated_at", "2015-10-30 23:13:58.397147"]] 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", "2015-10-30 23:13:58.400342"], ["updated_at", "2015-10-30 23:13:58.400342"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "r2bv2aWIBxVVgkWWPChXIA"]] 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 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.3ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.4ms)  (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$TB9drvFgg0m.PHRoJ43MnOp3S/egmU.2pZnv6EaZr/p5bVVQDgruC"], ["remember_token", "b00AKChKXIs6rx806oRsEw"], ["created_at", "2015-10-30 23:13:58.416905"], ["updated_at", "2015-10-30 23:13:58.416905"]]  (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", "2015-10-30 23:13:58.420922"], ["updated_at", "2015-10-30 23:13:58.420922"]]  (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", "2015-10-30 23:13:58.424311"], ["updated_at", "2015-10-30 23:13:58.424311"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:58.427701"], ["updated_at", "2015-10-30 23:13:58.427701"]] 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", "2015-10-30 23:13:58.428963"], ["updated_at", "2015-10-30 23:13:58.428963"]] 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.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$Kqe5Wl7gbpbnYrpZ81cA2.Jd6Up.ZgmZVCN5SvniGoq9sW7/W0DOy"], ["remember_token", "7xVnK3UYjhuBUIwbPNt1Bg"], ["created_at", "2015-10-30 23:13:58.436329"], ["updated_at", "2015-10-30 23:13:58.436329"]]  (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", "2015-10-30 23:13:58.437931"], ["updated_at", "2015-10-30 23:13:58.437931"]]  (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", "b00AKChKXIs6rx806oRsEw"]] 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"."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.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" = 1 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] Rendered articles/edit.html.erb within layouts/application (0.3ms) Completed 200 OK in 8ms (Views: 3.1ms | ActiveRecord: 0.9ms)  (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$15gibtojUVjlYlaMm6fpgumodkBlDOW1jDKQxs.g5KiFxpfxyFYJS"], ["remember_token", "8o9tdsRf-5_JgvMMmZOHLA"], ["created_at", "2015-10-30 23:13:58.455300"], ["updated_at", "2015-10-30 23:13:58.455300"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:13:58.458581"], ["updated_at", "2015-10-30 23:13:58.458581"]]  (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", "2015-10-30 23:13:58.461069"], ["updated_at", "2015-10-30 23:13:58.461069"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:13:58.464918"], ["updated_at", "2015-10-30 23:13:58.464918"]] 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", "2015-10-30 23:13:58.466954"], ["updated_at", "2015-10-30 23:13:58.466954"]] 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.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$bWornGIZq2EW31.Csum.Lu0GnJjyvfFlJklarvVyJuO1xXAVAqR6W"], ["remember_token", "qysxQcLBAyvl1-L9lLdEmQ"], ["created_at", "2015-10-30 23:13:58.473116"], ["updated_at", "2015-10-30 23:13:58.473116"]]  (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", 2], ["created_at", "2015-10-30 23:13:58.474824"], ["updated_at", "2015-10-30 23:13:58.474824"]]  (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", "8o9tdsRf-5_JgvMMmZOHLA"]] Article Load (0.0ms) 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.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 8ms (Views: 1.3ms | ActiveRecord: 0.7ms)  (1.4ms) 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", "2015-10-30 23:13:58.490347"], ["updated_at", "2015-10-30 23:13:58.490347"]]  (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", "2015-10-30 23:13:58.493024"], ["updated_at", "2015-10-30 23:13:58.493024"]]  (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", "2015-10-30 23:13:58.496756"], ["updated_at", "2015-10-30 23:13:58.496756"]]  (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 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", "2015-10-30 23:13:58.504025"], ["updated_at", "2015-10-30 23:13:58.504025"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:58.507008"], ["updated_at", "2015-10-30 23:13:58.507008"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "2015-10-30 23:13:58.528109"], ["updated_at", "2015-10-30 23:13:58.528109"]]  (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", "2015-10-30 23:13:58.530996"], ["updated_at", "2015-10-30 23:13:58.530996"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:13:58.539744"], ["updated_at", "2015-10-30 23:13:58.539744"]]  (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", "2015-10-30 23:13:58.542803"], ["updated_at", "2015-10-30 23:13:58.542803"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:58.545960"], ["updated_at", "2015-10-30 23:13:58.545960"]]  (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 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", "2015-10-30 23:13:58.554026"], ["updated_at", "2015-10-30 23:13:58.554026"]]  (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", "2015-10-30 23:13:58.556493"], ["updated_at", "2015-10-30 23:13:58.556493"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:13:58.559278"], ["updated_at", "2015-10-30 23:13:58.559278"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (1.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", "2015-10-30 23:13:58.567261"], ["updated_at", "2015-10-30 23:13:58.567261"]]  (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", "2015-10-30 23:13:58.569768"], ["updated_at", "2015-10-30 23:13:58.569768"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (5.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.9ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" WHERE "adeia_permissions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) 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.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" = 1001 Adeia::Permission Load (0.7ms) 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.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:12.580587"], ["updated_at", "2015-10-30 23:14:12.580587"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:12.593469"], ["updated_at", "2015-10-30 23:14:12.593469"]]  (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", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:14:12.617430"], ["updated_at", "2015-10-30 23:14:12.617430"]] 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", "2015-10-30 23:14:12.619484"], ["updated_at", "2015-10-30 23:14:12.619484"]] 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" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1002 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (0.9ms) 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", "2015-10-30 23:14:12.632284"], ["updated_at", "2015-10-30 23:14:12.632284"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:12.635562"], ["updated_at", "2015-10-30 23:14:12.635562"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:12.642678"], ["updated_at", "2015-10-30 23:14:12.642678"]] 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", "2015-10-30 23:14:12.645105"], ["updated_at", "2015-10-30 23:14:12.645105"]] 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" = 1003  (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"."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.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:12.663972"], ["updated_at", "2015-10-30 23:14:12.663972"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:12.670987"], ["updated_at", "2015-10-30 23:14:12.670987"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:12.679667"], ["updated_at", "2015-10-30 23:14:12.679667"]] 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", "2015-10-30 23:14:12.682183"], ["updated_at", "2015-10-30 23:14:12.682183"]] 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.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.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" = 1004 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" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (0.9ms) 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", "2015-10-30 23:14:12.700674"], ["updated_at", "2015-10-30 23:14:12.700674"]]  (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", "2015-10-30 23:14:12.705695"], ["updated_at", "2015-10-30 23:14:12.705695"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:12.711940"], ["updated_at", "2015-10-30 23:14:12.711940"]] 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", "2015-10-30 23:14:12.714550"], ["updated_at", "2015-10-30 23:14:12.714550"]] 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" = 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"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1005 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (0.9ms) 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", "2015-10-30 23:14:12.728380"], ["updated_at", "2015-10-30 23:14:12.728380"]]  (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", "2015-10-30 23:14:12.731853"], ["updated_at", "2015-10-30 23:14:12.731853"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:12.735813"], ["updated_at", "2015-10-30 23:14:12.735813"]] 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", "2015-10-30 23:14:12.737252"], ["updated_at", "2015-10-30 23:14:12.737252"]] 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"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:12.750190"], ["updated_at", "2015-10-30 23:14:12.750190"]]  (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", "2015-10-30 23:14:12.755902"], ["updated_at", "2015-10-30 23:14:12.755902"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:12.760880"], ["updated_at", "2015-10-30 23:14:12.760880"]] 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", "2015-10-30 23:14:12.762467"], ["updated_at", "2015-10-30 23:14:12.762467"]] 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" = 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"."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.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" = 1007 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:12.773298"], ["updated_at", "2015-10-30 23:14:12.773298"]]  (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", "2015-10-30 23:14:12.776012"], ["updated_at", "2015-10-30 23:14:12.776012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:12.779517"], ["updated_at", "2015-10-30 23:14:12.779517"]] 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", "2015-10-30 23:14:12.781817"], ["updated_at", "2015-10-30 23:14:12.781817"]] 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" = 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"."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.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" = 1008 AND "adeia_elements"."name" = 'admin/articles' [["update_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", "2015-10-30 23:14:12.792582"], ["updated_at", "2015-10-30 23:14:12.792582"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:12.795869"], ["updated_at", "2015-10-30 23:14:12.795869"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:14:12.799568"], ["updated_at", "2015-10-30 23:14:12.799568"]] 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", "2015-10-30 23:14:12.801045"], ["updated_at", "2015-10-30 23:14:12.801045"]] 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.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"."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.1ms) 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"]]  (1.1ms) 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", "2015-10-30 23:14:12.814345"], ["updated_at", "2015-10-30 23:14:12.814345"]]  (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", "2015-10-30 23:14:12.818871"], ["updated_at", "2015-10-30 23:14:12.818871"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:12.823519"], ["updated_at", "2015-10-30 23:14:12.823519"]] 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", "2015-10-30 23:14:12.825203"], ["updated_at", "2015-10-30 23:14:12.825203"]] 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" = 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" = 'admin/articles' AND "adeia_actions"."name" = 'share' Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-30 23:14:12.837967"], ["updated_at", "2015-10-30 23:14:12.837967"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:12.840738"], ["updated_at", "2015-10-30 23:14:12.840738"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:12.845480"], ["updated_at", "2015-10-30 23:14:12.845480"]] 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", "2015-10-30 23:14:12.847104"], ["updated_at", "2015-10-30 23:14:12.847104"]] 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", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "7x9sEjYhbUkDGo31xVQIsg"], ["is_valid", "t"], ["adeia_permission_id", 1], ["exp_at", "2015-11-30"], ["created_at", "2015-10-30 23:14:12.851264"], ["updated_at", "2015-10-30 23:14:12.851264"]]  (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", "7x9sEjYhbUkDGo31xVQIsg"]]  (1.2ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:12.911355"], ["updated_at", "2015-10-30 23:14:12.911355"]]  (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", "2015-10-30 23:14:12.917611"], ["updated_at", "2015-10-30 23:14:12.917611"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:12.924462"], ["updated_at", "2015-10-30 23:14:12.924462"]] 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", "2015-10-30 23:14:12.927530"], ["updated_at", "2015-10-30 23:14:12.927530"]] 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" = 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"."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.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" = 1012 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", "2015-10-30 23:14:12.946326"], ["updated_at", "2015-10-30 23:14:12.946326"]]  (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", "2015-10-30 23:14:12.950982"], ["updated_at", "2015-10-30 23:14:12.950982"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:12.956068"], ["updated_at", "2015-10-30 23:14:12.956068"]] 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", "2015-10-30 23:14:12.958609"], ["updated_at", "2015-10-30 23:14:12.958609"]] 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.3ms) 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.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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:14:12.984465"], ["updated_at", "2015-10-30 23:14:12.984465"]]  (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", "2015-10-30 23:14:12.989797"], ["updated_at", "2015-10-30 23:14:12.989797"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:12.997085"], ["updated_at", "2015-10-30 23:14:12.997085"]] 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", "2015-10-30 23:14:13.000642"], ["updated_at", "2015-10-30 23:14:13.000642"]] 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.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" = 1016  (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"."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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.4ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:13.026043"], ["updated_at", "2015-10-30 23:14:13.026043"]]  (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", "2015-10-30 23:14:13.032002"], ["updated_at", "2015-10-30 23:14:13.032002"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:13.037697"], ["updated_at", "2015-10-30 23:14:13.037697"]] 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", "2015-10-30 23:14:13.040349"], ["updated_at", "2015-10-30 23:14:13.040349"]] 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" = 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"."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.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" = 1018 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:14:13.055713"], ["updated_at", "2015-10-30 23:14:13.055713"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:13.058641"], ["updated_at", "2015-10-30 23:14:13.058641"]]  (0.2ms) 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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:13.063126"], ["updated_at", "2015-10-30 23:14:13.063126"]] 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", "2015-10-30 23:14:13.064525"], ["updated_at", "2015-10-30 23:14:13.064525"]] 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:13.075213"], ["updated_at", "2015-10-30 23:14:13.075213"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:13.077813"], ["updated_at", "2015-10-30 23:14:13.077813"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:13.081803"], ["updated_at", "2015-10-30 23:14:13.081803"]] 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", "2015-10-30 23:14:13.083311"], ["updated_at", "2015-10-30 23:14:13.083311"]] 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.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" = 1022 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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.7ms) 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", "2015-10-30 23:14:13.102852"], ["updated_at", "2015-10-30 23:14:13.102852"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", "2015-10-30 23:14:13.107601"], ["updated_at", "2015-10-30 23:14:13.107601"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:13.111865"], ["updated_at", "2015-10-30 23:14:13.111865"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:13.114519"], ["updated_at", "2015-10-30 23:14:13.114519"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:13.117972"], ["updated_at", "2015-10-30 23:14:13.117972"]] 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", "2015-10-30 23:14:13.119559"], ["updated_at", "2015-10-30 23:14:13.119559"]] 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" = 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"."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.0ms) 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$cJWj6kSEzJAXdFbT0cKGU.7KzHTadMLH7tDb.L7qmDi48kfCdMBDa"], ["remember_token", "IF-Uo6oIx4AYVB9NfXuHHg"], ["created_at", "2015-10-30 23:14:13.138987"], ["updated_at", "2015-10-30 23:14:13.138987"]]  (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", "2015-10-30 23:14:13.143141"], ["updated_at", "2015-10-30 23:14:13.143141"]]  (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", "2015-10-30 23:14:13.145889"], ["updated_at", "2015-10-30 23:14:13.145889"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:13.148971"], ["updated_at", "2015-10-30 23:14:13.148971"]] 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", "2015-10-30 23:14:13.150537"], ["updated_at", "2015-10-30 23:14:13.150537"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "IF-Uo6oIx4AYVB9NfXuHHg"]] 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.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" = 'articles' [["read_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"."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 28ms (Views: 21.4ms | ActiveRecord: 0.9ms)  (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$i.OPA5j8DJcJQoGXigD5M./yRdofaGWKPvfHcauPE2ypEq8XK1xzG"], ["remember_token", "EyDWdXErwwz7x35GIDqqjQ"], ["created_at", "2015-10-30 23:14:13.190776"], ["updated_at", "2015-10-30 23:14:13.190776"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:14:13.193751"], ["updated_at", "2015-10-30 23:14:13.193751"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:13.196405"], ["updated_at", "2015-10-30 23:14:13.196405"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:13.199838"], ["updated_at", "2015-10-30 23:14:13.199838"]] 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", "2015-10-30 23:14:13.201230"], ["updated_at", "2015-10-30 23:14:13.201230"]] 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", "EyDWdXErwwz7x35GIDqqjQ"]] 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.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 7ms (Views: 1.0ms | ActiveRecord: 0.7ms)  (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$BeZrItmn9YRA/T4ano7oa.AWgeLebCtbQFkqR.mcwQ5MvZFR3w8by"], ["remember_token", "Kyumu4qbjI1XyNAUAgOaaA"], ["created_at", "2015-10-30 23:14:13.217046"], ["updated_at", "2015-10-30 23:14:13.217046"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:14:13.220236"], ["updated_at", "2015-10-30 23:14:13.220236"]]  (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", "2015-10-30 23:14:13.223616"], ["updated_at", "2015-10-30 23:14:13.223616"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:13.228181"], ["updated_at", "2015-10-30 23:14:13.228181"]] 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", "2015-10-30 23:14:13.229774"], ["updated_at", "2015-10-30 23:14:13.229774"]] 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.1ms) 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$iZh6p7nhHbcxFD28Dw1gAOfXbucTh2ehauHUc5tb6NpxpXa.g6t6y"], ["remember_token", "NaiUGQvGrYPgYg3Z3yZW6A"], ["created_at", "2015-10-30 23:14:13.240898"], ["updated_at", "2015-10-30 23:14:13.240898"]]  (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", 2], ["created_at", "2015-10-30 23:14:13.243269"], ["updated_at", "2015-10-30 23:14:13.243269"]]  (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.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", "2015-10-30 23:14:13.247932"], ["updated_at", "2015-10-30 23:14:13.247932"]]  (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", "2015-10-30 23:14:13.251206"], ["updated_at", "2015-10-30 23:14:13.251206"]]  (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", "2015-10-30 23:14:13.253890"], ["updated_at", "2015-10-30 23:14:13.253890"]]  (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", "2015-10-30 23:14:13.256087"], ["updated_at", "2015-10-30 23:14:13.256087"]]  (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", "Kyumu4qbjI1XyNAUAgOaaA"]] 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" = 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 6ms (Views: 1.0ms | ActiveRecord: 0.7ms)  (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$yXuj7eFCBEXaJJy21sme6.8.1SMOHKY.Djyk2VfkDmPGwlwny2O2O"], ["remember_token", "OFIU34etSz3AzVeeJi3cuw"], ["created_at", "2015-10-30 23:14:13.271609"], ["updated_at", "2015-10-30 23:14:13.271609"]]  (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", "2015-10-30 23:14:13.275456"], ["updated_at", "2015-10-30 23:14:13.275456"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.4ms) 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", "2015-10-30 23:14:13.280024"], ["updated_at", "2015-10-30 23:14:13.280024"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:13.284020"], ["updated_at", "2015-10-30 23:14:13.284020"]] 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", "2015-10-30 23:14:13.285399"], ["updated_at", "2015-10-30 23:14:13.285399"]] 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", "2015-10-30 23:14:13.288685"], ["updated_at", "2015-10-30 23:14:13.288685"]]  (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", "2015-10-30 23:14:13.290455"], ["updated_at", "2015-10-30 23:14:13.290455"]]  (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", "2015-10-30 23:14:13.292048"], ["updated_at", "2015-10-30 23:14:13.292048"]]  (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", "2015-10-30 23:14:13.293600"], ["updated_at", "2015-10-30 23:14:13.293600"]]  (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", "2015-10-30 23:14:13.296993"], ["updated_at", "2015-10-30 23:14:13.296993"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$ibyRkcJ5GkSsAFJli9AmR.OSSvkUi2OVD4NTnr5/bpF9HsKZQP5P2"], ["remember_token", "nGHM2SV060QLJFbGFe_Fbg"], ["created_at", "2015-10-30 23:14:13.303286"], ["updated_at", "2015-10-30 23:14:13.303286"]]  (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", "2015-10-30 23:14:13.305367"], ["updated_at", "2015-10-30 23:14:13.305367"]]  (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", "2015-10-30 23:14:13.307442"], ["updated_at", "2015-10-30 23:14:13.307442"]]  (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", "2015-10-30 23:14:13.309604"], ["updated_at", "2015-10-30 23:14:13.309604"]]  (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", "2015-10-30 23:14:13.312010"], ["updated_at", "2015-10-30 23:14:13.312010"]]  (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", "2015-10-30 23:14:13.314266"], ["updated_at", "2015-10-30 23:14:13.314266"]]  (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", "OFIU34etSz3AzVeeJi3cuw"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$6PbWtVes9TAY47PaNB5gfuoi9HswgD3Q8YBqUxTjkiURwz2qlPLP2"], ["remember_token", "95D-EfttVf2j-vcVGkOnhw"], ["created_at", "2015-10-30 23:14:13.327480"], ["updated_at", "2015-10-30 23:14:13.327480"]]  (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", "2015-10-30 23:14:13.330677"], ["updated_at", "2015-10-30 23:14:13.330677"]]  (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", "2015-10-30 23:14:13.333599"], ["updated_at", "2015-10-30 23:14:13.333599"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:13.337279"], ["updated_at", "2015-10-30 23:14:13.337279"]] 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", "2015-10-30 23:14:13.338662"], ["updated_at", "2015-10-30 23:14:13.338662"]] 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 "articles" ("title", "content", "user_id", "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", "2015-10-30 23:14:13.344721"], ["updated_at", "2015-10-30 23:14:13.344721"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", 1], ["created_at", "2015-10-30 23:14:13.348211"], ["updated_at", "2015-10-30 23:14:13.348211"]]  (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", "2015-10-30 23:14:13.351360"], ["updated_at", "2015-10-30 23:14:13.351360"]]  (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", "2015-10-30 23:14:13.354455"], ["updated_at", "2015-10-30 23:14:13.354455"]]  (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", "2015-10-30 23:14:13.357481"], ["updated_at", "2015-10-30 23:14:13.357481"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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$mYR3eBPVeXHQnvZYFKIY..uxSnAGAj0OHbU5uICokDye8EzFUuQRG"], ["remember_token", "u7Ox4uD5RualLXNfkBYTrA"], ["created_at", "2015-10-30 23:14:13.365928"], ["updated_at", "2015-10-30 23:14:13.365928"]]  (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", "2015-10-30 23:14:13.369220"], ["updated_at", "2015-10-30 23:14:13.369220"]]  (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.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", "2015-10-30 23:14:13.373658"], ["updated_at", "2015-10-30 23:14:13.373658"]]  (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 "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-30 23:14:13.377133"], ["updated_at", "2015-10-30 23:14:13.377133"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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", "2015-10-30 23:14:13.381705"], ["updated_at", "2015-10-30 23:14:13.381705"]]  (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", "2015-10-30 23:14:13.384769"], ["updated_at", "2015-10-30 23:14:13.384769"]]  (0.0ms) 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", "2015-10-30 23:14:13.387185"], ["updated_at", "2015-10-30 23:14:13.387185"]]  (0.0ms) 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.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_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:13.392600"], ["updated_at", "2015-10-30 23:14:13.392600"]] 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", "2015-10-30 23:14:13.393928"], ["updated_at", "2015-10-30 23:14:13.393928"]] 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 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "95D-EfttVf2j-vcVGkOnhw"]] 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.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 9ms (Views: 1.3ms | ActiveRecord: 0.9ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$by5CumTye6Xv9q6Ckp5t4OYh9vLnbNiwFmd/4wICLRl4E6K04Xb7C"], ["remember_token", "bK0rLiMIe1q3eDk1wXeEkg"], ["created_at", "2015-10-30 23:14:13.414621"], ["updated_at", "2015-10-30 23:14:13.414621"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$k4NJ3AlETRN7zdgqwKIJH.5goBrVvGtpt723HCY2b1RxcLsDbEsdW"], ["remember_token", "bUZLD4xRP_XJ_8oGIgfcVA"], ["created_at", "2015-10-30 23:14:13.419161"], ["updated_at", "2015-10-30 23:14:13.419161"]]  (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", "2015-10-30 23:14:13.421460"], ["updated_at", "2015-10-30 23:14:13.421460"]]  (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", "2015-10-30 23:14:13.423646"], ["updated_at", "2015-10-30 23:14:13.423646"]]  (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", "2015-10-30 23:14:13.426952"], ["updated_at", "2015-10-30 23:14:13.426952"]]  (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", "2015-10-30 23:14:13.429401"], ["updated_at", "2015-10-30 23:14:13.429401"]]  (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", "2015-10-30 23:14:13.431768"], ["updated_at", "2015-10-30 23:14:13.431768"]]  (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", "2015-10-30 23:14:13.434013"], ["updated_at", "2015-10-30 23:14:13.434013"]]  (0.0ms) 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", "2015-10-30 23:14:13.435993"], ["updated_at", "2015-10-30 23:14:13.435993"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:14:13.438739"], ["updated_at", "2015-10-30 23:14:13.438739"]]  (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", "2015-10-30 23:14:13.441170"], ["updated_at", "2015-10-30 23:14:13.441170"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:13.444738"], ["updated_at", "2015-10-30 23:14:13.444738"]] 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", "2015-10-30 23:14:13.447418"], ["updated_at", "2015-10-30 23:14:13.447418"]] 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.0ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:13.455657"], ["updated_at", "2015-10-30 23:14:13.455657"]] 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", "2015-10-30 23:14:13.457988"], ["updated_at", "2015-10-30 23:14:13.457988"]] 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", "bK0rLiMIe1q3eDk1wXeEkg"]] 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.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$40TzwBDMpdm5BrPQJTzEs.hbmWbj5lu4VMthMX4eLzWnEGZoTZWWO"], ["remember_token", "HHEvVmaaa8pcTXl8vfBOWg"], ["created_at", "2015-10-30 23:14:13.480224"], ["updated_at", "2015-10-30 23:14:13.480224"]]  (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", "2015-10-30 23:14:13.483588"], ["updated_at", "2015-10-30 23:14:13.483588"]]  (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", "2015-10-30 23:14:13.486833"], ["updated_at", "2015-10-30 23:14:13.486833"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:13.489731"], ["updated_at", "2015-10-30 23:14:13.489731"]] 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", "2015-10-30 23:14:13.491011"], ["updated_at", "2015-10-30 23:14:13.491011"]] 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.1ms) 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$WLdSL5/IJXyNTmOdAiQJC.GPgFuE7CrHXFZ0dVsBeypt/UPitA1We"], ["remember_token", "WppreHLEiBL-obqzeT9TuA"], ["created_at", "2015-10-30 23:14:13.499309"], ["updated_at", "2015-10-30 23:14:13.499309"]]  (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", "2015-10-30 23:14:13.501854"], ["updated_at", "2015-10-30 23:14:13.501854"]]  (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 1 [["remember_token", "HHEvVmaaa8pcTXl8vfBOWg"]] Article Load (0.2ms) 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 8ms (Views: 3.1ms | ActiveRecord: 0.6ms)  (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$RqDXT6zGCNij6v0lWgZ3UuFHb0.tSBo052joKEeOAU1IO10sBaZKW"], ["remember_token", "AMYjvzJtQKLWlaTVDnBrEQ"], ["created_at", "2015-10-30 23:14:13.517957"], ["updated_at", "2015-10-30 23:14:13.517957"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:14:13.521120"], ["updated_at", "2015-10-30 23:14:13.521120"]]  (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", "2015-10-30 23:14:13.523605"], ["updated_at", "2015-10-30 23:14:13.523605"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:13.529337"], ["updated_at", "2015-10-30 23:14:13.529337"]] 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", "2015-10-30 23:14:13.531587"], ["updated_at", "2015-10-30 23:14:13.531587"]] 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.1ms) 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$gwSC7TsIote0cjEa1zSS1Os4v53VxmcBCtPds0u5LCB.SMjUOyaFq"], ["remember_token", "aQrya6XmQ4jyUThi8YeIcw"], ["created_at", "2015-10-30 23:14:13.538569"], ["updated_at", "2015-10-30 23:14:13.538569"]]  (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", "2015-10-30 23:14:13.540561"], ["updated_at", "2015-10-30 23:14:13.540561"]]  (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 1 [["remember_token", "AMYjvzJtQKLWlaTVDnBrEQ"]] 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"."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"]] Rendered articles/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.4ms)  (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$fs44KJKHURGBNiu49nNnFepUTAKYIhpqGYfxji6wpo1H93RVyPYYu"], ["remember_token", "V5B7YDIMfNY7sfoUVa_Wvw"], ["created_at", "2015-10-30 23:14:13.553039"], ["updated_at", "2015-10-30 23:14:13.553039"]]  (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", "2015-10-30 23:14:13.556180"], ["updated_at", "2015-10-30 23:14:13.556180"]]  (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", "2015-10-30 23:14:13.558805"], ["updated_at", "2015-10-30 23:14:13.558805"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:13.562080"], ["updated_at", "2015-10-30 23:14:13.562080"]] 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", "2015-10-30 23:14:13.563361"], ["updated_at", "2015-10-30 23:14:13.563361"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "V5B7YDIMfNY7sfoUVa_Wvw"]] 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 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.5ms) Completed 200 OK in 7ms (Views: 3.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$h9lLFxat0oagbXDolc6.cOQivdWvrJ2AtpeT4PoqMUyhJlBaoT8G2"], ["remember_token", "gptP8YwxJW-haYQaYQNCrw"], ["created_at", "2015-10-30 23:14:13.582606"], ["updated_at", "2015-10-30 23:14:13.582606"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:14:13.588709"], ["updated_at", "2015-10-30 23:14:13.588709"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:13.593218"], ["updated_at", "2015-10-30 23:14:13.593218"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:13.599312"], ["updated_at", "2015-10-30 23:14:13.599312"]] 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", "2015-10-30 23:14:13.601713"], ["updated_at", "2015-10-30 23:14:13.601713"]] 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.1ms) 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$BNEIZNzTmhvgkjBP9NZ/o.2RaGbveA1WFlV8ci1IptvmVDWDDJNkS"], ["remember_token", "bDr2hFb6YV2hBIGP4aWbdA"], ["created_at", "2015-10-30 23:14:13.611145"], ["updated_at", "2015-10-30 23:14:13.611145"]]  (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", 2], ["created_at", "2015-10-30 23:14:13.614312"], ["updated_at", "2015-10-30 23:14:13.614312"]]  (0.2ms) 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 1 [["remember_token", "gptP8YwxJW-haYQaYQNCrw"]] 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.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" = 1 AND "adeia_elements"."name" = '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" = 1 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] Rendered articles/edit.html.erb within layouts/application (0.5ms) Completed 200 OK in 12ms (Views: 4.6ms | ActiveRecord: 1.3ms)  (1.0ms) rollback transaction  (0.2ms) 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$l7pem4N5ZL3uPNVpdI8XRe3Aws328ZwDzEoO23hjoTSQTkV6q1CZC"], ["remember_token", "_nrWx9y8XQr8AGpmXSfAaw"], ["created_at", "2015-10-30 23:14:13.639678"], ["updated_at", "2015-10-30 23:14:13.639678"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:14:13.645604"], ["updated_at", "2015-10-30 23:14:13.645604"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:13.650980"], ["updated_at", "2015-10-30 23:14:13.650980"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:13.656615"], ["updated_at", "2015-10-30 23:14:13.656615"]] 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", "2015-10-30 23:14:13.659425"], ["updated_at", "2015-10-30 23:14:13.659425"]] 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 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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$QLIUOArtecwYCDeIN3wdHu7r6uwOZk/RBWAwB/Egk2kI9mK/av9cu"], ["remember_token", "nz6502wUDp4ConwnXlyvHw"], ["created_at", "2015-10-30 23:14:13.669963"], ["updated_at", "2015-10-30 23:14:13.669963"]]  (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", "2015-10-30 23:14:13.673748"], ["updated_at", "2015-10-30 23:14:13.673748"]]  (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", "_nrWx9y8XQr8AGpmXSfAaw"]] 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.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 8ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.9ms) 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", "2015-10-30 23:14:13.689790"], ["updated_at", "2015-10-30 23:14:13.689790"]]  (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", "2015-10-30 23:14:13.692267"], ["updated_at", "2015-10-30 23:14:13.692267"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:13.694683"], ["updated_at", "2015-10-30 23:14:13.694683"]]  (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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:13.702727"], ["updated_at", "2015-10-30 23:14:13.702727"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:13.705778"], ["updated_at", "2015-10-30 23:14:13.705778"]]  (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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:14:13.714148"], ["updated_at", "2015-10-30 23:14:13.714148"]]  (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", "2015-10-30 23:14:13.717026"], ["updated_at", "2015-10-30 23:14:13.717026"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) 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", "2015-10-30 23:14:13.724545"], ["updated_at", "2015-10-30 23:14:13.724545"]]  (0.0ms) 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", "2015-10-30 23:14:13.726812"], ["updated_at", "2015-10-30 23:14:13.726812"]]  (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", "2015-10-30 23:14:13.729406"], ["updated_at", "2015-10-30 23:14:13.729406"]]  (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", "2015-10-30 23:14:13.737183"], ["updated_at", "2015-10-30 23:14:13.737183"]]  (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", "2015-10-30 23:14:13.739508"], ["updated_at", "2015-10-30 23:14:13.739508"]]  (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", "2015-10-30 23:14:13.742505"], ["updated_at", "2015-10-30 23:14:13.742505"]]  (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 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", "2015-10-30 23:14:13.749272"], ["updated_at", "2015-10-30 23:14:13.749272"]]  (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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:14:13.752342"], ["updated_at", "2015-10-30 23:14:13.752342"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.7ms) 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.7ms) 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.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", "2015-10-30 23:14:26.447837"], ["updated_at", "2015-10-30 23:14:26.447837"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-10-30 23:14:26.467247"], ["updated_at", "2015-10-30 23:14:26.467247"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:14:26.495360"], ["updated_at", "2015-10-30 23:14:26.495360"]] 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", "2015-10-30 23:14:26.497679"], ["updated_at", "2015-10-30 23:14:26.497679"]] 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" = 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.4ms) 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", "2015-10-30 23:14:26.510271"], ["updated_at", "2015-10-30 23:14:26.510271"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:26.512830"], ["updated_at", "2015-10-30 23:14:26.512830"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:26.516528"], ["updated_at", "2015-10-30 23:14:26.516528"]] 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", "2015-10-30 23:14:26.518063"], ["updated_at", "2015-10-30 23:14:26.518063"]] 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" = 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"."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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (0.9ms) 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", "2015-10-30 23:14:26.528174"], ["updated_at", "2015-10-30 23:14:26.528174"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:26.530879"], ["updated_at", "2015-10-30 23:14:26.530879"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:26.537091"], ["updated_at", "2015-10-30 23:14:26.537091"]] 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", "2015-10-30 23:14:26.538555"], ["updated_at", "2015-10-30 23:14:26.538555"]] 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.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" = 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"."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.4ms) 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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:26.554606"], ["updated_at", "2015-10-30 23:14:26.554606"]]  (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", "2015-10-30 23:14:26.557691"], ["updated_at", "2015-10-30 23:14:26.557691"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:26.561840"], ["updated_at", "2015-10-30 23:14:26.561840"]] 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", "2015-10-30 23:14:26.563965"], ["updated_at", "2015-10-30 23:14:26.563965"]] 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.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" = 1005 AND "adeia_elements"."name" = 'admin/articles' [["create_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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:26.574906"], ["updated_at", "2015-10-30 23:14:26.574906"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:26.577469"], ["updated_at", "2015-10-30 23:14:26.577469"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:26.581215"], ["updated_at", "2015-10-30 23:14:26.581215"]] 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", "2015-10-30 23:14:26.583259"], ["updated_at", "2015-10-30 23:14:26.583259"]] 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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:26.594339"], ["updated_at", "2015-10-30 23:14:26.594339"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:26.597100"], ["updated_at", "2015-10-30 23:14:26.597100"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:26.601741"], ["updated_at", "2015-10-30 23:14:26.601741"]] 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", "2015-10-30 23:14:26.603252"], ["updated_at", "2015-10-30 23:14:26.603252"]] 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" = 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"."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.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" = 1007 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:14:26.614592"], ["updated_at", "2015-10-30 23:14:26.614592"]]  (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", "2015-10-30 23:14:26.617712"], ["updated_at", "2015-10-30 23:14:26.617712"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:26.621120"], ["updated_at", "2015-10-30 23:14:26.621120"]] 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", "2015-10-30 23:14:26.622744"], ["updated_at", "2015-10-30 23:14:26.622744"]] 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" = 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"."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.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" = 1008 AND "adeia_elements"."name" = 'admin/articles' [["update_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", "2015-10-30 23:14:26.635406"], ["updated_at", "2015-10-30 23:14:26.635406"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:26.638443"], ["updated_at", "2015-10-30 23:14:26.638443"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:14:26.642956"], ["updated_at", "2015-10-30 23:14:26.642956"]] 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", "2015-10-30 23:14:26.644317"], ["updated_at", "2015-10-30 23:14:26.644317"]] 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.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"."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.2ms) 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", "2015-10-30 23:14:26.656074"], ["updated_at", "2015-10-30 23:14:26.656074"]]  (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", "2015-10-30 23:14:26.658838"], ["updated_at", "2015-10-30 23:14:26.658838"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:26.662635"], ["updated_at", "2015-10-30 23:14:26.662635"]] 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", "2015-10-30 23:14:26.664365"], ["updated_at", "2015-10-30 23:14:26.664365"]] 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" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-30 23:14:26.675865"], ["updated_at", "2015-10-30 23:14:26.675865"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:26.678516"], ["updated_at", "2015-10-30 23:14:26.678516"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:26.682405"], ["updated_at", "2015-10-30 23:14:26.682405"]] 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", "2015-10-30 23:14:26.685480"], ["updated_at", "2015-10-30 23:14:26.685480"]] 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.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", "2015-10-30 23:14:26.697329"], ["updated_at", "2015-10-30 23:14:26.697329"]]  (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", "2015-10-30 23:14:26.701163"], ["updated_at", "2015-10-30 23:14:26.701163"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:26.705572"], ["updated_at", "2015-10-30 23:14:26.705572"]] 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", "2015-10-30 23:14:26.707034"], ["updated_at", "2015-10-30 23:14:26.707034"]] 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" = 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.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" = 1012 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", "2015-10-30 23:14:26.723517"], ["updated_at", "2015-10-30 23:14:26.723517"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:26.726359"], ["updated_at", "2015-10-30 23:14:26.726359"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:26.729898"], ["updated_at", "2015-10-30 23:14:26.729898"]] 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", "2015-10-30 23:14:26.731571"], ["updated_at", "2015-10-30 23:14:26.731571"]] 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" = 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"."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.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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) 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", "2015-10-30 23:14:26.751332"], ["updated_at", "2015-10-30 23:14:26.751332"]]  (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", "2015-10-30 23:14:26.755276"], ["updated_at", "2015-10-30 23:14:26.755276"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:26.759673"], ["updated_at", "2015-10-30 23:14:26.759673"]] 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", "2015-10-30 23:14:26.761202"], ["updated_at", "2015-10-30 23:14:26.761202"]] 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.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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:26.774266"], ["updated_at", "2015-10-30 23:14:26.774266"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:26.776820"], ["updated_at", "2015-10-30 23:14:26.776820"]]  (0.0ms) 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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:26.779917"], ["updated_at", "2015-10-30 23:14:26.779917"]] 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", "2015-10-30 23:14:26.782237"], ["updated_at", "2015-10-30 23:14:26.782237"]] 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" = 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"."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.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" = 1018 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", "2015-10-30 23:14:26.795237"], ["updated_at", "2015-10-30 23:14:26.795237"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:26.797993"], ["updated_at", "2015-10-30 23:14:26.797993"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:26.802132"], ["updated_at", "2015-10-30 23:14:26.802132"]] 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", "2015-10-30 23:14:26.803815"], ["updated_at", "2015-10-30 23:14:26.803815"]] 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" = 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"]]  (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", "2015-10-30 23:14:26.817045"], ["updated_at", "2015-10-30 23:14:26.817045"]]  (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", "2015-10-30 23:14:26.821283"], ["updated_at", "2015-10-30 23:14:26.821283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:26.826375"], ["updated_at", "2015-10-30 23:14:26.826375"]] 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", "2015-10-30 23:14:26.828055"], ["updated_at", "2015-10-30 23:14:26.828055"]] 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.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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.8ms) 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", "2015-10-30 23:14:26.851187"], ["updated_at", "2015-10-30 23:14:26.851187"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_group_users" ("adeia_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_group_id", 1], ["user_id", 1023], ["created_at", "2015-10-30 23:14:26.855299"], ["updated_at", "2015-10-30 23:14:26.855299"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:26.859804"], ["updated_at", "2015-10-30 23:14:26.859804"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:26.862343"], ["updated_at", "2015-10-30 23:14:26.862343"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:26.865807"], ["updated_at", "2015-10-30 23:14:26.865807"]] 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", "2015-10-30 23:14:26.867387"], ["updated_at", "2015-10-30 23:14:26.867387"]] 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" = 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"."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.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$D4QBmFbDYzFyD.r103kf3OzeyvdUp1hK/VIY4I4m3LbSsJxAIMDIu"], ["remember_token", "IVlByCW28RAIShXP850R9g"], ["created_at", "2015-10-30 23:14:26.891474"], ["updated_at", "2015-10-30 23:14:26.891474"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:14:26.895507"], ["updated_at", "2015-10-30 23:14:26.895507"]]  (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", "2015-10-30 23:14:26.898885"], ["updated_at", "2015-10-30 23:14:26.898885"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:26.902824"], ["updated_at", "2015-10-30 23:14:26.902824"]] 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", "2015-10-30 23:14:26.904585"], ["updated_at", "2015-10-30 23:14:26.904585"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "IVlByCW28RAIShXP850R9g"]] 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.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" = '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 20ms (Views: 14.4ms | ActiveRecord: 0.7ms)  (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$y9OlXQMMwn3H9V0BADozZuR6Ug0ZxS6nWk0uCMRNqINC/230nrtqa"], ["remember_token", "w2ZIPkyQgXmN6gMatzwJ7A"], ["created_at", "2015-10-30 23:14:26.936460"], ["updated_at", "2015-10-30 23:14:26.936460"]]  (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", "2015-10-30 23:14:26.939981"], ["updated_at", "2015-10-30 23:14:26.939981"]]  (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", "2015-10-30 23:14:26.942624"], ["updated_at", "2015-10-30 23:14:26.942624"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:26.945785"], ["updated_at", "2015-10-30 23:14:26.945785"]] 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", "2015-10-30 23:14:26.947111"], ["updated_at", "2015-10-30 23:14:26.947111"]] 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", "w2ZIPkyQgXmN6gMatzwJ7A"]] 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)  (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$eVlm9VSuA3DNCNkKIrQQheCIDTSSyuEA7zO8yRGSi.kICwhFCwQ76"], ["remember_token", "51-OlmeBsekBGAkHkHFVoA"], ["created_at", "2015-10-30 23:14:26.966765"], ["updated_at", "2015-10-30 23:14:26.966765"]]  (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", "2015-10-30 23:14:26.972710"], ["updated_at", "2015-10-30 23:14:26.972710"]]  (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", "2015-10-30 23:14:26.975944"], ["updated_at", "2015-10-30 23:14:26.975944"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:26.979112"], ["updated_at", "2015-10-30 23:14:26.979112"]] 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", "2015-10-30 23:14:26.980469"], ["updated_at", "2015-10-30 23:14:26.980469"]] 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.2ms) 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$7atEg4/WCiU./y2FzKMgwOohZm9UD7lTnTWBTGCJBB.021N65qjPG"], ["remember_token", "0DkXxKftLTxlu85IysKyPA"], ["created_at", "2015-10-30 23:14:26.994356"], ["updated_at", "2015-10-30 23:14:26.994356"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", "2015-10-30 23:14:27.003869"], ["updated_at", "2015-10-30 23:14:27.003869"]]  (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", "2015-10-30 23:14:27.007259"], ["updated_at", "2015-10-30 23:14:27.007259"]]  (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", "2015-10-30 23:14:27.009257"], ["updated_at", "2015-10-30 23:14:27.009257"]]  (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", "2015-10-30 23:14:27.011147"], ["updated_at", "2015-10-30 23:14:27.011147"]]  (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.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", "2015-10-30 23:14:27.012888"], ["updated_at", "2015-10-30 23:14:27.012888"]]  (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", "51-OlmeBsekBGAkHkHFVoA"]] 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.2ms) Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.6ms)  (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$Datw68qztdE7zeEW8WRWGOJp4XPgOF/l7Uis21ydfwjpT948XYMqi"], ["remember_token", "uv8eVwR1u4blM8XizmYgMQ"], ["created_at", "2015-10-30 23:14:27.028474"], ["updated_at", "2015-10-30 23:14:27.028474"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:14:27.031646"], ["updated_at", "2015-10-30 23:14:27.031646"]]  (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", "2015-10-30 23:14:27.034218"], ["updated_at", "2015-10-30 23:14:27.034218"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:27.037894"], ["updated_at", "2015-10-30 23:14:27.037894"]] 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", "2015-10-30 23:14:27.039182"], ["updated_at", "2015-10-30 23:14:27.039182"]] 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", "2015-10-30 23:14:27.042497"], ["updated_at", "2015-10-30 23:14:27.042497"]]  (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", "2015-10-30 23:14:27.044352"], ["updated_at", "2015-10-30 23:14:27.044352"]]  (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", "2015-10-30 23:14:27.046218"], ["updated_at", "2015-10-30 23:14:27.046218"]]  (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", "2015-10-30 23:14:27.048112"], ["updated_at", "2015-10-30 23:14:27.048112"]]  (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", "2015-10-30 23:14:27.050072"], ["updated_at", "2015-10-30 23:14:27.050072"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$GhVEmqLztlkLuAcZ7e.bAe7DNcNHx4Bgra2uWwLUx1ZK0zeJIshv6"], ["remember_token", "3Lrne1Rv-yTWocrPSIA7Sw"], ["created_at", "2015-10-30 23:14:27.054400"], ["updated_at", "2015-10-30 23:14:27.054400"]]  (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", 2], ["created_at", "2015-10-30 23:14:27.056254"], ["updated_at", "2015-10-30 23:14:27.056254"]]  (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.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", "2015-10-30 23:14:27.058233"], ["updated_at", "2015-10-30 23:14:27.058233"]]  (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", "2015-10-30 23:14:27.061663"], ["updated_at", "2015-10-30 23:14:27.061663"]]  (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", "2015-10-30 23:14:27.063871"], ["updated_at", "2015-10-30 23:14:27.063871"]]  (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", "2015-10-30 23:14:27.065582"], ["updated_at", "2015-10-30 23:14:27.065582"]]  (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", "uv8eVwR1u4blM8XizmYgMQ"]] 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: 0.9ms | ActiveRecord: 0.6ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (0.8ms) 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$4v6GDi3BoMNxcVQyX6MkzO5sTM29f6vCa6SH2/u19Ey.GKvVpusFS"], ["remember_token", "QHt4k6gU6Q-b2PsSQXkM6Q"], ["created_at", "2015-10-30 23:14:27.079432"], ["updated_at", "2015-10-30 23:14:27.079432"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:14:27.082734"], ["updated_at", "2015-10-30 23:14:27.082734"]]  (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", "2015-10-30 23:14:27.085916"], ["updated_at", "2015-10-30 23:14:27.085916"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:27.089487"], ["updated_at", "2015-10-30 23:14:27.089487"]] 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", "2015-10-30 23:14:27.090753"], ["updated_at", "2015-10-30 23:14:27.090753"]] 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", "2015-10-30 23:14:27.094024"], ["updated_at", "2015-10-30 23:14:27.094024"]]  (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", "2015-10-30 23:14:27.095801"], ["updated_at", "2015-10-30 23:14:27.095801"]]  (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", "2015-10-30 23:14:27.097511"], ["updated_at", "2015-10-30 23:14:27.097511"]]  (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", "2015-10-30 23:14:27.099132"], ["updated_at", "2015-10-30 23:14:27.099132"]]  (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", "2015-10-30 23:14:27.100682"], ["updated_at", "2015-10-30 23:14:27.100682"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$cKmePEjuQEtPp2X5iyuVyebJZ4jSsJpy0.wFyLgfFHmCOuGy.BS8q"], ["remember_token", "e6Rb-zi7z_b7_HDrUqBglg"], ["created_at", "2015-10-30 23:14:27.107022"], ["updated_at", "2015-10-30 23:14:27.107022"]]  (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", "2015-10-30 23:14:27.108805"], ["updated_at", "2015-10-30 23:14:27.108805"]]  (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", "2015-10-30 23:14:27.111242"], ["updated_at", "2015-10-30 23:14:27.111242"]]  (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", "2015-10-30 23:14:27.113733"], ["updated_at", "2015-10-30 23:14:27.113733"]]  (0.0ms) 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", "2015-10-30 23:14:27.115536"], ["updated_at", "2015-10-30 23:14:27.115536"]]  (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.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", "2015-10-30 23:14:27.117493"], ["updated_at", "2015-10-30 23:14:27.117493"]]  (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.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", "2015-10-30 23:14:27.121415"], ["updated_at", "2015-10-30 23:14:27.121415"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:27.129328"], ["updated_at", "2015-10-30 23:14:27.129328"]] 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", "2015-10-30 23:14:27.130930"], ["updated_at", "2015-10-30 23:14:27.130930"]] 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", "QHt4k6gU6Q-b2PsSQXkM6Q"]] 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.1ms | ActiveRecord: 0.5ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$mx8gS3EJTz0yYZryildiAui9jWiupQF1xq6ENByZULJ7GBn9Pb1qu"], ["remember_token", "y7pYC1p8eehLLTk5kKwD8A"], ["created_at", "2015-10-30 23:14:27.148194"], ["updated_at", "2015-10-30 23:14:27.148194"]]  (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.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$evcMwlN0cHj0VPt0V4p/l.HrRkUiITF.hiWN01/j1uI89vSNHVPri"], ["remember_token", "EKIfweZIKNHuupYdKBzePw"], ["created_at", "2015-10-30 23:14:27.153346"], ["updated_at", "2015-10-30 23:14:27.153346"]]  (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", "2015-10-30 23:14:27.156954"], ["updated_at", "2015-10-30 23:14:27.156954"]]  (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", "2015-10-30 23:14:27.160723"], ["updated_at", "2015-10-30 23:14:27.160723"]]  (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 "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-30 23:14:27.163099"], ["updated_at", "2015-10-30 23:14:27.163099"]]  (0.2ms) 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", "2015-10-30 23:14:27.166970"], ["updated_at", "2015-10-30 23:14:27.166970"]]  (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", "2015-10-30 23:14:27.170203"], ["updated_at", "2015-10-30 23:14:27.170203"]]  (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", "2015-10-30 23:14:27.172987"], ["updated_at", "2015-10-30 23:14:27.172987"]]  (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", "2015-10-30 23:14:27.175197"], ["updated_at", "2015-10-30 23:14:27.175197"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:14:27.179213"], ["updated_at", "2015-10-30 23:14:27.179213"]]  (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", "2015-10-30 23:14:27.183075"], ["updated_at", "2015-10-30 23:14:27.183075"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:27.186950"], ["updated_at", "2015-10-30 23:14:27.186950"]] 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", "2015-10-30 23:14:27.188548"], ["updated_at", "2015-10-30 23:14:27.188548"]] 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.0ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:27.195062"], ["updated_at", "2015-10-30 23:14:27.195062"]] 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", "2015-10-30 23:14:27.196870"], ["updated_at", "2015-10-30 23:14:27.196870"]] 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", "y7pYC1p8eehLLTk5kKwD8A"]] 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 7ms (Views: 1.0ms | ActiveRecord: 0.7ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (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$tzXJtorVaktcX3dEnYwXLeY/H9SNkPYkfWsnL6TO1FRUG8TIChEZm"], ["remember_token", "pIG6r_9l8cFsTmjecGGTFQ"], ["created_at", "2015-10-30 23:14:27.215898"], ["updated_at", "2015-10-30 23:14:27.215898"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:14:27.219021"], ["updated_at", "2015-10-30 23:14:27.219021"]]  (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", "2015-10-30 23:14:27.222415"], ["updated_at", "2015-10-30 23:14:27.222415"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:27.225701"], ["updated_at", "2015-10-30 23:14:27.225701"]] 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", "2015-10-30 23:14:27.227116"], ["updated_at", "2015-10-30 23:14:27.227116"]] 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.1ms) 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$CNrlyyxmpmphndotS4gen.vgKIa5QxKeRMeqEoCBdHlZIU3mJcnG6"], ["remember_token", "BsfalD-ZomxBpnitvVF7-w"], ["created_at", "2015-10-30 23:14:27.234283"], ["updated_at", "2015-10-30 23:14:27.234283"]]  (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", "2015-10-30 23:14:27.236995"], ["updated_at", "2015-10-30 23:14:27.236995"]]  (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 1 [["remember_token", "pIG6r_9l8cFsTmjecGGTFQ"]] Article Load (0.2ms) 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 8ms (Views: 3.3ms | ActiveRecord: 0.6ms)  (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$MVvTj7b1VBo.0FWij/ZcweU3SMjfNky8mRnLG4y4QrVk2xFI4BlO2"], ["remember_token", "9EeDhwIhipJJxEEoxqRLNg"], ["created_at", "2015-10-30 23:14:27.254767"], ["updated_at", "2015-10-30 23:14:27.254767"]]  (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", "2015-10-30 23:14:27.258398"], ["updated_at", "2015-10-30 23:14:27.258398"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:27.261584"], ["updated_at", "2015-10-30 23:14:27.261584"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:27.265193"], ["updated_at", "2015-10-30 23:14:27.265193"]] 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", "2015-10-30 23:14:27.266628"], ["updated_at", "2015-10-30 23:14:27.266628"]] 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.1ms) 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$k3q78Wk9lr64YXOz2Qhl0eAQ42mJovmAQzXDZxzjfHbOesVIxanJS"], ["remember_token", "edTJjonZAlmmO1ihJGWSXA"], ["created_at", "2015-10-30 23:14:27.272739"], ["updated_at", "2015-10-30 23:14:27.272739"]]  (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", "2015-10-30 23:14:27.274400"], ["updated_at", "2015-10-30 23:14:27.274400"]]  (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", "9EeDhwIhipJJxEEoxqRLNg"]] 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.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 articles/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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$ufaWo7vzIPbdwd7RZLg1Zuov0iHE05RDS7ypnf/1bhwhj5fhu49ti"], ["remember_token", "SzW6OK8BxXZUg6qTVBSSnQ"], ["created_at", "2015-10-30 23:14:27.293587"], ["updated_at", "2015-10-30 23:14:27.293587"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:14:27.296940"], ["updated_at", "2015-10-30 23:14:27.296940"]]  (0.0ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:27.300703"], ["updated_at", "2015-10-30 23:14:27.300703"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:27.304815"], ["updated_at", "2015-10-30 23:14:27.304815"]] 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", "2015-10-30 23:14:27.306251"], ["updated_at", "2015-10-30 23:14:27.306251"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "SzW6OK8BxXZUg6qTVBSSnQ"]] 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 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.3ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.5ms)  (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$qMkt9YxECDtecfVMAafnzOgw6kwcyP8Q.Yz0UjU41.h0GWvsjmXXG"], ["remember_token", "IcO2FQK3Zk_D6R0-Li3LFw"], ["created_at", "2015-10-30 23:14:27.320927"], ["updated_at", "2015-10-30 23:14:27.320927"]]  (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", "2015-10-30 23:14:27.324573"], ["updated_at", "2015-10-30 23:14:27.324573"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:27.329122"], ["updated_at", "2015-10-30 23:14:27.329122"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:27.334030"], ["updated_at", "2015-10-30 23:14:27.334030"]] 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", "2015-10-30 23:14:27.335864"], ["updated_at", "2015-10-30 23:14:27.335864"]] 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.1ms) 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$dvugUyQ.MWVN1iB6miRdGeERzR1ieS6u9cKjiEi32Ys0wcCEDVb2u"], ["remember_token", "3eCArDXBS9QKLG11DV_HnQ"], ["created_at", "2015-10-30 23:14:27.343452"], ["updated_at", "2015-10-30 23:14:27.343452"]]  (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", "2015-10-30 23:14:27.345175"], ["updated_at", "2015-10-30 23:14:27.345175"]]  (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", "IcO2FQK3Zk_D6R0-Li3LFw"]] 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.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.3ms) Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 0.6ms)  (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$NFaUvJDr2PyBZi5y8fKbm.bLHVFViOLm8KYbyYFgHe5GN.srzt3My"], ["remember_token", "hlNIvlf2gmkOYfOljXK6wA"], ["created_at", "2015-10-30 23:14:27.359757"], ["updated_at", "2015-10-30 23:14:27.359757"]]  (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", "2015-10-30 23:14:27.362726"], ["updated_at", "2015-10-30 23:14:27.362726"]]  (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", "2015-10-30 23:14:27.365663"], ["updated_at", "2015-10-30 23:14:27.365663"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:27.369761"], ["updated_at", "2015-10-30 23:14:27.369761"]] 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", "2015-10-30 23:14:27.371235"], ["updated_at", "2015-10-30 23:14:27.371235"]] 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.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$epT8x6g7q1Zc7HoqhMtZD.bz1SZtqgkp2HmjsyRiXfMgYPms6D4bO"], ["remember_token", "h0gbCxSrYNnFkp6ZgRsvkA"], ["created_at", "2015-10-30 23:14:27.376914"], ["updated_at", "2015-10-30 23:14:27.376914"]]  (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", 2], ["created_at", "2015-10-30 23:14:27.378590"], ["updated_at", "2015-10-30 23:14:27.378590"]]  (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", "hlNIvlf2gmkOYfOljXK6wA"]] 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: 0.9ms | ActiveRecord: 0.4ms)  (1.2ms) 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", "2015-10-30 23:14:27.389864"], ["updated_at", "2015-10-30 23:14:27.389864"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:14:27.392837"], ["updated_at", "2015-10-30 23:14:27.392837"]]  (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", "2015-10-30 23:14:27.395967"], ["updated_at", "2015-10-30 23:14:27.395967"]]  (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 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", "2015-10-30 23:14:27.404310"], ["updated_at", "2015-10-30 23:14:27.404310"]]  (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", "2015-10-30 23:14:27.407615"], ["updated_at", "2015-10-30 23:14:27.407615"]]  (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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:14:27.430881"], ["updated_at", "2015-10-30 23:14:27.430881"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:27.433489"], ["updated_at", "2015-10-30 23:14:27.433489"]]  (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 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", "2015-10-30 23:14:27.442235"], ["updated_at", "2015-10-30 23:14:27.442235"]]  (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", "2015-10-30 23:14:27.445466"], ["updated_at", "2015-10-30 23:14:27.445466"]]  (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", "2015-10-30 23:14:27.448349"], ["updated_at", "2015-10-30 23:14:27.448349"]]  (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", "2015-10-30 23:14:27.456006"], ["updated_at", "2015-10-30 23:14:27.456006"]]  (0.0ms) 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", "2015-10-30 23:14:27.458126"], ["updated_at", "2015-10-30 23:14:27.458126"]]  (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", "2015-10-30 23:14:27.460708"], ["updated_at", "2015-10-30 23:14:27.460708"]]  (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 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", "2015-10-30 23:14:27.468904"], ["updated_at", "2015-10-30 23:14:27.468904"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:14:27.471392"], ["updated_at", "2015-10-30 23:14:27.471392"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" WHERE "adeia_permissions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) 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.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" = 1001 Adeia::Permission Load (0.9ms) 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.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:37.872955"], ["updated_at", "2015-10-30 23:14:37.872955"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:37.887477"], ["updated_at", "2015-10-30 23:14:37.887477"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:14:37.918714"], ["updated_at", "2015-10-30 23:14:37.918714"]] 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", "2015-10-30 23:14:37.922203"], ["updated_at", "2015-10-30 23:14:37.922203"]] 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" = 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"]]  (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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:37.938990"], ["updated_at", "2015-10-30 23:14:37.938990"]]  (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", "2015-10-30 23:14:37.943711"], ["updated_at", "2015-10-30 23:14:37.943711"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:37.948111"], ["updated_at", "2015-10-30 23:14:37.948111"]] 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", "2015-10-30 23:14:37.949680"], ["updated_at", "2015-10-30 23:14:37.949680"]] 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" = 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"."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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (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", "2015-10-30 23:14:37.961980"], ["updated_at", "2015-10-30 23:14:37.961980"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:37.965571"], ["updated_at", "2015-10-30 23:14:37.965571"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:37.973017"], ["updated_at", "2015-10-30 23:14:37.973017"]] 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", "2015-10-30 23:14:37.975908"], ["updated_at", "2015-10-30 23:14:37.975908"]] 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" = 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"."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.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" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_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", "2015-10-30 23:14:37.993944"], ["updated_at", "2015-10-30 23:14:37.993944"]]  (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", "2015-10-30 23:14:37.999171"], ["updated_at", "2015-10-30 23:14:37.999171"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:38.006015"], ["updated_at", "2015-10-30 23:14:38.006015"]] 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", "2015-10-30 23:14:38.008579"], ["updated_at", "2015-10-30 23:14:38.008579"]] 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" = 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"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1005 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) 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", "2015-10-30 23:14:38.027159"], ["updated_at", "2015-10-30 23:14:38.027159"]]  (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", "2015-10-30 23:14:38.032508"], ["updated_at", "2015-10-30 23:14:38.032508"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:38.036897"], ["updated_at", "2015-10-30 23:14:38.036897"]] 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", "2015-10-30 23:14:38.038312"], ["updated_at", "2015-10-30 23:14:38.038312"]] 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.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.1ms) 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.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", "2015-10-30 23:14:38.050163"], ["updated_at", "2015-10-30 23:14:38.050163"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:38.053231"], ["updated_at", "2015-10-30 23:14:38.053231"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:38.056964"], ["updated_at", "2015-10-30 23:14:38.056964"]] 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", "2015-10-30 23:14:38.060052"], ["updated_at", "2015-10-30 23:14:38.060052"]] 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" = 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:38.076525"], ["updated_at", "2015-10-30 23:14:38.076525"]]  (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", "2015-10-30 23:14:38.080469"], ["updated_at", "2015-10-30 23:14:38.080469"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:38.084622"], ["updated_at", "2015-10-30 23:14:38.084622"]] 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", "2015-10-30 23:14:38.085962"], ["updated_at", "2015-10-30 23:14:38.085962"]] 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.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" = 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"."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.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" = 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:38.101225"], ["updated_at", "2015-10-30 23:14:38.101225"]]  (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", "2015-10-30 23:14:38.106708"], ["updated_at", "2015-10-30 23:14:38.106708"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:14:38.113351"], ["updated_at", "2015-10-30 23:14:38.113351"]] 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", "2015-10-30 23:14:38.116157"], ["updated_at", "2015-10-30 23:14:38.116157"]] 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" = 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.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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:38.137160"], ["updated_at", "2015-10-30 23:14:38.137160"]]  (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", "2015-10-30 23:14:38.143101"], ["updated_at", "2015-10-30 23:14:38.143101"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:38.147292"], ["updated_at", "2015-10-30 23:14:38.147292"]] 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", "2015-10-30 23:14:38.148676"], ["updated_at", "2015-10-30 23:14:38.148676"]] 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" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."name" = 'share' Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."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 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:38.160444"], ["updated_at", "2015-10-30 23:14:38.160444"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:38.165843"], ["updated_at", "2015-10-30 23:14:38.165843"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:38.173879"], ["updated_at", "2015-10-30 23:14:38.173879"]] 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", "2015-10-30 23:14:38.176804"], ["updated_at", "2015-10-30 23:14:38.176804"]] 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.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "ddAM4VRw7z5pajrxfvYZUg"], ["is_valid", "t"], ["adeia_permission_id", 1], ["exp_at", "2015-11-30"], ["created_at", "2015-10-30 23:14:38.185373"], ["updated_at", "2015-10-30 23:14:38.185373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "ddAM4VRw7z5pajrxfvYZUg"]]  (1.1ms) rollback transaction  (0.2ms) begin transaction Adeia::Element Load (0.3ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:38.248971"], ["updated_at", "2015-10-30 23:14:38.248971"]]  (0.2ms) 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", "2015-10-30 23:14:38.255906"], ["updated_at", "2015-10-30 23:14:38.255906"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:38.264289"], ["updated_at", "2015-10-30 23:14:38.264289"]] 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", "2015-10-30 23:14:38.267115"], ["updated_at", "2015-10-30 23:14:38.267115"]] 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.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" = 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"."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.5ms) 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"]]  (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", "2015-10-30 23:14:38.287803"], ["updated_at", "2015-10-30 23:14:38.287803"]]  (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", "2015-10-30 23:14:38.290966"], ["updated_at", "2015-10-30 23:14:38.290966"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:38.294708"], ["updated_at", "2015-10-30 23:14:38.294708"]] 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", "2015-10-30 23:14:38.296165"], ["updated_at", "2015-10-30 23:14:38.296165"]] 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" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:14:38.310489"], ["updated_at", "2015-10-30 23:14:38.310489"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:38.313591"], ["updated_at", "2015-10-30 23:14:38.313591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:38.316998"], ["updated_at", "2015-10-30 23:14:38.316998"]] 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", "2015-10-30 23:14:38.320474"], ["updated_at", "2015-10-30 23:14:38.320474"]] 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" = 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.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" = 1016 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", "2015-10-30 23:14:38.333159"], ["updated_at", "2015-10-30 23:14:38.333159"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:38.337556"], ["updated_at", "2015-10-30 23:14:38.337556"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:38.343405"], ["updated_at", "2015-10-30 23:14:38.343405"]] 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", "2015-10-30 23:14:38.345430"], ["updated_at", "2015-10-30 23:14:38.345430"]] 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" = 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"."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.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" = 1018 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:14:38.357715"], ["updated_at", "2015-10-30 23:14:38.357715"]]  (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", "2015-10-30 23:14:38.360862"], ["updated_at", "2015-10-30 23:14:38.360862"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:38.365010"], ["updated_at", "2015-10-30 23:14:38.365010"]] 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", "2015-10-30 23:14:38.368729"], ["updated_at", "2015-10-30 23:14:38.368729"]] 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.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" = 1020 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:14:38.381022"], ["updated_at", "2015-10-30 23:14:38.381022"]]  (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", "2015-10-30 23:14:38.384791"], ["updated_at", "2015-10-30 23:14:38.384791"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:38.390240"], ["updated_at", "2015-10-30 23:14:38.390240"]] 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", "2015-10-30 23:14:38.392470"], ["updated_at", "2015-10-30 23:14:38.392470"]] 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" = 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"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction 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", "2015-10-30 23:14:38.415759"], ["updated_at", "2015-10-30 23:14:38.415759"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_group_users" ("adeia_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_group_id", 1], ["user_id", 1023], ["created_at", "2015-10-30 23:14:38.421904"], ["updated_at", "2015-10-30 23:14:38.421904"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:38.426008"], ["updated_at", "2015-10-30 23:14:38.426008"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:38.429196"], ["updated_at", "2015-10-30 23:14:38.429196"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:38.434222"], ["updated_at", "2015-10-30 23:14:38.434222"]] 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", "2015-10-30 23:14:38.436439"], ["updated_at", "2015-10-30 23:14:38.436439"]] 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" = 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"."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.2ms) 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$fGQYc6p4Pygz1JZskEU/9OEm1icmA7MA3Nx6Y8wOak1lR1m3Nb.e."], ["remember_token", "hvtE-IqxD2FOtUfsagZquA"], ["created_at", "2015-10-30 23:14:38.458672"], ["updated_at", "2015-10-30 23:14:38.458672"]]  (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", "2015-10-30 23:14:38.463842"], ["updated_at", "2015-10-30 23:14:38.463842"]]  (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.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:38.468660"], ["updated_at", "2015-10-30 23:14:38.468660"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:38.473839"], ["updated_at", "2015-10-30 23:14:38.473839"]] 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", "2015-10-30 23:14:38.475311"], ["updated_at", "2015-10-30 23:14:38.475311"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "hvtE-IqxD2FOtUfsagZquA"]] 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" = 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" = '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" = 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.5ms) Completed 200 OK in 47ms (Views: 37.4ms | ActiveRecord: 1.3ms)  (1.0ms) rollback transaction  (0.2ms) 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$mUGDniyTb6c4UUrFWpjT0.I4WhV0fF5SEFGdxwk68HFmZB6TL7Wdq"], ["remember_token", "fAGv9tbk5uw9Iuo0HXYGXQ"], ["created_at", "2015-10-30 23:14:38.537776"], ["updated_at", "2015-10-30 23:14:38.537776"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:14:38.544116"], ["updated_at", "2015-10-30 23:14:38.544116"]]  (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", "2015-10-30 23:14:38.549019"], ["updated_at", "2015-10-30 23:14:38.549019"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:38.552779"], ["updated_at", "2015-10-30 23:14:38.552779"]] 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", "2015-10-30 23:14:38.554661"], ["updated_at", "2015-10-30 23:14:38.554661"]] 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", "fAGv9tbk5uw9Iuo0HXYGXQ"]] 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.5ms) Completed 200 OK in 6ms (Views: 1.6ms | 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$.yy0490dzlegC7DTSPCwT.4a4RDi.Nemxj0c3w6zd.SGkvBrlURza"], ["remember_token", "OYEz4f2wrztP7JeWHtL7cw"], ["created_at", "2015-10-30 23:14:38.573132"], ["updated_at", "2015-10-30 23:14:38.573132"]]  (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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:14:38.577027"], ["updated_at", "2015-10-30 23:14:38.577027"]]  (0.2ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:38.583655"], ["updated_at", "2015-10-30 23:14:38.583655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:38.591396"], ["updated_at", "2015-10-30 23:14:38.591396"]] 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", "2015-10-30 23:14:38.594436"], ["updated_at", "2015-10-30 23:14:38.594436"]] 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.4ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (0.3ms) 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$E.QKN1bgoY0WHAl5wwOP5e2Tkgq/3PYJ6CVRQhy/CLW2xUUMvQEyW"], ["remember_token", "DKLeeOywWI6sl3X5rc1RkQ"], ["created_at", "2015-10-30 23:14:38.618284"], ["updated_at", "2015-10-30 23:14:38.618284"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", "2015-10-30 23:14:38.623241"], ["updated_at", "2015-10-30 23:14:38.623241"]]  (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", "2015-10-30 23:14:38.626823"], ["updated_at", "2015-10-30 23:14:38.626823"]]  (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", "2015-10-30 23:14:38.629168"], ["updated_at", "2015-10-30 23:14:38.629168"]]  (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", "2015-10-30 23:14:38.631851"], ["updated_at", "2015-10-30 23:14:38.631851"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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", "2015-10-30 23:14:38.636699"], ["updated_at", "2015-10-30 23:14:38.636699"]]  (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 1 [["remember_token", "OYEz4f2wrztP7JeWHtL7cw"]] 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.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 11ms (Views: 1.8ms | ActiveRecord: 1.0ms)  (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$j.sW0ccJi6Mxkxk.q9.XoubOXEsJnhI3JhdbUKRxeGclRYkESDhTC"], ["remember_token", "X8CWyOx5x45kDthoHMm3nQ"], ["created_at", "2015-10-30 23:14:38.662163"], ["updated_at", "2015-10-30 23:14:38.662163"]]  (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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:14:38.669990"], ["updated_at", "2015-10-30 23:14:38.669990"]]  (0.2ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:38.676360"], ["updated_at", "2015-10-30 23:14:38.676360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:38.683208"], ["updated_at", "2015-10-30 23:14:38.683208"]] 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", "2015-10-30 23:14:38.686919"], ["updated_at", "2015-10-30 23:14:38.686919"]] 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.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", "2015-10-30 23:14:38.695394"], ["updated_at", "2015-10-30 23:14:38.695394"]]  (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", "2015-10-30 23:14:38.698162"], ["updated_at", "2015-10-30 23:14:38.698162"]]  (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", "2015-10-30 23:14:38.701445"], ["updated_at", "2015-10-30 23:14:38.701445"]]  (0.1ms) 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", 1], ["created_at", "2015-10-30 23:14:38.705017"], ["updated_at", "2015-10-30 23:14:38.705017"]]  (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", "2015-10-30 23:14:38.709674"], ["updated_at", "2015-10-30 23:14:38.709674"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$S5n7jDkrnTwdUzdCtIlLWua9xw8w0SQa7zFpdnEjkolW8icxc105K"], ["remember_token", "d8F4rmTPBwEyYb-W44wm2Q"], ["created_at", "2015-10-30 23:14:38.714839"], ["updated_at", "2015-10-30 23:14:38.714839"]]  (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", "2015-10-30 23:14:38.717385"], ["updated_at", "2015-10-30 23:14:38.717385"]]  (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.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", "2015-10-30 23:14:38.720535"], ["updated_at", "2015-10-30 23:14:38.720535"]]  (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", "2015-10-30 23:14:38.723832"], ["updated_at", "2015-10-30 23:14:38.723832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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", "2015-10-30 23:14:38.728459"], ["updated_at", "2015-10-30 23:14:38.728459"]]  (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.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", "2015-10-30 23:14:38.733701"], ["updated_at", "2015-10-30 23:14:38.733701"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "X8CWyOx5x45kDthoHMm3nQ"]] Adeia::Token Load (0.3ms) 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" = 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.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" = '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.4ms) Completed 200 OK in 15ms (Views: 2.2ms | ActiveRecord: 1.3ms) Article Load (0.3ms) 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.7ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$N8.fauKHQpXGRhqNA5LnceN.El8kG/BOfLDwenfTgjuc6WNo0J99y"], ["remember_token", "pXNyMmFheSyruqPEghiP1Q"], ["created_at", "2015-10-30 23:14:38.764326"], ["updated_at", "2015-10-30 23:14:38.764326"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:14:38.773241"], ["updated_at", "2015-10-30 23:14:38.773241"]]  (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", "2015-10-30 23:14:38.779136"], ["updated_at", "2015-10-30 23:14:38.779136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:38.790256"], ["updated_at", "2015-10-30 23:14:38.790256"]] 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", "2015-10-30 23:14:38.793396"], ["updated_at", "2015-10-30 23:14:38.793396"]] Adeia::Action Load (0.3ms) 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.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", "2015-10-30 23:14:38.803321"], ["updated_at", "2015-10-30 23:14:38.803321"]]  (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", "2015-10-30 23:14:38.807457"], ["updated_at", "2015-10-30 23:14:38.807457"]]  (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", "2015-10-30 23:14:38.810272"], ["updated_at", "2015-10-30 23:14:38.810272"]]  (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", "2015-10-30 23:14:38.813274"], ["updated_at", "2015-10-30 23:14:38.813274"]]  (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", "2015-10-30 23:14:38.817360"], ["updated_at", "2015-10-30 23:14:38.817360"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$YV8eiSBItU1qZfWqtjTOsOQQ16/.lQAnsehSlsxMQZ2o5KOdFBD4e"], ["remember_token", "AYCGDthqyezLswA2WzHczw"], ["created_at", "2015-10-30 23:14:38.823328"], ["updated_at", "2015-10-30 23:14:38.823328"]]  (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", "2015-10-30 23:14:38.825452"], ["updated_at", "2015-10-30 23:14:38.825452"]]  (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", "2015-10-30 23:14:38.828284"], ["updated_at", "2015-10-30 23:14:38.828284"]]  (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.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", "2015-10-30 23:14:38.830712"], ["updated_at", "2015-10-30 23:14:38.830712"]]  (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", "2015-10-30 23:14:38.833521"], ["updated_at", "2015-10-30 23:14:38.833521"]]  (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", "2015-10-30 23:14:38.836340"], ["updated_at", "2015-10-30 23:14:38.836340"]]  (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", "2015-10-30 23:14:38.838986"], ["updated_at", "2015-10-30 23:14:38.838986"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:38.844796"], ["updated_at", "2015-10-30 23:14:38.844796"]] 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", "2015-10-30 23:14:38.846373"], ["updated_at", "2015-10-30 23:14:38.846373"]] 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", "pXNyMmFheSyruqPEghiP1Q"]] 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.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.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" = '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 10ms (Views: 1.6ms | ActiveRecord: 0.9ms) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (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$AeSx0lG2yrYM8IlGUWcX8OpENpB1Rc119bcE821CA1qmdGGOOCkWe"], ["remember_token", "-LAbD4SoGh5HNBeHK9fl4Q"], ["created_at", "2015-10-30 23:14:38.870571"], ["updated_at", "2015-10-30 23:14:38.870571"]]  (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$7I8uq9LpuIQRlqbl8qPaD.L88YLu/a91vVn0n4hEY9eEE8cV7o0SS"], ["remember_token", "6iI6yPMqQyndvbbIPMQHOA"], ["created_at", "2015-10-30 23:14:38.876523"], ["updated_at", "2015-10-30 23:14:38.876523"]]  (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", "2015-10-30 23:14:38.878540"], ["updated_at", "2015-10-30 23:14:38.878540"]]  (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", "2015-10-30 23:14:38.880610"], ["updated_at", "2015-10-30 23:14:38.880610"]]  (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.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", "2015-10-30 23:14:38.883605"], ["updated_at", "2015-10-30 23:14:38.883605"]]  (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", "2015-10-30 23:14:38.886516"], ["updated_at", "2015-10-30 23:14:38.886516"]]  (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", "2015-10-30 23:14:38.889764"], ["updated_at", "2015-10-30 23:14:38.889764"]]  (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", "2015-10-30 23:14:38.893186"], ["updated_at", "2015-10-30 23:14:38.893186"]]  (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", "2015-10-30 23:14:38.895582"], ["updated_at", "2015-10-30 23:14:38.895582"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:14:38.900331"], ["updated_at", "2015-10-30 23:14:38.900331"]]  (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", "2015-10-30 23:14:38.905573"], ["updated_at", "2015-10-30 23:14:38.905573"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:38.910187"], ["updated_at", "2015-10-30 23:14:38.910187"]] 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", "2015-10-30 23:14:38.911944"], ["updated_at", "2015-10-30 23:14:38.911944"]] 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:38.921071"], ["updated_at", "2015-10-30 23:14:38.921071"]] 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", "2015-10-30 23:14:38.923466"], ["updated_at", "2015-10-30 23:14:38.923466"]] 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 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "-LAbD4SoGh5HNBeHK9fl4Q"]] 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" = 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.2ms) Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 0.7ms) 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$dMevTiDof3Rb0OnUcUlC/.AMEjuLk7FK3TRcvGIRzpw/N6jP7X7S6"], ["remember_token", "-FM-G5I9Q4qkqLfPPdzoug"], ["created_at", "2015-10-30 23:14:38.951217"], ["updated_at", "2015-10-30 23:14:38.951217"]]  (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", "2015-10-30 23:14:38.955711"], ["updated_at", "2015-10-30 23:14:38.955711"]]  (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", "2015-10-30 23:14:38.959096"], ["updated_at", "2015-10-30 23:14:38.959096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:38.963187"], ["updated_at", "2015-10-30 23:14:38.963187"]] 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", "2015-10-30 23:14:38.965534"], ["updated_at", "2015-10-30 23:14:38.965534"]] 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.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$1MYmIPO1Z6nEvGOPgKkIuew2gaL1rCK5b1gFMcfeAUMA/JXgrKhLu"], ["remember_token", "z754nijntuJnIpZ8qQGKoA"], ["created_at", "2015-10-30 23:14:38.973406"], ["updated_at", "2015-10-30 23:14:38.973406"]]  (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", "2015-10-30 23:14:38.976689"], ["updated_at", "2015-10-30 23:14:38.976689"]]  (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 1 [["remember_token", "-FM-G5I9Q4qkqLfPPdzoug"]] Article Load (0.3ms) 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.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.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" = '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" = 1 AND "adeia_elements"."name" = 'articles' [["read_right", "t"]] Rendered articles/show.html.erb within layouts/application (0.6ms) Completed 200 OK in 18ms (Views: 6.0ms | ActiveRecord: 1.3ms)  (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$1PHlaiazu5iHhx7tFB7Xw.1DLWr4U1pPAhQ0DeYDJotjAEvEGdO8e"], ["remember_token", "dQ8e__LbMhQZqwE4-_WPCw"], ["created_at", "2015-10-30 23:14:39.003422"], ["updated_at", "2015-10-30 23:14:39.003422"]]  (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", "2015-10-30 23:14:39.007880"], ["updated_at", "2015-10-30 23:14:39.007880"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.8ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:39.016407"], ["updated_at", "2015-10-30 23:14:39.016407"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:39.024800"], ["updated_at", "2015-10-30 23:14:39.024800"]] 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", "2015-10-30 23:14:39.030046"], ["updated_at", "2015-10-30 23:14:39.030046"]] 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.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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$PrjqFIjC2zHcM1TfObYYJeUA3n1XDDN9ifHPzzTGASyS9.3iTN3Xi"], ["remember_token", "vcAT_Yq3ZcrpeRQd2lOuaQ"], ["created_at", "2015-10-30 23:14:39.041600"], ["updated_at", "2015-10-30 23:14:39.041600"]]  (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", "2015-10-30 23:14:39.044380"], ["updated_at", "2015-10-30 23:14:39.044380"]]  (0.2ms) 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", "dQ8e__LbMhQZqwE4-_WPCw"]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]] Adeia::Token Load (0.3ms) 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.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"]] Rendered articles/show.html.erb within layouts/application (0.6ms) Completed 200 OK in 9ms (Views: 2.0ms | ActiveRecord: 0.9ms)  (1.1ms) rollback transaction  (0.2ms) 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$BtYXop4BrDFZB71Vmp73MOloVVi9drMxBtZZD9q4xVQgoIJeYpS26"], ["remember_token", "ijnBoRWBg9G7hiuM-N54RQ"], ["created_at", "2015-10-30 23:14:39.065334"], ["updated_at", "2015-10-30 23:14:39.065334"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:14:39.070765"], ["updated_at", "2015-10-30 23:14:39.070765"]]  (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", "2015-10-30 23:14:39.075553"], ["updated_at", "2015-10-30 23:14:39.075553"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:39.079276"], ["updated_at", "2015-10-30 23:14:39.079276"]] 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", "2015-10-30 23:14:39.080590"], ["updated_at", "2015-10-30 23:14:39.080590"]] 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 Processing by ArticlesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "ijnBoRWBg9G7hiuM-N54RQ"]] Adeia::Token Load (0.3ms) 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 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 11ms (Views: 4.9ms | ActiveRecord: 0.8ms)  (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$6XeO7GcdzWM8Dp5ka3LNSeBuzkCnZMfWjvbPZ0tL5hnXgD3zNqD1G"], ["remember_token", "qONHrrM13r_LvSs4ZTfhHQ"], ["created_at", "2015-10-30 23:14:39.104159"], ["updated_at", "2015-10-30 23:14:39.104159"]]  (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", "2015-10-30 23:14:39.108049"], ["updated_at", "2015-10-30 23:14:39.108049"]]  (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", "2015-10-30 23:14:39.111899"], ["updated_at", "2015-10-30 23:14:39.111899"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:39.115399"], ["updated_at", "2015-10-30 23:14:39.115399"]] 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", "2015-10-30 23:14:39.117639"], ["updated_at", "2015-10-30 23:14:39.117639"]] 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.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$X9abRXNH/nUBVAh2dxTc2umkAWQbad/lkdJ2/e3CQ35V/vKhwzDG6"], ["remember_token", "t6SG4SinubxAGLjhx8Xppw"], ["created_at", "2015-10-30 23:14:39.126629"], ["updated_at", "2015-10-30 23:14:39.126629"]]  (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", "2015-10-30 23:14:39.130769"], ["updated_at", "2015-10-30 23:14:39.130769"]]  (0.2ms) 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", "qONHrrM13r_LvSs4ZTfhHQ"]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]] Adeia::Token Load (0.4ms) 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.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" = 1 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] Rendered articles/edit.html.erb within layouts/application (0.6ms) Completed 200 OK in 11ms (Views: 4.3ms | ActiveRecord: 1.3ms)  (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$1QBa1NDLeXmeeTrL58EWRuXa0CqLk.lTxSKDtFBEuPs9QruSNWDB."], ["remember_token", "KVl-091C92-QIfgAhbnsVg"], ["created_at", "2015-10-30 23:14:39.151767"], ["updated_at", "2015-10-30 23:14:39.151767"]]  (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", "2015-10-30 23:14:39.155875"], ["updated_at", "2015-10-30 23:14:39.155875"]]  (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", "2015-10-30 23:14:39.159076"], ["updated_at", "2015-10-30 23:14:39.159076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:39.163759"], ["updated_at", "2015-10-30 23:14:39.163759"]] 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", "2015-10-30 23:14:39.165726"], ["updated_at", "2015-10-30 23:14:39.165726"]] 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 User Load (0.1ms) 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$npX0k.XN0Hvxtc7xxkUTE.AWu9MkmlOfIhtfKGArzuEkCbSz0Ht5e"], ["remember_token", "IVWtg9IbKpLVoR0M9B5Xeg"], ["created_at", "2015-10-30 23:14:39.175176"], ["updated_at", "2015-10-30 23:14:39.175176"]]  (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", "2015-10-30 23:14:39.179007"], ["updated_at", "2015-10-30 23:14:39.179007"]]  (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", "KVl-091C92-QIfgAhbnsVg"]] Article Load (0.0ms) 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.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"."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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (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", "2015-10-30 23:14:39.193184"], ["updated_at", "2015-10-30 23:14:39.193184"]]  (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", "2015-10-30 23:14:39.195743"], ["updated_at", "2015-10-30 23:14:39.195743"]]  (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", "2015-10-30 23:14:39.198348"], ["updated_at", "2015-10-30 23:14:39.198348"]]  (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", "2015-10-30 23:14:39.205608"], ["updated_at", "2015-10-30 23:14:39.205608"]]  (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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:39.208265"], ["updated_at", "2015-10-30 23:14:39.208265"]]  (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", "2015-10-30 23:14:39.219944"], ["updated_at", "2015-10-30 23:14:39.219944"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:39.222837"], ["updated_at", "2015-10-30 23:14:39.222837"]]  (0.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:39.230158"], ["updated_at", "2015-10-30 23:14:39.230158"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:14:39.232814"], ["updated_at", "2015-10-30 23:14:39.232814"]]  (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", "2015-10-30 23:14:39.237797"], ["updated_at", "2015-10-30 23:14:39.237797"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.2ms) 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", "2015-10-30 23:14:39.246160"], ["updated_at", "2015-10-30 23:14:39.246160"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:14:39.249777"], ["updated_at", "2015-10-30 23:14:39.249777"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:39.253169"], ["updated_at", "2015-10-30 23:14:39.253169"]]  (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", "2015-10-30 23:14:39.262293"], ["updated_at", "2015-10-30 23:14:39.262293"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:14:39.265023"], ["updated_at", "2015-10-30 23:14:39.265023"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Adeia::Permission Load (0.5ms) SELECT "adeia_permissions".* FROM "adeia_permissions" WHERE "adeia_permissions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) 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.8ms) 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.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:49.057524"], ["updated_at", "2015-10-30 23:14:49.057524"]]  (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 (1.0ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:49.074519"], ["updated_at", "2015-10-30 23:14:49.074519"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:14:49.110775"], ["updated_at", "2015-10-30 23:14:49.110775"]] 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", "2015-10-30 23:14:49.113718"], ["updated_at", "2015-10-30 23:14:49.113718"]] 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.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.1ms) 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", "2015-10-30 23:14:49.129865"], ["updated_at", "2015-10-30 23:14:49.129865"]]  (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", "2015-10-30 23:14:49.134512"], ["updated_at", "2015-10-30 23:14:49.134512"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.140935"], ["updated_at", "2015-10-30 23:14:49.140935"]] 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", "2015-10-30 23:14:49.143209"], ["updated_at", "2015-10-30 23:14:49.143209"]] 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" = 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.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" = 1003 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:49.155753"], ["updated_at", "2015-10-30 23:14:49.155753"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:49.158467"], ["updated_at", "2015-10-30 23:14:49.158467"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.162962"], ["updated_at", "2015-10-30 23:14:49.162962"]] 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", "2015-10-30 23:14:49.164498"], ["updated_at", "2015-10-30 23:14:49.164498"]] 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.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" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (0.9ms) 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", "2015-10-30 23:14:49.175724"], ["updated_at", "2015-10-30 23:14:49.175724"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:49.178327"], ["updated_at", "2015-10-30 23:14:49.178327"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.181477"], ["updated_at", "2015-10-30 23:14:49.181477"]] 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", "2015-10-30 23:14:49.183430"], ["updated_at", "2015-10-30 23:14:49.183430"]] 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.1ms) 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"]]  (0.9ms) 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", "2015-10-30 23:14:49.192739"], ["updated_at", "2015-10-30 23:14:49.192739"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:49.195297"], ["updated_at", "2015-10-30 23:14:49.195297"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.200480"], ["updated_at", "2015-10-30 23:14:49.200480"]] 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", "2015-10-30 23:14:49.201996"], ["updated_at", "2015-10-30 23:14:49.201996"]] 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:49.212821"], ["updated_at", "2015-10-30 23:14:49.212821"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:49.215617"], ["updated_at", "2015-10-30 23:14:49.215617"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.218949"], ["updated_at", "2015-10-30 23:14:49.218949"]] 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", "2015-10-30 23:14:49.221397"], ["updated_at", "2015-10-30 23:14:49.221397"]] 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" = 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"."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.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" = 1007 AND "adeia_elements"."name" = 'admin/articles' [["update_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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:49.232885"], ["updated_at", "2015-10-30 23:14:49.232885"]]  (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", "2015-10-30 23:14:49.237454"], ["updated_at", "2015-10-30 23:14:49.237454"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.241901"], ["updated_at", "2015-10-30 23:14:49.241901"]] 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", "2015-10-30 23:14:49.243455"], ["updated_at", "2015-10-30 23:14:49.243455"]] 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" = 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"]]  (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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:49.256073"], ["updated_at", "2015-10-30 23:14:49.256073"]]  (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", "2015-10-30 23:14:49.261182"], ["updated_at", "2015-10-30 23:14:49.261182"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:14:49.265533"], ["updated_at", "2015-10-30 23:14:49.265533"]] 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", "2015-10-30 23:14:49.267189"], ["updated_at", "2015-10-30 23:14:49.267189"]] 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.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.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"."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.2ms) 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.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", "2015-10-30 23:14:49.280332"], ["updated_at", "2015-10-30 23:14:49.280332"]]  (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", "2015-10-30 23:14:49.284747"], ["updated_at", "2015-10-30 23:14:49.284747"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.290491"], ["updated_at", "2015-10-30 23:14:49.290491"]] 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", "2015-10-30 23:14:49.292205"], ["updated_at", "2015-10-30 23:14:49.292205"]] 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" = 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" = 'admin/articles' AND "adeia_actions"."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" = '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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:49.304937"], ["updated_at", "2015-10-30 23:14:49.304937"]]  (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", "2015-10-30 23:14:49.308038"], ["updated_at", "2015-10-30 23:14:49.308038"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.312751"], ["updated_at", "2015-10-30 23:14:49.312751"]] 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", "2015-10-30 23:14:49.315149"], ["updated_at", "2015-10-30 23:14:49.315149"]] 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 (2.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "77U9Jdjk4BzkPx48vtz0NQ"], ["is_valid", "t"], ["adeia_permission_id", 1], ["exp_at", "2015-11-30"], ["created_at", "2015-10-30 23:14:49.322401"], ["updated_at", "2015-10-30 23:14:49.322401"]]  (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", "77U9Jdjk4BzkPx48vtz0NQ"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:49.370939"], ["updated_at", "2015-10-30 23:14:49.370939"]]  (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", "2015-10-30 23:14:49.374178"], ["updated_at", "2015-10-30 23:14:49.374178"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.378584"], ["updated_at", "2015-10-30 23:14:49.378584"]] 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", "2015-10-30 23:14:49.380262"], ["updated_at", "2015-10-30 23:14:49.380262"]] 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" = 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.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", "2015-10-30 23:14:49.394375"], ["updated_at", "2015-10-30 23:14:49.394375"]]  (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", "2015-10-30 23:14:49.397418"], ["updated_at", "2015-10-30 23:14:49.397418"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.402148"], ["updated_at", "2015-10-30 23:14:49.402148"]] 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", "2015-10-30 23:14:49.404450"], ["updated_at", "2015-10-30 23:14:49.404450"]] 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" = 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"."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.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" = 1013 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", "2015-10-30 23:14:49.419958"], ["updated_at", "2015-10-30 23:14:49.419958"]]  (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", "2015-10-30 23:14:49.424738"], ["updated_at", "2015-10-30 23:14:49.424738"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.430635"], ["updated_at", "2015-10-30 23:14:49.430635"]] 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", "2015-10-30 23:14:49.432399"], ["updated_at", "2015-10-30 23:14:49.432399"]] 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.4ms) 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" = 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"."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.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" = 1016 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.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:49.455253"], ["updated_at", "2015-10-30 23:14:49.455253"]]  (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", "2015-10-30 23:14:49.460670"], ["updated_at", "2015-10-30 23:14:49.460670"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.466114"], ["updated_at", "2015-10-30 23:14:49.466114"]] 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", "2015-10-30 23:14:49.468566"], ["updated_at", "2015-10-30 23:14:49.468566"]] 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.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.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" = 1018 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" = 1018 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:49.485782"], ["updated_at", "2015-10-30 23:14:49.485782"]]  (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", "2015-10-30 23:14:49.488953"], ["updated_at", "2015-10-30 23:14:49.488953"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.492744"], ["updated_at", "2015-10-30 23:14:49.492744"]] 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", "2015-10-30 23:14:49.494124"], ["updated_at", "2015-10-30 23:14:49.494124"]] 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.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" = 1020 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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", "2015-10-30 23:14:49.505442"], ["updated_at", "2015-10-30 23:14:49.505442"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:49.508042"], ["updated_at", "2015-10-30 23:14:49.508042"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.513101"], ["updated_at", "2015-10-30 23:14:49.513101"]] 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", "2015-10-30 23:14:49.514816"], ["updated_at", "2015-10-30 23:14:49.514816"]] 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.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" = 1022 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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.8ms) 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", "2015-10-30 23:14:49.538478"], ["updated_at", "2015-10-30 23:14:49.538478"]]  (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", "2015-10-30 23:14:49.544798"], ["updated_at", "2015-10-30 23:14:49.544798"]]  (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", "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", "2015-10-30 23:14:49.551016"], ["updated_at", "2015-10-30 23:14:49.551016"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:49.555311"], ["updated_at", "2015-10-30 23:14:49.555311"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.561131"], ["updated_at", "2015-10-30 23:14:49.561131"]] 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", "2015-10-30 23:14:49.563357"], ["updated_at", "2015-10-30 23:14:49.563357"]] 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" = 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"."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.0ms) 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$8vjfe/j.Y/shKFNVU/bSUeeseUSZOu9Cp.RSMm9eUcGxddH.VcHpu"], ["remember_token", "Dw0l32XfIGNznGnIbQlR0A"], ["created_at", "2015-10-30 23:14:49.582738"], ["updated_at", "2015-10-30 23:14:49.582738"]]  (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", "2015-10-30 23:14:49.586780"], ["updated_at", "2015-10-30 23:14:49.586780"]]  (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", "2015-10-30 23:14:49.589638"], ["updated_at", "2015-10-30 23:14:49.589638"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.592768"], ["updated_at", "2015-10-30 23:14:49.592768"]] 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", "2015-10-30 23:14:49.594097"], ["updated_at", "2015-10-30 23:14:49.594097"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "Dw0l32XfIGNznGnIbQlR0A"]] 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.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" = 'articles' [["read_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"."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 29ms (Views: 22.1ms | ActiveRecord: 0.8ms)  (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$WqH/WZqlC2B1h3uceJ7zCuqod/rsguZRJlta6IBvKbFHjvQIrfkQW"], ["remember_token", "POnuAdp5mvGCxCV6Zdm_Lw"], ["created_at", "2015-10-30 23:14:49.635188"], ["updated_at", "2015-10-30 23:14:49.635188"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:14:49.640104"], ["updated_at", "2015-10-30 23:14:49.640104"]]  (0.6ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:49.645570"], ["updated_at", "2015-10-30 23:14:49.645570"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.650031"], ["updated_at", "2015-10-30 23:14:49.650031"]] 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", "2015-10-30 23:14:49.651713"], ["updated_at", "2015-10-30 23:14:49.651713"]] 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", "POnuAdp5mvGCxCV6Zdm_Lw"]] 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.1ms | 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$7g/cdwoav4ayvjpf9yqtteOjVtVSuHDeidCAfNdPQCs/v6Z7dI5CG"], ["remember_token", "ZKd7vDhv5TpyOmiTc08blA"], ["created_at", "2015-10-30 23:14:49.668155"], ["updated_at", "2015-10-30 23:14:49.668155"]]  (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", "2015-10-30 23:14:49.672779"], ["updated_at", "2015-10-30 23:14:49.672779"]]  (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", "2015-10-30 23:14:49.676486"], ["updated_at", "2015-10-30 23:14:49.676486"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.680043"], ["updated_at", "2015-10-30 23:14:49.680043"]] 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", "2015-10-30 23:14:49.681713"], ["updated_at", "2015-10-30 23:14:49.681713"]] 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.2ms) 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$WZOyhHkWdR.uXIUnPuln3u4MVmSvvrxCT9odHEdR4memFGIbmlCKC"], ["remember_token", "zTHDlAGAmCDU99BdCB_cbA"], ["created_at", "2015-10-30 23:14:49.696435"], ["updated_at", "2015-10-30 23:14:49.696435"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-30 23:14:49.700110"], ["updated_at", "2015-10-30 23:14:49.700110"]]  (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.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", "2015-10-30 23:14:49.704433"], ["updated_at", "2015-10-30 23:14:49.704433"]]  (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", "2015-10-30 23:14:49.708112"], ["updated_at", "2015-10-30 23:14:49.708112"]]  (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.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", "2015-10-30 23:14:49.710958"], ["updated_at", "2015-10-30 23:14:49.710958"]]  (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", "2015-10-30 23:14:49.714478"], ["updated_at", "2015-10-30 23:14:49.714478"]]  (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", "ZKd7vDhv5TpyOmiTc08blA"]] 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" = 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.3ms) 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 9ms (Views: 1.6ms | ActiveRecord: 0.9ms)  (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$JWos6LcFFlOpu/yG9nBOcuOLqinmwJUnkt1/pVTMB/tkXruF.s3xK"], ["remember_token", "eDk8PTpqFRJA6Ar0nVX0Hw"], ["created_at", "2015-10-30 23:14:49.735077"], ["updated_at", "2015-10-30 23:14:49.735077"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:14:49.740805"], ["updated_at", "2015-10-30 23:14:49.740805"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:49.745776"], ["updated_at", "2015-10-30 23:14:49.745776"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.751110"], ["updated_at", "2015-10-30 23:14:49.751110"]] 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", "2015-10-30 23:14:49.753705"], ["updated_at", "2015-10-30 23:14:49.753705"]] 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 "articles" ("title", "content", "user_id", "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", "2015-10-30 23:14:49.759249"], ["updated_at", "2015-10-30 23:14:49.759249"]]  (0.2ms) 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", "2015-10-30 23:14:49.761511"], ["updated_at", "2015-10-30 23:14:49.761511"]]  (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", "2015-10-30 23:14:49.763395"], ["updated_at", "2015-10-30 23:14:49.763395"]]  (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", "2015-10-30 23:14:49.766072"], ["updated_at", "2015-10-30 23:14:49.766072"]]  (0.3ms) 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", "2015-10-30 23:14:49.771021"], ["updated_at", "2015-10-30 23:14:49.771021"]]  (0.2ms) 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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$wpt/BCANc8eeH/XEr0Led.1WQ88Y2T0lsgQtAWA5MJrngk3xpTcEK"], ["remember_token", "NxZAPGQ7i666Kz3P1PaDYA"], ["created_at", "2015-10-30 23:14:49.777906"], ["updated_at", "2015-10-30 23:14:49.777906"]]  (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", "2015-10-30 23:14:49.779751"], ["updated_at", "2015-10-30 23:14:49.779751"]]  (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", "2015-10-30 23:14:49.782170"], ["updated_at", "2015-10-30 23:14:49.782170"]]  (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", "2015-10-30 23:14:49.784292"], ["updated_at", "2015-10-30 23:14:49.784292"]]  (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", "2015-10-30 23:14:49.786782"], ["updated_at", "2015-10-30 23:14:49.786782"]]  (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", "2015-10-30 23:14:49.789478"], ["updated_at", "2015-10-30 23:14:49.789478"]]  (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", "eDk8PTpqFRJA6Ar0nVX0Hw"]] 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.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.4ms) Completed 200 OK in 9ms (Views: 1.5ms | ActiveRecord: 0.8ms) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (2.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$R.5LMCQgXT30MZ.Tb3/PSu4OWaYDmqxiAHFgqNOiEXezIeRrjuzJ6"], ["remember_token", "_qMfqJwzAQRAXJ66TtMfGw"], ["created_at", "2015-10-30 23:14:49.808133"], ["updated_at", "2015-10-30 23:14:49.808133"]]  (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", "2015-10-30 23:14:49.811473"], ["updated_at", "2015-10-30 23:14:49.811473"]]  (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", "2015-10-30 23:14:49.814620"], ["updated_at", "2015-10-30 23:14:49.814620"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.818919"], ["updated_at", "2015-10-30 23:14:49.818919"]] 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", "2015-10-30 23:14:49.820971"], ["updated_at", "2015-10-30 23:14:49.820971"]] 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.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", "2015-10-30 23:14:49.827083"], ["updated_at", "2015-10-30 23:14:49.827083"]]  (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", "2015-10-30 23:14:49.829097"], ["updated_at", "2015-10-30 23:14:49.829097"]]  (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", "2015-10-30 23:14:49.830748"], ["updated_at", "2015-10-30 23:14:49.830748"]]  (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", "2015-10-30 23:14:49.832294"], ["updated_at", "2015-10-30 23:14:49.832294"]]  (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", "2015-10-30 23:14:49.833803"], ["updated_at", "2015-10-30 23:14:49.833803"]]  (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$EWY2dk2FZZkZeCFfA3oRWe/4uf8IOlZP3C40EIydfXav8nfRz.lnS"], ["remember_token", "IsHDGw-fFWwkW_k8JJY2tw"], ["created_at", "2015-10-30 23:14:49.838106"], ["updated_at", "2015-10-30 23:14:49.838106"]]  (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", "2015-10-30 23:14:49.840485"], ["updated_at", "2015-10-30 23:14:49.840485"]]  (0.2ms) 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.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", "2015-10-30 23:14:49.845866"], ["updated_at", "2015-10-30 23:14:49.845866"]]  (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", "2015-10-30 23:14:49.849271"], ["updated_at", "2015-10-30 23:14:49.849271"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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", "2015-10-30 23:14:49.854747"], ["updated_at", "2015-10-30 23:14:49.854747"]]  (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.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", "2015-10-30 23:14:49.859620"], ["updated_at", "2015-10-30 23:14:49.859620"]]  (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", "2015-10-30 23:14:49.863081"], ["updated_at", "2015-10-30 23:14:49.863081"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.871237"], ["updated_at", "2015-10-30 23:14:49.871237"]] 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", "2015-10-30 23:14:49.873914"], ["updated_at", "2015-10-30 23:14:49.873914"]] 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", "_qMfqJwzAQRAXJ66TtMfGw"]] 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.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.4ms) Completed 200 OK in 9ms (Views: 1.5ms | ActiveRecord: 0.8ms) Article Load (0.3ms) 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.5ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$N3CCrWpXzoZ2Pom2JhX/TOKhflDSctBFvJnqX7743NhkfCO4Clh.6"], ["remember_token", "8KHJb7CWQrt4GFG3t4PDnQ"], ["created_at", "2015-10-30 23:14:49.897334"], ["updated_at", "2015-10-30 23:14:49.897334"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$JVZsjKmZZ21MRD9rBclkuOsb.qE1w5muGSJaPcW5mNsnAe813KJnS"], ["remember_token", "lSqmuV0HHSLTiZa-jGptGA"], ["created_at", "2015-10-30 23:14:49.904087"], ["updated_at", "2015-10-30 23:14:49.904087"]]  (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", "2015-10-30 23:14:49.906981"], ["updated_at", "2015-10-30 23:14:49.906981"]]  (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 "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-30 23:14:49.909411"], ["updated_at", "2015-10-30 23:14:49.909411"]]  (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", "2015-10-30 23:14:49.912146"], ["updated_at", "2015-10-30 23:14:49.912146"]]  (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", "2015-10-30 23:14:49.914495"], ["updated_at", "2015-10-30 23:14:49.914495"]]  (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", "2015-10-30 23:14:49.917052"], ["updated_at", "2015-10-30 23:14:49.917052"]]  (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", "2015-10-30 23:14:49.919534"], ["updated_at", "2015-10-30 23:14:49.919534"]]  (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.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", "2015-10-30 23:14:49.921757"], ["updated_at", "2015-10-30 23:14:49.921757"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:14:49.925513"], ["updated_at", "2015-10-30 23:14:49.925513"]]  (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", "2015-10-30 23:14:49.930073"], ["updated_at", "2015-10-30 23:14:49.930073"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.934270"], ["updated_at", "2015-10-30 23:14:49.934270"]] 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", "2015-10-30 23:14:49.936201"], ["updated_at", "2015-10-30 23:14:49.936201"]] 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.946079"], ["updated_at", "2015-10-30 23:14:49.946079"]] 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", "2015-10-30 23:14:49.948126"], ["updated_at", "2015-10-30 23:14:49.948126"]] 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", "8KHJb7CWQrt4GFG3t4PDnQ"]] 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)  (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$mzH7.HxsHus2tCEW56Bc8.5kuzOTe0EgKNCb7ZsJKXxxOKRmAFttS"], ["remember_token", "JXPKnpeWHJBGcwckM-MheQ"], ["created_at", "2015-10-30 23:14:49.973080"], ["updated_at", "2015-10-30 23:14:49.973080"]]  (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", "2015-10-30 23:14:49.976899"], ["updated_at", "2015-10-30 23:14:49.976899"]]  (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", "2015-10-30 23:14:49.980560"], ["updated_at", "2015-10-30 23:14:49.980560"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:49.984011"], ["updated_at", "2015-10-30 23:14:49.984011"]] 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", "2015-10-30 23:14:49.985500"], ["updated_at", "2015-10-30 23:14:49.985500"]] 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 User Load (0.2ms) 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$crw0YHnlg1Df9bf.ybAqM.XtUz4cvaXz38cIhS1X0WY5Vtd0D34Jm"], ["remember_token", "mqDpqZsf5GM5vVbgWuilxQ"], ["created_at", "2015-10-30 23:14:49.994305"], ["updated_at", "2015-10-30 23:14:49.994305"]]  (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", "2015-10-30 23:14:49.997108"], ["updated_at", "2015-10-30 23:14:49.997108"]]  (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 1 [["remember_token", "JXPKnpeWHJBGcwckM-MheQ"]] Article Load (0.2ms) 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.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::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 articles/show.html.erb within layouts/application (0.4ms) Completed 200 OK in 11ms (Views: 3.8ms | ActiveRecord: 1.0ms)  (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$5r8KDY1bPJN/lY12BoZKKOiZrwdells7rrc7R1G3o1vAMQ.103G5i"], ["remember_token", "_VkUBvHEn4O0qV-EomrsIQ"], ["created_at", "2015-10-30 23:14:50.017359"], ["updated_at", "2015-10-30 23:14:50.017359"]]  (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", "2015-10-30 23:14:50.020865"], ["updated_at", "2015-10-30 23:14:50.020865"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:50.024179"], ["updated_at", "2015-10-30 23:14:50.024179"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:50.028520"], ["updated_at", "2015-10-30 23:14:50.028520"]] 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", "2015-10-30 23:14:50.030052"], ["updated_at", "2015-10-30 23:14:50.030052"]] 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.1ms) 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$hx4JVUcM4ylLiQc3gQyfGugplA2YcsaCiZA3AtOZ0Ol3BZNnBfQEK"], ["remember_token", "oh8VrTxlMY6RjMsz1yYLnQ"], ["created_at", "2015-10-30 23:14:50.037253"], ["updated_at", "2015-10-30 23:14:50.037253"]]  (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", "2015-10-30 23:14:50.039231"], ["updated_at", "2015-10-30 23:14:50.039231"]]  (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 1 [["remember_token", "_VkUBvHEn4O0qV-EomrsIQ"]] 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.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 articles/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (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$CT3RhU6ZrbyvqSGG09mwkulLZYoWqGo1kWpNIZ/LMHbfF5gjMb4lG"], ["remember_token", "7c5TqzkoRgs9PHMBOq1lCA"], ["created_at", "2015-10-30 23:14:50.052975"], ["updated_at", "2015-10-30 23:14:50.052975"]]  (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", "2015-10-30 23:14:50.056651"], ["updated_at", "2015-10-30 23:14:50.056651"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:50.060385"], ["updated_at", "2015-10-30 23:14:50.060385"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:50.064825"], ["updated_at", "2015-10-30 23:14:50.064825"]] 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", "2015-10-30 23:14:50.066799"], ["updated_at", "2015-10-30 23:14:50.066799"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "7c5TqzkoRgs9PHMBOq1lCA"]] 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 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.3ms) Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.6ms)  (0.8ms) 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$YYp4n0c4CDCyPvuk0TaVxeO1cjyxHXcAaA8kHHguvkB45Ygiku8e6"], ["remember_token", "8OcT7bcowJ0xgBzi0Rt8vw"], ["created_at", "2015-10-30 23:14:50.086300"], ["updated_at", "2015-10-30 23:14:50.086300"]]  (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", "2015-10-30 23:14:50.090613"], ["updated_at", "2015-10-30 23:14:50.090613"]]  (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", "2015-10-30 23:14:50.093540"], ["updated_at", "2015-10-30 23:14:50.093540"]]  (0.0ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:50.096400"], ["updated_at", "2015-10-30 23:14:50.096400"]] 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", "2015-10-30 23:14:50.099131"], ["updated_at", "2015-10-30 23:14:50.099131"]] 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 User Load (0.1ms) 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$pwRIQC4q8qWkU6wBstgnS./2nZlO6fgaMhqqn6U/VMCwiaZDXMDvy"], ["remember_token", "1DNcTWFANJ5G8eifCyHRAg"], ["created_at", "2015-10-30 23:14:50.107997"], ["updated_at", "2015-10-30 23:14:50.107997"]]  (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", "2015-10-30 23:14:50.110254"], ["updated_at", "2015-10-30 23:14:50.110254"]]  (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", "8OcT7bcowJ0xgBzi0Rt8vw"]] 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.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.3ms) Completed 200 OK in 8ms (Views: 2.8ms | 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$7PaKNXQsq8Se0yZXcP9VXORBdrlgWIBX4i2WhqaFlJJ/USUtdwCsa"], ["remember_token", "lvYhj8OgvYUoCe51rQj8Kg"], ["created_at", "2015-10-30 23:14:50.126677"], ["updated_at", "2015-10-30 23:14:50.126677"]]  (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", "2015-10-30 23:14:50.130066"], ["updated_at", "2015-10-30 23:14:50.130066"]]  (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", "2015-10-30 23:14:50.133116"], ["updated_at", "2015-10-30 23:14:50.133116"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:14:50.136275"], ["updated_at", "2015-10-30 23:14:50.136275"]] 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", "2015-10-30 23:14:50.137546"], ["updated_at", "2015-10-30 23:14:50.137546"]] 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.1ms) 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$OxTlwHTkJpjLc6Npc3YfGOPdZc8Cbd7scP07/AIP84v0MxiAf/yye"], ["remember_token", "oldhspgzqDv9nQfS_-hZIw"], ["created_at", "2015-10-30 23:14:50.143577"], ["updated_at", "2015-10-30 23:14:50.143577"]]  (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", "2015-10-30 23:14:50.145198"], ["updated_at", "2015-10-30 23:14:50.145198"]]  (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", "lvYhj8OgvYUoCe51rQj8Kg"]] 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.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"."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.5ms) Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.8ms)  (1.2ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:50.160342"], ["updated_at", "2015-10-30 23:14:50.160342"]]  (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", "2015-10-30 23:14:50.163383"], ["updated_at", "2015-10-30 23:14:50.163383"]]  (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", "2015-10-30 23:14:50.166057"], ["updated_at", "2015-10-30 23:14:50.166057"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:50.172968"], ["updated_at", "2015-10-30 23:14:50.172968"]]  (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", "2015-10-30 23:14:50.177022"], ["updated_at", "2015-10-30 23:14:50.177022"]]  (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 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:14:50.184819"], ["updated_at", "2015-10-30 23:14:50.184819"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:50.187333"], ["updated_at", "2015-10-30 23:14:50.187333"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:14:50.194518"], ["updated_at", "2015-10-30 23:14:50.194518"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:14:50.197942"], ["updated_at", "2015-10-30 23:14:50.197942"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:50.201974"], ["updated_at", "2015-10-30 23:14:50.201974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "2015-10-30 23:14:50.213924"], ["updated_at", "2015-10-30 23:14:50.213924"]]  (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", "2015-10-30 23:14:50.216566"], ["updated_at", "2015-10-30 23:14:50.216566"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:14:50.219527"], ["updated_at", "2015-10-30 23:14:50.219527"]]  (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", "2015-10-30 23:14:50.227694"], ["updated_at", "2015-10-30 23:14:50.227694"]]  (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.8ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:14:50.229967"], ["updated_at", "2015-10-30 23:14:50.229967"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (1.0ms) 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 1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Adeia::Permission Load (1.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" WHERE "adeia_permissions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) 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.8ms) SELECT "adeia_groups".* 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.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" = 1001 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:11.900415"], ["updated_at", "2015-10-30 23:15:11.900415"]]  (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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:11.914103"], ["updated_at", "2015-10-30 23:15:11.914103"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:15:11.939586"], ["updated_at", "2015-10-30 23:15:11.939586"]] 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", "2015-10-30 23:15:11.942681"], ["updated_at", "2015-10-30 23:15:11.942681"]] 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" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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", "2015-10-30 23:15:11.956085"], ["updated_at", "2015-10-30 23:15:11.956085"]]  (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", "2015-10-30 23:15:11.959794"], ["updated_at", "2015-10-30 23:15:11.959794"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:11.964004"], ["updated_at", "2015-10-30 23:15:11.964004"]] 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", "2015-10-30 23:15:11.965624"], ["updated_at", "2015-10-30 23:15:11.965624"]] 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" = 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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) 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", "2015-10-30 23:15:11.979456"], ["updated_at", "2015-10-30 23:15:11.979456"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:11.984288"], ["updated_at", "2015-10-30 23:15:11.984288"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:11.990470"], ["updated_at", "2015-10-30 23:15:11.990470"]] 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", "2015-10-30 23:15:11.992208"], ["updated_at", "2015-10-30 23:15:11.992208"]] 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.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" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_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", "2015-10-30 23:15:12.004589"], ["updated_at", "2015-10-30 23:15:12.004589"]]  (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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:12.008876"], ["updated_at", "2015-10-30 23:15:12.008876"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.013960"], ["updated_at", "2015-10-30 23:15:12.013960"]] 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", "2015-10-30 23:15:12.015586"], ["updated_at", "2015-10-30 23:15:12.015586"]] 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" = 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"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1005 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (0.9ms) 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", "2015-10-30 23:15:12.026901"], ["updated_at", "2015-10-30 23:15:12.026901"]]  (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", "2015-10-30 23:15:12.030638"], ["updated_at", "2015-10-30 23:15:12.030638"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.034951"], ["updated_at", "2015-10-30 23:15:12.034951"]] 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", "2015-10-30 23:15:12.036643"], ["updated_at", "2015-10-30 23:15:12.036643"]] 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.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"]]  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:12.051290"], ["updated_at", "2015-10-30 23:15:12.051290"]]  (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", "2015-10-30 23:15:12.054325"], ["updated_at", "2015-10-30 23:15:12.054325"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.059224"], ["updated_at", "2015-10-30 23:15:12.059224"]] 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", "2015-10-30 23:15:12.060868"], ["updated_at", "2015-10-30 23:15:12.060868"]] 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" = 1007  (0.7ms) 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.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", "2015-10-30 23:15:12.072706"], ["updated_at", "2015-10-30 23:15:12.072706"]]  (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", "2015-10-30 23:15:12.075854"], ["updated_at", "2015-10-30 23:15:12.075854"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (5.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.081254"], ["updated_at", "2015-10-30 23:15:12.081254"]] 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", "2015-10-30 23:15:12.097922"], ["updated_at", "2015-10-30 23:15:12.097922"]] 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.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.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" = 1008 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" = 1008 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.9ms) rollback transaction  (0.2ms) 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", "2015-10-30 23:15:12.128260"], ["updated_at", "2015-10-30 23:15:12.128260"]]  (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.8ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:12.133473"], ["updated_at", "2015-10-30 23:15:12.133473"]]  (0.2ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:15:12.151007"], ["updated_at", "2015-10-30 23:15:12.151007"]] 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", "2015-10-30 23:15:12.153671"], ["updated_at", "2015-10-30 23:15:12.153671"]] 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.3ms) 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" = 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"."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"]]  (3.5ms) 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", "2015-10-30 23:15:12.179086"], ["updated_at", "2015-10-30 23:15:12.179086"]]  (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", "2015-10-30 23:15:12.183480"], ["updated_at", "2015-10-30 23:15:12.183480"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.187367"], ["updated_at", "2015-10-30 23:15:12.187367"]] 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", "2015-10-30 23:15:12.188914"], ["updated_at", "2015-10-30 23:15:12.188914"]] 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" = 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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-30 23:15:12.202067"], ["updated_at", "2015-10-30 23:15:12.202067"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:12.205140"], ["updated_at", "2015-10-30 23:15:12.205140"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.210054"], ["updated_at", "2015-10-30 23:15:12.210054"]] 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", "2015-10-30 23:15:12.212022"], ["updated_at", "2015-10-30 23:15:12.212022"]] 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", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "maDNpdjnWaXBK8IwevwMTQ"], ["is_valid", "t"], ["adeia_permission_id", 1], ["exp_at", "2015-11-30"], ["created_at", "2015-10-30 23:15:12.216931"], ["updated_at", "2015-10-30 23:15:12.216931"]]  (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", "maDNpdjnWaXBK8IwevwMTQ"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) 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", "2015-10-30 23:15:12.264858"], ["updated_at", "2015-10-30 23:15:12.264858"]]  (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", "2015-10-30 23:15:12.268696"], ["updated_at", "2015-10-30 23:15:12.268696"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.272993"], ["updated_at", "2015-10-30 23:15:12.272993"]] 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", "2015-10-30 23:15:12.274927"], ["updated_at", "2015-10-30 23:15:12.274927"]] 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" = 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.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", "2015-10-30 23:15:12.286509"], ["updated_at", "2015-10-30 23:15:12.286509"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:12.289388"], ["updated_at", "2015-10-30 23:15:12.289388"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.293988"], ["updated_at", "2015-10-30 23:15:12.293988"]] 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", "2015-10-30 23:15:12.295978"], ["updated_at", "2015-10-30 23:15:12.295978"]] 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" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (2.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", "2015-10-30 23:15:12.312419"], ["updated_at", "2015-10-30 23:15:12.312419"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:12.315419"], ["updated_at", "2015-10-30 23:15:12.315419"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.319463"], ["updated_at", "2015-10-30 23:15:12.319463"]] 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", "2015-10-30 23:15:12.321342"], ["updated_at", "2015-10-30 23:15:12.321342"]] 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 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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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", "2015-10-30 23:15:12.335004"], ["updated_at", "2015-10-30 23:15:12.335004"]]  (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", "2015-10-30 23:15:12.338201"], ["updated_at", "2015-10-30 23:15:12.338201"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.345148"], ["updated_at", "2015-10-30 23:15:12.345148"]] 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", "2015-10-30 23:15:12.348379"], ["updated_at", "2015-10-30 23:15:12.348379"]] 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" = 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"."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.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" = 1018 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (2.1ms) 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", "2015-10-30 23:15:12.364397"], ["updated_at", "2015-10-30 23:15:12.364397"]]  (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.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:12.367500"], ["updated_at", "2015-10-30 23:15:12.367500"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.373075"], ["updated_at", "2015-10-30 23:15:12.373075"]] 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", "2015-10-30 23:15:12.375236"], ["updated_at", "2015-10-30 23:15:12.375236"]] 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" = 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.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" = 1020 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", "2015-10-30 23:15:12.387743"], ["updated_at", "2015-10-30 23:15:12.387743"]]  (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", "2015-10-30 23:15:12.391005"], ["updated_at", "2015-10-30 23:15:12.391005"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.396468"], ["updated_at", "2015-10-30 23:15:12.396468"]] 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", "2015-10-30 23:15:12.398476"], ["updated_at", "2015-10-30 23:15:12.398476"]] 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.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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.8ms) 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", "2015-10-30 23:15:12.421177"], ["updated_at", "2015-10-30 23:15:12.421177"]]  (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", "2015-10-30 23:15:12.425579"], ["updated_at", "2015-10-30 23:15:12.425579"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:12.429926"], ["updated_at", "2015-10-30 23:15:12.429926"]]  (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", "2015-10-30 23:15:12.433118"], ["updated_at", "2015-10-30 23:15:12.433118"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.436904"], ["updated_at", "2015-10-30 23:15:12.436904"]] 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", "2015-10-30 23:15:12.438459"], ["updated_at", "2015-10-30 23:15:12.438459"]] 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" = 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"."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.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$4hyKXyO8BYudiwcTsKQLyedH.TDPIpTdlHTlLgA1/G4fnDs2fzwVa"], ["remember_token", "d3Jb5pmOHvUkjkGZqroyiA"], ["created_at", "2015-10-30 23:15:12.464364"], ["updated_at", "2015-10-30 23:15:12.464364"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:15:12.470952"], ["updated_at", "2015-10-30 23:15:12.470952"]]  (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", "2015-10-30 23:15:12.475514"], ["updated_at", "2015-10-30 23:15:12.475514"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.479930"], ["updated_at", "2015-10-30 23:15:12.479930"]] 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", "2015-10-30 23:15:12.482088"], ["updated_at", "2015-10-30 23:15:12.482088"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "d3Jb5pmOHvUkjkGZqroyiA"]] 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" = 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" = '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" = 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.4ms) Completed 200 OK in 33ms (Views: 24.6ms | ActiveRecord: 1.1ms)  (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$OyxuCjMdnrO0JdToOkBHVuEt/gGYWXXwjjCtYcym1GwakLVIOu/nO"], ["remember_token", "OwA85num-pdhM-ns7KQWhw"], ["created_at", "2015-10-30 23:15:12.529110"], ["updated_at", "2015-10-30 23:15:12.529110"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:15:12.532635"], ["updated_at", "2015-10-30 23:15:12.532635"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:12.535999"], ["updated_at", "2015-10-30 23:15:12.535999"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.540834"], ["updated_at", "2015-10-30 23:15:12.540834"]] 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", "2015-10-30 23:15:12.542871"], ["updated_at", "2015-10-30 23:15:12.542871"]] 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", "OwA85num-pdhM-ns7KQWhw"]] 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)  (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$Ld5UIW1y5pJ0YLv0704g1.zuRdxaZ4Ip83Hr4tsz4OUazpuRFYrRK"], ["remember_token", "9Hm7GdlnmSqlZmA_QWvfGg"], ["created_at", "2015-10-30 23:15:12.560186"], ["updated_at", "2015-10-30 23:15:12.560186"]]  (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.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:15:12.564566"], ["updated_at", "2015-10-30 23:15:12.564566"]]  (0.2ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:12.571030"], ["updated_at", "2015-10-30 23:15:12.571030"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.577354"], ["updated_at", "2015-10-30 23:15:12.577354"]] 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", "2015-10-30 23:15:12.579284"], ["updated_at", "2015-10-30 23:15:12.579284"]] 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.2ms) 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$hYEANIdcvNkXXVLhqvItFuBsMvLa.bUMpEG7Ce3O3DN6r.xiHNEfy"], ["remember_token", "46LPFRwTn9a9hFlE4Koxdw"], ["created_at", "2015-10-30 23:15:12.594801"], ["updated_at", "2015-10-30 23:15:12.594801"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", "2015-10-30 23:15:12.598155"], ["updated_at", "2015-10-30 23:15:12.598155"]]  (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", "2015-10-30 23:15:12.602018"], ["updated_at", "2015-10-30 23:15:12.602018"]]  (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", "2015-10-30 23:15:12.604764"], ["updated_at", "2015-10-30 23:15:12.604764"]]  (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", "2015-10-30 23:15:12.607130"], ["updated_at", "2015-10-30 23:15:12.607130"]]  (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", "2015-10-30 23:15:12.609226"], ["updated_at", "2015-10-30 23:15:12.609226"]]  (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", "9Hm7GdlnmSqlZmA_QWvfGg"]] 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.1ms | 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$8KX0hfVTWDjiec5W3hYn0.rgNd.m1fcs.iW/Y7fQFvWOg190kT5Hy"], ["remember_token", "LQkPYhlUjS1_aXXkTH5e1A"], ["created_at", "2015-10-30 23:15:12.625820"], ["updated_at", "2015-10-30 23:15:12.625820"]]  (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", "2015-10-30 23:15:12.629573"], ["updated_at", "2015-10-30 23:15:12.629573"]]  (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", "2015-10-30 23:15:12.632904"], ["updated_at", "2015-10-30 23:15:12.632904"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.638314"], ["updated_at", "2015-10-30 23:15:12.638314"]] 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", "2015-10-30 23:15:12.641009"], ["updated_at", "2015-10-30 23:15:12.641009"]] 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.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", "2015-10-30 23:15:12.646476"], ["updated_at", "2015-10-30 23:15:12.646476"]]  (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", "2015-10-30 23:15:12.649059"], ["updated_at", "2015-10-30 23:15:12.649059"]]  (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", "2015-10-30 23:15:12.653284"], ["updated_at", "2015-10-30 23:15:12.653284"]]  (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", "2015-10-30 23:15:12.656088"], ["updated_at", "2015-10-30 23:15:12.656088"]]  (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", "2015-10-30 23:15:12.660036"], ["updated_at", "2015-10-30 23:15:12.660036"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$01IZBOmWosylM0yKcDQg5OvmWcMr9EqqXCtEGplJW9M.dtCrRNNga"], ["remember_token", "FaBJe458mNvvn8b0drpaAw"], ["created_at", "2015-10-30 23:15:12.665842"], ["updated_at", "2015-10-30 23:15:12.665842"]]  (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", "2015-10-30 23:15:12.667780"], ["updated_at", "2015-10-30 23:15:12.667780"]]  (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", "2015-10-30 23:15:12.670496"], ["updated_at", "2015-10-30 23:15:12.670496"]]  (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", "2015-10-30 23:15:12.672846"], ["updated_at", "2015-10-30 23:15:12.672846"]]  (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", "2015-10-30 23:15:12.674909"], ["updated_at", "2015-10-30 23:15:12.674909"]]  (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", "2015-10-30 23:15:12.677725"], ["updated_at", "2015-10-30 23:15:12.677725"]]  (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", "LQkPYhlUjS1_aXXkTH5e1A"]] 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) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (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$/NT..GVxFkKxTgEXQfHyM.rAyXWczC6Ij4eGRk3l4/fEqKDV5pD4m"], ["remember_token", "1fUvyI_YTzL-VcToPW56IQ"], ["created_at", "2015-10-30 23:15:12.692292"], ["updated_at", "2015-10-30 23:15:12.692292"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:15:12.695999"], ["updated_at", "2015-10-30 23:15:12.695999"]]  (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", "2015-10-30 23:15:12.699984"], ["updated_at", "2015-10-30 23:15:12.699984"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.703538"], ["updated_at", "2015-10-30 23:15:12.703538"]] 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", "2015-10-30 23:15:12.705196"], ["updated_at", "2015-10-30 23:15:12.705196"]] 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 "articles" ("title", "content", "user_id", "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", "2015-10-30 23:15:12.709656"], ["updated_at", "2015-10-30 23:15:12.709656"]]  (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", "2015-10-30 23:15:12.711931"], ["updated_at", "2015-10-30 23:15:12.711931"]]  (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", "2015-10-30 23:15:12.713846"], ["updated_at", "2015-10-30 23:15:12.713846"]]  (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", "2015-10-30 23:15:12.715668"], ["updated_at", "2015-10-30 23:15:12.715668"]]  (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", "2015-10-30 23:15:12.717481"], ["updated_at", "2015-10-30 23:15:12.717481"]]  (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$tNiQqOo3/Hw6lUzumGdskeetriq6Lcu0AphlNCxGGAWfJ5d5GxJd."], ["remember_token", "4HAke_FWlKefV0sZYWhVLQ"], ["created_at", "2015-10-30 23:15:12.721760"], ["updated_at", "2015-10-30 23:15:12.721760"]]  (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", "2015-10-30 23:15:12.724195"], ["updated_at", "2015-10-30 23:15:12.724195"]]  (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", "2015-10-30 23:15:12.728704"], ["updated_at", "2015-10-30 23:15:12.728704"]]  (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 "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-30 23:15:12.732798"], ["updated_at", "2015-10-30 23:15:12.732798"]]  (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", "2015-10-30 23:15:12.736993"], ["updated_at", "2015-10-30 23:15:12.736993"]]  (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", "2015-10-30 23:15:12.740373"], ["updated_at", "2015-10-30 23:15:12.740373"]]  (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.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", "2015-10-30 23:15:12.743400"], ["updated_at", "2015-10-30 23:15:12.743400"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.750665"], ["updated_at", "2015-10-30 23:15:12.750665"]] 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", "2015-10-30 23:15:12.752275"], ["updated_at", "2015-10-30 23:15:12.752275"]] 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", "1fUvyI_YTzL-VcToPW56IQ"]] 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: 1.0ms | ActiveRecord: 0.6ms) Article Load (0.2ms) 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$2HXd1XNTAW1nEfCA9iCA3eFJEmBg1VB9Z28zRBbkPAf/hpd103HHi"], ["remember_token", "-sMH-EOEzHXwtLHY2aZrew"], ["created_at", "2015-10-30 23:15:12.769787"], ["updated_at", "2015-10-30 23:15:12.769787"]]  (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.5ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$cgUh9D8U2WjFOChp/jtui.Yk9kl09iAuQAO.fiO1nqBpfDLr35jsi"], ["remember_token", "FeLMQonYOnbXOZxCeo7fmQ"], ["created_at", "2015-10-30 23:15:12.775387"], ["updated_at", "2015-10-30 23:15:12.775387"]]  (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", "2015-10-30 23:15:12.778066"], ["updated_at", "2015-10-30 23:15:12.778066"]]  (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", "2015-10-30 23:15:12.780554"], ["updated_at", "2015-10-30 23:15:12.780554"]]  (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", "2015-10-30 23:15:12.782802"], ["updated_at", "2015-10-30 23:15:12.782802"]]  (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", "2015-10-30 23:15:12.785063"], ["updated_at", "2015-10-30 23:15:12.785063"]]  (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", "2015-10-30 23:15:12.787349"], ["updated_at", "2015-10-30 23:15:12.787349"]]  (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", "2015-10-30 23:15:12.789698"], ["updated_at", "2015-10-30 23:15:12.789698"]]  (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", "2015-10-30 23:15:12.792206"], ["updated_at", "2015-10-30 23:15:12.792206"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:15:12.795490"], ["updated_at", "2015-10-30 23:15:12.795490"]]  (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", "2015-10-30 23:15:12.798219"], ["updated_at", "2015-10-30 23:15:12.798219"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.803689"], ["updated_at", "2015-10-30 23:15:12.803689"]] 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", "2015-10-30 23:15:12.805584"], ["updated_at", "2015-10-30 23:15:12.805584"]] 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.814350"], ["updated_at", "2015-10-30 23:15:12.814350"]] 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", "2015-10-30 23:15:12.816040"], ["updated_at", "2015-10-30 23:15:12.816040"]] 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", "-sMH-EOEzHXwtLHY2aZrew"]] 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.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 6ms (Views: 1.0ms | ActiveRecord: 0.7ms) 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.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$Iim1c03j/RZHaF2WgHG6xOMEaqMqa53FcZWF7ZqrFJYwGK.wSbs0u"], ["remember_token", "5DLzAdH_D566fbFnnqzfag"], ["created_at", "2015-10-30 23:15:12.839783"], ["updated_at", "2015-10-30 23:15:12.839783"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:15:12.845385"], ["updated_at", "2015-10-30 23:15:12.845385"]]  (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", "2015-10-30 23:15:12.848652"], ["updated_at", "2015-10-30 23:15:12.848652"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.852447"], ["updated_at", "2015-10-30 23:15:12.852447"]] 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", "2015-10-30 23:15:12.854036"], ["updated_at", "2015-10-30 23:15:12.854036"]] 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.1ms) 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$475cuhDbyhFkuzmvpkQSS.LVjpL7mzbykXz.AGxfeXs/9Sr1Ru0Me"], ["remember_token", "7MdoOlhWz-ed6FT1bQBFGQ"], ["created_at", "2015-10-30 23:15:12.861090"], ["updated_at", "2015-10-30 23:15:12.861090"]]  (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", "2015-10-30 23:15:12.862938"], ["updated_at", "2015-10-30 23:15:12.862938"]]  (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 1 [["remember_token", "5DLzAdH_D566fbFnnqzfag"]] 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.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 articles/show.html.erb within layouts/application (0.4ms) Completed 200 OK in 11ms (Views: 5.9ms | ActiveRecord: 0.6ms)  (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$eZeqL9nG7iNtyYEEpIc3Be15WOERz3Hmm1WtW2ry5wKzvI2bzVHlu"], ["remember_token", "CFZ0nR9lKHv4CNqQTr-Sdg"], ["created_at", "2015-10-30 23:15:12.882823"], ["updated_at", "2015-10-30 23:15:12.882823"]]  (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.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:15:12.886993"], ["updated_at", "2015-10-30 23:15:12.886993"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:12.892560"], ["updated_at", "2015-10-30 23:15:12.892560"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.897769"], ["updated_at", "2015-10-30 23:15:12.897769"]] 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", "2015-10-30 23:15:12.899648"], ["updated_at", "2015-10-30 23:15:12.899648"]] 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.1ms) 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$BhEneqo1zq7ZZkDJcfiwFuZzulpQO69ut0jWpP1B9mfNRl4t8RQwi"], ["remember_token", "PcDriQsQfW9YAmzX1XzSmQ"], ["created_at", "2015-10-30 23:15:12.906530"], ["updated_at", "2015-10-30 23:15:12.906530"]]  (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", "2015-10-30 23:15:12.908567"], ["updated_at", "2015-10-30 23:15:12.908567"]]  (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 1 [["remember_token", "CFZ0nR9lKHv4CNqQTr-Sdg"]] 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.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::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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 6ms (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$bsJXy1.NzFHIDLodbXdAJO6zbTpBJd5UoAOfgJM.4.41uECCBLQGa"], ["remember_token", "QpU1nLpJhjsJqlZuhq4CIA"], ["created_at", "2015-10-30 23:15:12.922596"], ["updated_at", "2015-10-30 23:15:12.922596"]]  (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", "2015-10-30 23:15:12.926110"], ["updated_at", "2015-10-30 23:15:12.926110"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:12.931536"], ["updated_at", "2015-10-30 23:15:12.931536"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.935530"], ["updated_at", "2015-10-30 23:15:12.935530"]] 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", "2015-10-30 23:15:12.937811"], ["updated_at", "2015-10-30 23:15:12.937811"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "QpU1nLpJhjsJqlZuhq4CIA"]] 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 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.3ms) Completed 200 OK in 9ms (Views: 3.6ms | ActiveRecord: 0.7ms)  (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$dpKnFVGFAHKOjajypHFUNe1Uz05gfK1Zl2KnGIu159jFmUUrjtrg."], ["remember_token", "oZUBCNSBuHWjzIpKieEszg"], ["created_at", "2015-10-30 23:15:12.958882"], ["updated_at", "2015-10-30 23:15:12.958882"]]  (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.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:15:12.965107"], ["updated_at", "2015-10-30 23:15:12.965107"]]  (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.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:12.971484"], ["updated_at", "2015-10-30 23:15:12.971484"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:12.976803"], ["updated_at", "2015-10-30 23:15:12.976803"]] 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", "2015-10-30 23:15:12.979801"], ["updated_at", "2015-10-30 23:15:12.979801"]] 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.1ms) 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$Ofqd.jQ3HdEl7.nx1/eN9.u2u.aVdhXJPu9UQRs8LaZan2TRCb3jm"], ["remember_token", "qhgko3_qCs1Q4aQ0NskHqQ"], ["created_at", "2015-10-30 23:15:12.987281"], ["updated_at", "2015-10-30 23:15:12.987281"]]  (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", "2015-10-30 23:15:12.989279"], ["updated_at", "2015-10-30 23:15:12.989279"]]  (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", "oZUBCNSBuHWjzIpKieEszg"]] 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.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.3ms) Completed 200 OK in 8ms (Views: 2.9ms | ActiveRecord: 0.8ms)  (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$GHWIVWpW62JqSPIt5zd65uucC9PNkmByoR2vMRBQOeARUou7qRiW2"], ["remember_token", "gAVKNxKOETUrcaRnaYPB6w"], ["created_at", "2015-10-30 23:15:13.005571"], ["updated_at", "2015-10-30 23:15:13.005571"]]  (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", "2015-10-30 23:15:13.009012"], ["updated_at", "2015-10-30 23:15:13.009012"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:13.014023"], ["updated_at", "2015-10-30 23:15:13.014023"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:13.019491"], ["updated_at", "2015-10-30 23:15:13.019491"]] 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", "2015-10-30 23:15:13.021821"], ["updated_at", "2015-10-30 23:15:13.021821"]] 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.1ms) 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$PeK4f7Bn1P49a3Pqw6apKe2d1dPbDTjjk1.0dTYsFOoBiOX/prmWC"], ["remember_token", "rRKQdDhzIHXQQPcGR6AL2A"], ["created_at", "2015-10-30 23:15:13.031414"], ["updated_at", "2015-10-30 23:15:13.031414"]]  (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", "2015-10-30 23:15:13.033411"], ["updated_at", "2015-10-30 23:15:13.033411"]]  (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", "gAVKNxKOETUrcaRnaYPB6w"]] 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.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"."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 7ms (Views: 1.4ms | ActiveRecord: 0.6ms)  (1.4ms) 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", "2015-10-30 23:15:13.048662"], ["updated_at", "2015-10-30 23:15:13.048662"]]  (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.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:15:13.051240"], ["updated_at", "2015-10-30 23:15:13.051240"]]  (0.3ms) 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", "2015-10-30 23:15:13.056721"], ["updated_at", "2015-10-30 23:15:13.056721"]]  (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", "2015-10-30 23:15:13.064712"], ["updated_at", "2015-10-30 23:15:13.064712"]]  (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", "2015-10-30 23:15:13.067800"], ["updated_at", "2015-10-30 23:15:13.067800"]]  (0.1ms) 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 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", "2015-10-30 23:15:13.077161"], ["updated_at", "2015-10-30 23:15:13.077161"]]  (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", "2015-10-30 23:15:13.081079"], ["updated_at", "2015-10-30 23:15:13.081079"]]  (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 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", "2015-10-30 23:15:13.089362"], ["updated_at", "2015-10-30 23:15:13.089362"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:15:13.091797"], ["updated_at", "2015-10-30 23:15:13.091797"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:13.095412"], ["updated_at", "2015-10-30 23:15:13.095412"]]  (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", "2015-10-30 23:15:13.103975"], ["updated_at", "2015-10-30 23:15:13.103975"]]  (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", "2015-10-30 23:15:13.106487"], ["updated_at", "2015-10-30 23:15:13.106487"]]  (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", "2015-10-30 23:15:13.109384"], ["updated_at", "2015-10-30 23:15:13.109384"]]  (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", "2015-10-30 23:15:13.116878"], ["updated_at", "2015-10-30 23:15:13.116878"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:15:13.119403"], ["updated_at", "2015-10-30 23:15:13.119403"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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 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 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:34.350275"], ["updated_at", "2015-10-30 23:15:34.350275"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) 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", "2015-10-30 23:15:34.374010"], ["updated_at", "2015-10-30 23:15:34.374010"]]  (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", "2015-10-30 23:15:34.387350"], ["updated_at", "2015-10-30 23:15:34.387350"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:34.431680"], ["updated_at", "2015-10-30 23:15:34.431680"]] 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", "2015-10-30 23:15:34.434257"], ["updated_at", "2015-10-30 23:15:34.434257"]] 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 Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" WHERE "adeia_permissions"."id" = ? LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "jAJTyxZ8unCzZoPG_57fbw"], ["is_valid", "t"], ["adeia_permission_id", 1], ["exp_at", "2015-11-30"], ["created_at", "2015-10-30 23:15:34.454481"], ["updated_at", "2015-10-30 23:15:34.454481"]]  (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", "jAJTyxZ8unCzZoPG_57fbw"]]  (1.1ms) 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:34.517173"], ["updated_at", "2015-10-30 23:15:34.517173"]]  (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", "2015-10-30 23:15:34.520068"], ["updated_at", "2015-10-30 23:15:34.520068"]]  (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", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:15:34.524915"], ["updated_at", "2015-10-30 23:15:34.524915"]] 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", "2015-10-30 23:15:34.526439"], ["updated_at", "2015-10-30 23:15:34.526439"]] 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" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1002 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (0.9ms) 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", "2015-10-30 23:15:34.537679"], ["updated_at", "2015-10-30 23:15:34.537679"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:34.540557"], ["updated_at", "2015-10-30 23:15:34.540557"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:34.544157"], ["updated_at", "2015-10-30 23:15:34.544157"]] 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", "2015-10-30 23:15:34.545691"], ["updated_at", "2015-10-30 23:15:34.545691"]] 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" = 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"."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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (0.9ms) 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", "2015-10-30 23:15:34.556234"], ["updated_at", "2015-10-30 23:15:34.556234"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:34.558935"], ["updated_at", "2015-10-30 23:15:34.558935"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:34.562200"], ["updated_at", "2015-10-30 23:15:34.562200"]] 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", "2015-10-30 23:15:34.564037"], ["updated_at", "2015-10-30 23:15:34.564037"]] 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.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" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (0.7ms) 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", "2015-10-30 23:15:34.574870"], ["updated_at", "2015-10-30 23:15:34.574870"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:34.578689"], ["updated_at", "2015-10-30 23:15:34.578689"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:34.582868"], ["updated_at", "2015-10-30 23:15:34.582868"]] 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", "2015-10-30 23:15:34.584392"], ["updated_at", "2015-10-30 23:15:34.584392"]] 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.1ms) 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"]]  (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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:34.595619"], ["updated_at", "2015-10-30 23:15:34.595619"]]  (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", "2015-10-30 23:15:34.600422"], ["updated_at", "2015-10-30 23:15:34.600422"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:34.606129"], ["updated_at", "2015-10-30 23:15:34.606129"]] 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", "2015-10-30 23:15:34.608025"], ["updated_at", "2015-10-30 23:15:34.608025"]] 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:34.620836"], ["updated_at", "2015-10-30 23:15:34.620836"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:34.623707"], ["updated_at", "2015-10-30 23:15:34.623707"]]  (0.0ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:34.628243"], ["updated_at", "2015-10-30 23:15:34.628243"]] 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", "2015-10-30 23:15:34.630922"], ["updated_at", "2015-10-30 23:15:34.630922"]] 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.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" = 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"."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"]]  (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", "2015-10-30 23:15:34.644410"], ["updated_at", "2015-10-30 23:15:34.644410"]]  (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", "2015-10-30 23:15:34.647817"], ["updated_at", "2015-10-30 23:15:34.647817"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:34.652063"], ["updated_at", "2015-10-30 23:15:34.652063"]] 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", "2015-10-30 23:15:34.653538"], ["updated_at", "2015-10-30 23:15:34.653538"]] 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" = 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"."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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:34.672618"], ["updated_at", "2015-10-30 23:15:34.672618"]]  (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", "2015-10-30 23:15:34.675913"], ["updated_at", "2015-10-30 23:15:34.675913"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:15:34.680413"], ["updated_at", "2015-10-30 23:15:34.680413"]] 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", "2015-10-30 23:15:34.681973"], ["updated_at", "2015-10-30 23:15:34.681973"]] 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.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"."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.2ms) 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.9ms) 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", "2015-10-30 23:15:34.694109"], ["updated_at", "2015-10-30 23:15:34.694109"]]  (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", "2015-10-30 23:15:34.697083"], ["updated_at", "2015-10-30 23:15:34.697083"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:34.701519"], ["updated_at", "2015-10-30 23:15:34.701519"]] 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", "2015-10-30 23:15:34.703287"], ["updated_at", "2015-10-30 23:15:34.703287"]] 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.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" = 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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."name" = 'share'  (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", "2015-10-30 23:15:34.716551"], ["updated_at", "2015-10-30 23:15:34.716551"]]  (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", "2015-10-30 23:15:34.719614"], ["updated_at", "2015-10-30 23:15:34.719614"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:34.723842"], ["updated_at", "2015-10-30 23:15:34.723842"]] 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", "2015-10-30 23:15:34.726042"], ["updated_at", "2015-10-30 23:15:34.726042"]] 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", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "SltOmBW17Xi1djqB8pGrhw"], ["is_valid", "t"], ["adeia_permission_id", 1], ["exp_at", "2015-11-30"], ["created_at", "2015-10-30 23:15:34.731105"], ["updated_at", "2015-10-30 23:15:34.731105"]]  (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", "SltOmBW17Xi1djqB8pGrhw"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:34.739939"], ["updated_at", "2015-10-30 23:15:34.739939"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:34.742539"], ["updated_at", "2015-10-30 23:15:34.742539"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:34.746599"], ["updated_at", "2015-10-30 23:15:34.746599"]] 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", "2015-10-30 23:15:34.748492"], ["updated_at", "2015-10-30 23:15:34.748492"]] 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" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1012 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:15:34.758324"], ["updated_at", "2015-10-30 23:15:34.758324"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:34.760838"], ["updated_at", "2015-10-30 23:15:34.760838"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:34.764271"], ["updated_at", "2015-10-30 23:15:34.764271"]] 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", "2015-10-30 23:15:34.766715"], ["updated_at", "2015-10-30 23:15:34.766715"]] 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" = 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"."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.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" = 1013 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:34.784012"], ["updated_at", "2015-10-30 23:15:34.784012"]]  (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", "2015-10-30 23:15:34.787522"], ["updated_at", "2015-10-30 23:15:34.787522"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:34.791773"], ["updated_at", "2015-10-30 23:15:34.791773"]] 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", "2015-10-30 23:15:34.793149"], ["updated_at", "2015-10-30 23:15:34.793149"]] Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (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 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.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" = 1016 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" = 1016 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", "2015-10-30 23:15:34.808942"], ["updated_at", "2015-10-30 23:15:34.808942"]]  (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", "2015-10-30 23:15:34.812373"], ["updated_at", "2015-10-30 23:15:34.812373"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:34.817144"], ["updated_at", "2015-10-30 23:15:34.817144"]] 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", "2015-10-30 23:15:34.818727"], ["updated_at", "2015-10-30 23:15:34.818727"]] 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" = 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.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", "2015-10-30 23:15:34.829620"], ["updated_at", "2015-10-30 23:15:34.829620"]]  (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", "2015-10-30 23:15:34.833527"], ["updated_at", "2015-10-30 23:15:34.833527"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:34.837347"], ["updated_at", "2015-10-30 23:15:34.837347"]] 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", "2015-10-30 23:15:34.838769"], ["updated_at", "2015-10-30 23:15:34.838769"]] 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" = 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.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" = 1020 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:34.849485"], ["updated_at", "2015-10-30 23:15:34.849485"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:34.852078"], ["updated_at", "2015-10-30 23:15:34.852078"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:34.855233"], ["updated_at", "2015-10-30 23:15:34.855233"]] 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", "2015-10-30 23:15:34.858604"], ["updated_at", "2015-10-30 23:15:34.858604"]] 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" = 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.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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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", "2015-10-30 23:15:34.876572"], ["updated_at", "2015-10-30 23:15:34.876572"]]  (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", "2015-10-30 23:15:34.881280"], ["updated_at", "2015-10-30 23:15:34.881280"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:34.885854"], ["updated_at", "2015-10-30 23:15:34.885854"]]  (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", "2015-10-30 23:15:34.888916"], ["updated_at", "2015-10-30 23:15:34.888916"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:34.892350"], ["updated_at", "2015-10-30 23:15:34.892350"]] 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", "2015-10-30 23:15:34.893708"], ["updated_at", "2015-10-30 23:15:34.893708"]] 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" = 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"."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.0ms) 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$NJG8WXScjtle0girTeB46eUmOqYLpJ64t0Z7kPX078c341It58SdC"], ["remember_token", "y6YpT5qx7P6rOrmUeUVcsQ"], ["created_at", "2015-10-30 23:15:34.913358"], ["updated_at", "2015-10-30 23:15:34.913358"]]  (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", "2015-10-30 23:15:34.917498"], ["updated_at", "2015-10-30 23:15:34.917498"]]  (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", "2015-10-30 23:15:34.920569"], ["updated_at", "2015-10-30 23:15:34.920569"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:34.923898"], ["updated_at", "2015-10-30 23:15:34.923898"]] 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", "2015-10-30 23:15:34.926076"], ["updated_at", "2015-10-30 23:15:34.926076"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "y6YpT5qx7P6rOrmUeUVcsQ"]] 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"."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.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" = '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 23ms (Views: 14.9ms | ActiveRecord: 1.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$X1SR3AxlxGcF9FEsBugzFOYyBt2EZGpt89YgeFoLgdrre3LjaJQhO"], ["remember_token", "2RjKH__JJPB51Qn4xc8xwg"], ["created_at", "2015-10-30 23:15:34.975783"], ["updated_at", "2015-10-30 23:15:34.975783"]]  (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", "2015-10-30 23:15:34.981079"], ["updated_at", "2015-10-30 23:15:34.981079"]]  (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", "2015-10-30 23:15:34.984491"], ["updated_at", "2015-10-30 23:15:34.984491"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:34.987967"], ["updated_at", "2015-10-30 23:15:34.987967"]] 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", "2015-10-30 23:15:34.989348"], ["updated_at", "2015-10-30 23:15:34.989348"]] 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", "2RjKH__JJPB51Qn4xc8xwg"]] 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" = 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.2ms) Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.7ms)  (0.9ms) rollback transaction  (0.2ms) 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$rB8IkOvJPhnG739bW8rGve.c3G.13yLqnSGtT8eOX/MBnF5VSvlxG"], ["remember_token", "LbX5IKp5N3lsnfSZGI_2wA"], ["created_at", "2015-10-30 23:15:35.005387"], ["updated_at", "2015-10-30 23:15:35.005387"]]  (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", "2015-10-30 23:15:35.009335"], ["updated_at", "2015-10-30 23:15:35.009335"]]  (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", "2015-10-30 23:15:35.012807"], ["updated_at", "2015-10-30 23:15:35.012807"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:35.017053"], ["updated_at", "2015-10-30 23:15:35.017053"]] 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", "2015-10-30 23:15:35.018650"], ["updated_at", "2015-10-30 23:15:35.018650"]] 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.1ms) 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$9dSH7xZVEehfQBQ2oJPsdurb/Iw5W7lehdDMg9uCCG2IgQhPDKkv2"], ["remember_token", "4Vf7EeVLjJoc9bJWWBMKhg"], ["created_at", "2015-10-30 23:15:35.029972"], ["updated_at", "2015-10-30 23:15:35.029972"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-30 23:15:35.032496"], ["updated_at", "2015-10-30 23:15:35.032496"]]  (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", "2015-10-30 23:15:35.035536"], ["updated_at", "2015-10-30 23:15:35.035536"]]  (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", "2015-10-30 23:15:35.037368"], ["updated_at", "2015-10-30 23:15:35.037368"]]  (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", "2015-10-30 23:15:35.039244"], ["updated_at", "2015-10-30 23:15:35.039244"]]  (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", "2015-10-30 23:15:35.040988"], ["updated_at", "2015-10-30 23:15:35.040988"]]  (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", "LbX5IKp5N3lsnfSZGI_2wA"]] 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)  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) 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$j7UCVR/YAp3vOxK6.DFA/uPteiuHDhmgUQFpQOfB94VTgc4FGLhn."], ["remember_token", "juPxYmNIZ_hZL2giN2YkFg"], ["created_at", "2015-10-30 23:15:35.059022"], ["updated_at", "2015-10-30 23:15:35.059022"]]  (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", "2015-10-30 23:15:35.064485"], ["updated_at", "2015-10-30 23:15:35.064485"]]  (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", "2015-10-30 23:15:35.067748"], ["updated_at", "2015-10-30 23:15:35.067748"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:35.072183"], ["updated_at", "2015-10-30 23:15:35.072183"]] 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", "2015-10-30 23:15:35.074356"], ["updated_at", "2015-10-30 23:15:35.074356"]] 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", "2015-10-30 23:15:35.078100"], ["updated_at", "2015-10-30 23:15:35.078100"]]  (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", "2015-10-30 23:15:35.080317"], ["updated_at", "2015-10-30 23:15:35.080317"]]  (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", "2015-10-30 23:15:35.082158"], ["updated_at", "2015-10-30 23:15:35.082158"]]  (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", "2015-10-30 23:15:35.083753"], ["updated_at", "2015-10-30 23:15:35.083753"]]  (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", "2015-10-30 23:15:35.085423"], ["updated_at", "2015-10-30 23:15:35.085423"]]  (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$8SCRk1AhXN0aYhz7DABRS.z/TGqnlo.7kmpaqyyJIX7tultnBxb1C"], ["remember_token", "JslX-J1E5Sz2Lzfw2DPIng"], ["created_at", "2015-10-30 23:15:35.089992"], ["updated_at", "2015-10-30 23:15:35.089992"]]  (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", "2015-10-30 23:15:35.091837"], ["updated_at", "2015-10-30 23:15:35.091837"]]  (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", "2015-10-30 23:15:35.093796"], ["updated_at", "2015-10-30 23:15:35.093796"]]  (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", "2015-10-30 23:15:35.095713"], ["updated_at", "2015-10-30 23:15:35.095713"]]  (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.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", "2015-10-30 23:15:35.099570"], ["updated_at", "2015-10-30 23:15:35.099570"]]  (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", "2015-10-30 23:15:35.102737"], ["updated_at", "2015-10-30 23:15:35.102737"]]  (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", "juPxYmNIZ_hZL2giN2YkFg"]] 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 (user_id = 1 OR id IN (NULL))  (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$W0YvuaXI1c0nidHXqJSsL.8vvpMjlz8DeAYik45RKdV38sVBi9a3."], ["remember_token", "IQHy62snQKiqqPiK8P50GQ"], ["created_at", "2015-10-30 23:15:35.118075"], ["updated_at", "2015-10-30 23:15:35.118075"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:15:35.121347"], ["updated_at", "2015-10-30 23:15:35.121347"]]  (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", "2015-10-30 23:15:35.124474"], ["updated_at", "2015-10-30 23:15:35.124474"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:35.127727"], ["updated_at", "2015-10-30 23:15:35.127727"]] 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", "2015-10-30 23:15:35.128992"], ["updated_at", "2015-10-30 23:15:35.128992"]] 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", "2015-10-30 23:15:35.132447"], ["updated_at", "2015-10-30 23:15:35.132447"]]  (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", "2015-10-30 23:15:35.134212"], ["updated_at", "2015-10-30 23:15:35.134212"]]  (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", "2015-10-30 23:15:35.136295"], ["updated_at", "2015-10-30 23:15:35.136295"]]  (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", "2015-10-30 23:15:35.138139"], ["updated_at", "2015-10-30 23:15:35.138139"]]  (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", "2015-10-30 23:15:35.139789"], ["updated_at", "2015-10-30 23:15:35.139789"]]  (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$frrXBkrWcrnjwMBn323xCuMCum5o3e4JVgmZDvbUEJT7h.tlZxzUS"], ["remember_token", "_whUrbJKlQewL-ml5a2naA"], ["created_at", "2015-10-30 23:15:35.143623"], ["updated_at", "2015-10-30 23:15:35.143623"]]  (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", "2015-10-30 23:15:35.145107"], ["updated_at", "2015-10-30 23:15:35.145107"]]  (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", "2015-10-30 23:15:35.147980"], ["updated_at", "2015-10-30 23:15:35.147980"]]  (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", "2015-10-30 23:15:35.151203"], ["updated_at", "2015-10-30 23:15:35.151203"]]  (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", "2015-10-30 23:15:35.153423"], ["updated_at", "2015-10-30 23:15:35.153423"]]  (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", "2015-10-30 23:15:35.155492"], ["updated_at", "2015-10-30 23:15:35.155492"]]  (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", "2015-10-30 23:15:35.157575"], ["updated_at", "2015-10-30 23:15:35.157575"]]  (0.0ms) 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.0ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:35.162957"], ["updated_at", "2015-10-30 23:15:35.162957"]] 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", "2015-10-30 23:15:35.164758"], ["updated_at", "2015-10-30 23:15:35.164758"]] 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 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "IQHy62snQKiqqPiK8P50GQ"]] 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.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 7ms (Views: 1.0ms | ActiveRecord: 0.7ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (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$fXGnoeTuORXVXdfFBcbZqu5mpvYY8a6pUf8HG9wIhn43NXhY19I0i"], ["remember_token", "_1dQdYQqstnZ6fPub2HJBA"], ["created_at", "2015-10-30 23:15:35.184623"], ["updated_at", "2015-10-30 23:15:35.184623"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$9pIYvzqzqr7a3yHyxL/0c.UkvheqiEnIAb9JyK50Qgr9K6r9bpnWe"], ["remember_token", "Z8Lxq86VCEhnqUT8ThB1Ow"], ["created_at", "2015-10-30 23:15:35.189267"], ["updated_at", "2015-10-30 23:15:35.189267"]]  (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", 2], ["created_at", "2015-10-30 23:15:35.192540"], ["updated_at", "2015-10-30 23:15:35.192540"]]  (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", "2015-10-30 23:15:35.196348"], ["updated_at", "2015-10-30 23:15:35.196348"]]  (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.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", "2015-10-30 23:15:35.199298"], ["updated_at", "2015-10-30 23:15:35.199298"]]  (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", "2015-10-30 23:15:35.201925"], ["updated_at", "2015-10-30 23:15:35.201925"]]  (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.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", "2015-10-30 23:15:35.204909"], ["updated_at", "2015-10-30 23:15:35.204909"]]  (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.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", "2015-10-30 23:15:35.209397"], ["updated_at", "2015-10-30 23:15:35.209397"]]  (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.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", "2015-10-30 23:15:35.212740"], ["updated_at", "2015-10-30 23:15:35.212740"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:15:35.216935"], ["updated_at", "2015-10-30 23:15:35.216935"]]  (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", "2015-10-30 23:15:35.219828"], ["updated_at", "2015-10-30 23:15:35.219828"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:35.222984"], ["updated_at", "2015-10-30 23:15:35.222984"]] 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", "2015-10-30 23:15:35.224382"], ["updated_at", "2015-10-30 23:15:35.224382"]] 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.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:35.238287"], ["updated_at", "2015-10-30 23:15:35.238287"]] 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", "2015-10-30 23:15:35.239665"], ["updated_at", "2015-10-30 23:15:35.239665"]] 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", "_1dQdYQqstnZ6fPub2HJBA"]] 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.2ms) Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.5ms) Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (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$nd0CUUO7FzS9aA482fYfMO8OjPF7cH5vNw.cp2q3pL0zc7kEfWkyK"], ["remember_token", "SSIoirkMDkVfEZQTtnyGUg"], ["created_at", "2015-10-30 23:15:35.256029"], ["updated_at", "2015-10-30 23:15:35.256029"]]  (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", "2015-10-30 23:15:35.259740"], ["updated_at", "2015-10-30 23:15:35.259740"]]  (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", "2015-10-30 23:15:35.263106"], ["updated_at", "2015-10-30 23:15:35.263106"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:35.266869"], ["updated_at", "2015-10-30 23:15:35.266869"]] 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", "2015-10-30 23:15:35.268206"], ["updated_at", "2015-10-30 23:15:35.268206"]] 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.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$ybmgaBl7cSvyM.OHquBnI.rBFNMW3bERs3q3rAfc7vi5Ysd62dySW"], ["remember_token", "GJGsd8zMmYNZjoeOexiMFQ"], ["created_at", "2015-10-30 23:15:35.274878"], ["updated_at", "2015-10-30 23:15:35.274878"]]  (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", "2015-10-30 23:15:35.277812"], ["updated_at", "2015-10-30 23:15:35.277812"]]  (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 1 [["remember_token", "SSIoirkMDkVfEZQTtnyGUg"]] Article Load (0.2ms) 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 9ms (Views: 3.3ms | ActiveRecord: 0.6ms)  (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$1f0SgeDAaOqhp2G5x.H7LeDRSgRsMxzNJ7lXkoKf3KGKvIctNw1am"], ["remember_token", "cGi_6Z5S7l3vFrxKJBX7bg"], ["created_at", "2015-10-30 23:15:35.294897"], ["updated_at", "2015-10-30 23:15:35.294897"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:15:35.298107"], ["updated_at", "2015-10-30 23:15:35.298107"]]  (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", "2015-10-30 23:15:35.302068"], ["updated_at", "2015-10-30 23:15:35.302068"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:35.305458"], ["updated_at", "2015-10-30 23:15:35.305458"]] 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", "2015-10-30 23:15:35.306859"], ["updated_at", "2015-10-30 23:15:35.306859"]] 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.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$pAGpbuZTTYpGUzZtSOTVTO4NCOE5VZTk8oUuTnmDP.1F8ornap9Ha"], ["remember_token", "AxW5Nfa1adwqP1CT6xpZvw"], ["created_at", "2015-10-30 23:15:35.312297"], ["updated_at", "2015-10-30 23:15:35.312297"]]  (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", 2], ["created_at", "2015-10-30 23:15:35.313857"], ["updated_at", "2015-10-30 23:15:35.313857"]]  (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", "cGi_6Z5S7l3vFrxKJBX7bg"]] 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"."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"]] Rendered articles/show.html.erb within layouts/application (0.6ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.9ms) 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$nzmtZU6yV06XJgLNZhYou.mUPD5bPQivlqwJNlF29JcOcUZ8b9R0q"], ["remember_token", "pKshCXml_IGRscMr2kk5Pw"], ["created_at", "2015-10-30 23:15:35.327950"], ["updated_at", "2015-10-30 23:15:35.327950"]]  (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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:15:35.334823"], ["updated_at", "2015-10-30 23:15:35.334823"]]  (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", "2015-10-30 23:15:35.338682"], ["updated_at", "2015-10-30 23:15:35.338682"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:35.341749"], ["updated_at", "2015-10-30 23:15:35.341749"]] 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", "2015-10-30 23:15:35.343070"], ["updated_at", "2015-10-30 23:15:35.343070"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "pKshCXml_IGRscMr2kk5Pw"]] 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 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.5ms) Completed 200 OK in 9ms (Views: 3.8ms | 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$2Ij8u92sA27v7iGafX/VpupdKtgsprZvGK.FMvGhig0J3.V4VIBNK"], ["remember_token", "u9-i1ag5La8Bxq8Y-fA_UQ"], ["created_at", "2015-10-30 23:15:35.365247"], ["updated_at", "2015-10-30 23:15:35.365247"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:15:35.368547"], ["updated_at", "2015-10-30 23:15:35.368547"]]  (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", "2015-10-30 23:15:35.373011"], ["updated_at", "2015-10-30 23:15:35.373011"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:35.376129"], ["updated_at", "2015-10-30 23:15:35.376129"]] 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", "2015-10-30 23:15:35.377400"], ["updated_at", "2015-10-30 23:15:35.377400"]] 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.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$Ya6G3PM0WubPnwh7byqdHuXZIin/9kUI0sBNgpR/Dlvn0mji7u0Iy"], ["remember_token", "lRT5UhUA0jgClHVIpqACXA"], ["created_at", "2015-10-30 23:15:35.382725"], ["updated_at", "2015-10-30 23:15:35.382725"]]  (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", "2015-10-30 23:15:35.384514"], ["updated_at", "2015-10-30 23:15:35.384514"]]  (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", "u9-i1ag5La8Bxq8Y-fA_UQ"]] 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.3ms) Completed 200 OK in 11ms (Views: 4.5ms | ActiveRecord: 1.0ms)  (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$2kxAs6kZZ4rISgOAI8Tm8OMRjBCHJb.BkyTPUbrb4b51ZPViGtGpC"], ["remember_token", "ci_Pru64KBFfaoSroFfvuA"], ["created_at", "2015-10-30 23:15:35.404948"], ["updated_at", "2015-10-30 23:15:35.404948"]]  (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", "2015-10-30 23:15:35.408330"], ["updated_at", "2015-10-30 23:15:35.408330"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:35.411658"], ["updated_at", "2015-10-30 23:15:35.411658"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:35.417058"], ["updated_at", "2015-10-30 23:15:35.417058"]] 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", "2015-10-30 23:15:35.420082"], ["updated_at", "2015-10-30 23:15:35.420082"]] 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.1ms) 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$LUez0yQjkyBVELVShNSOneXtRIA7alqAd6i2jd8Kc1JCSZ9OxR1Ce"], ["remember_token", "DbZujtAoQj0Q97rl4n8ATA"], ["created_at", "2015-10-30 23:15:35.428215"], ["updated_at", "2015-10-30 23:15:35.428215"]]  (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", "2015-10-30 23:15:35.430095"], ["updated_at", "2015-10-30 23:15:35.430095"]]  (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", "ci_Pru64KBFfaoSroFfvuA"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (1.2ms) 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", "2015-10-30 23:15:35.441707"], ["updated_at", "2015-10-30 23:15:35.441707"]]  (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", "2015-10-30 23:15:35.443947"], ["updated_at", "2015-10-30 23:15:35.443947"]]  (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", "2015-10-30 23:15:35.446574"], ["updated_at", "2015-10-30 23:15:35.446574"]]  (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 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", "2015-10-30 23:15:35.453703"], ["updated_at", "2015-10-30 23:15:35.453703"]]  (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", "2015-10-30 23:15:35.456468"], ["updated_at", "2015-10-30 23:15:35.456468"]]  (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 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", "2015-10-30 23:15:35.480194"], ["updated_at", "2015-10-30 23:15:35.480194"]]  (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", "2015-10-30 23:15:35.483367"], ["updated_at", "2015-10-30 23:15:35.483367"]]  (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 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", "2015-10-30 23:15:35.490438"], ["updated_at", "2015-10-30 23:15:35.490438"]]  (0.0ms) 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", "2015-10-30 23:15:35.492838"], ["updated_at", "2015-10-30 23:15:35.492838"]]  (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", "2015-10-30 23:15:35.495517"], ["updated_at", "2015-10-30 23:15:35.495517"]]  (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 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", "2015-10-30 23:15:35.503524"], ["updated_at", "2015-10-30 23:15:35.503524"]]  (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", "2015-10-30 23:15:35.506399"], ["updated_at", "2015-10-30 23:15:35.506399"]]  (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", "2015-10-30 23:15:35.509463"], ["updated_at", "2015-10-30 23:15:35.509463"]]  (0.2ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:35.517927"], ["updated_at", "2015-10-30 23:15:35.517927"]]  (0.0ms) 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", "2015-10-30 23:15:35.520153"], ["updated_at", "2015-10-30 23:15:35.520153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) 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 (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:54.352722"], ["updated_at", "2015-10-30 23:15:54.352722"]]  (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", "2015-10-30 23:15:54.376188"], ["updated_at", "2015-10-30 23:15:54.376188"]]  (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", "2015-10-30 23:15:54.391468"], ["updated_at", "2015-10-30 23:15:54.391468"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:54.434826"], ["updated_at", "2015-10-30 23:15:54.434826"]] 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", "2015-10-30 23:15:54.437654"], ["updated_at", "2015-10-30 23:15:54.437654"]] 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 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" WHERE "adeia_permissions"."id" = ? LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "r5bWXqgOhCEQzT0_mWZEeQ"], ["is_valid", "t"], ["adeia_permission_id", 1], ["exp_at", "2015-11-30"], ["created_at", "2015-10-30 23:15:54.457571"], ["updated_at", "2015-10-30 23:15:54.457571"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "r5bWXqgOhCEQzT0_mWZEeQ"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.3ms) 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:54.518568"], ["updated_at", "2015-10-30 23:15:54.518568"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:54.521607"], ["updated_at", "2015-10-30 23:15:54.521607"]]  (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", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:15:54.525895"], ["updated_at", "2015-10-30 23:15:54.525895"]] 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", "2015-10-30 23:15:54.527645"], ["updated_at", "2015-10-30 23:15:54.527645"]] 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.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"]]  (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", "2015-10-30 23:15:54.538494"], ["updated_at", "2015-10-30 23:15:54.538494"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:54.541174"], ["updated_at", "2015-10-30 23:15:54.541174"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:54.544401"], ["updated_at", "2015-10-30 23:15:54.544401"]] 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", "2015-10-30 23:15:54.546374"], ["updated_at", "2015-10-30 23:15:54.546374"]] 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" = 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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (0.9ms) 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", "2015-10-30 23:15:54.559891"], ["updated_at", "2015-10-30 23:15:54.559891"]]  (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", "2015-10-30 23:15:54.562525"], ["updated_at", "2015-10-30 23:15:54.562525"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:54.565731"], ["updated_at", "2015-10-30 23:15:54.565731"]] 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", "2015-10-30 23:15:54.567660"], ["updated_at", "2015-10-30 23:15:54.567660"]] 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.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" = 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:54.578979"], ["updated_at", "2015-10-30 23:15:54.578979"]]  (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", "2015-10-30 23:15:54.582440"], ["updated_at", "2015-10-30 23:15:54.582440"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:54.586974"], ["updated_at", "2015-10-30 23:15:54.586974"]] 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", "2015-10-30 23:15:54.588437"], ["updated_at", "2015-10-30 23:15:54.588437"]] 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.1ms) 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"]]  (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", "2015-10-30 23:15:54.598163"], ["updated_at", "2015-10-30 23:15:54.598163"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:54.601130"], ["updated_at", "2015-10-30 23:15:54.601130"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:54.605204"], ["updated_at", "2015-10-30 23:15:54.605204"]] 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", "2015-10-30 23:15:54.607087"], ["updated_at", "2015-10-30 23:15:54.607087"]] 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", "2015-10-30 23:15:54.619295"], ["updated_at", "2015-10-30 23:15:54.619295"]]  (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", "2015-10-30 23:15:54.622795"], ["updated_at", "2015-10-30 23:15:54.622795"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:54.626731"], ["updated_at", "2015-10-30 23:15:54.626731"]] 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", "2015-10-30 23:15:54.628097"], ["updated_at", "2015-10-30 23:15:54.628097"]] 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" = 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"."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"]]  (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", "2015-10-30 23:15:54.639003"], ["updated_at", "2015-10-30 23:15:54.639003"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:54.641704"], ["updated_at", "2015-10-30 23:15:54.641704"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:54.647500"], ["updated_at", "2015-10-30 23:15:54.647500"]] 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", "2015-10-30 23:15:54.649037"], ["updated_at", "2015-10-30 23:15:54.649037"]] 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" = 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"."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.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" = 1008 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", "2015-10-30 23:15:54.667876"], ["updated_at", "2015-10-30 23:15:54.667876"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:54.670848"], ["updated_at", "2015-10-30 23:15:54.670848"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:15:54.675034"], ["updated_at", "2015-10-30 23:15:54.675034"]] 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", "2015-10-30 23:15:54.676388"], ["updated_at", "2015-10-30 23:15:54.676388"]] 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.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"."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.1ms) 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:54.687500"], ["updated_at", "2015-10-30 23:15:54.687500"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:54.690917"], ["updated_at", "2015-10-30 23:15:54.690917"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:54.695962"], ["updated_at", "2015-10-30 23:15:54.695962"]] 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", "2015-10-30 23:15:54.697289"], ["updated_at", "2015-10-30 23:15:54.697289"]] 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" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = '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'  (1.2ms) 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", "2015-10-30 23:15:54.711052"], ["updated_at", "2015-10-30 23:15:54.711052"]]  (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", "2015-10-30 23:15:54.715312"], ["updated_at", "2015-10-30 23:15:54.715312"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:54.719654"], ["updated_at", "2015-10-30 23:15:54.719654"]] 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", "2015-10-30 23:15:54.721627"], ["updated_at", "2015-10-30 23:15:54.721627"]] 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.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "WFYKP5wSz9npLr97IzAL9A"], ["is_valid", "t"], ["adeia_permission_id", 1], ["exp_at", "2015-11-30"], ["created_at", "2015-10-30 23:15:54.726283"], ["updated_at", "2015-10-30 23:15:54.726283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "WFYKP5wSz9npLr97IzAL9A"]]  (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", "2015-10-30 23:15:54.736001"], ["updated_at", "2015-10-30 23:15:54.736001"]]  (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", "2015-10-30 23:15:54.739806"], ["updated_at", "2015-10-30 23:15:54.739806"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:54.743750"], ["updated_at", "2015-10-30 23:15:54.743750"]] 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", "2015-10-30 23:15:54.745102"], ["updated_at", "2015-10-30 23:15:54.745102"]] 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.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" = 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.9ms) 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", "2015-10-30 23:15:54.760944"], ["updated_at", "2015-10-30 23:15:54.760944"]]  (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", "2015-10-30 23:15:54.764234"], ["updated_at", "2015-10-30 23:15:54.764234"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:54.769501"], ["updated_at", "2015-10-30 23:15:54.769501"]] 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", "2015-10-30 23:15:54.771705"], ["updated_at", "2015-10-30 23:15:54.771705"]] 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.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" = 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.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" = 1013 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:54.793302"], ["updated_at", "2015-10-30 23:15:54.793302"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:54.796005"], ["updated_at", "2015-10-30 23:15:54.796005"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:54.801003"], ["updated_at", "2015-10-30 23:15:54.801003"]] 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", "2015-10-30 23:15:54.802705"], ["updated_at", "2015-10-30 23:15:54.802705"]] 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" = 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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:54.814305"], ["updated_at", "2015-10-30 23:15:54.814305"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:54.816926"], ["updated_at", "2015-10-30 23:15:54.816926"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:54.820281"], ["updated_at", "2015-10-30 23:15:54.820281"]] 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", "2015-10-30 23:15:54.822477"], ["updated_at", "2015-10-30 23:15:54.822477"]] 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" = 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.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" = 1018 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", "2015-10-30 23:15:54.835344"], ["updated_at", "2015-10-30 23:15:54.835344"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:54.838930"], ["updated_at", "2015-10-30 23:15:54.838930"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:54.844241"], ["updated_at", "2015-10-30 23:15:54.844241"]] 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", "2015-10-30 23:15:54.846565"], ["updated_at", "2015-10-30 23:15:54.846565"]] 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" = 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"."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.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" = 1020 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", "2015-10-30 23:15:54.860422"], ["updated_at", "2015-10-30 23:15:54.860422"]]  (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", "2015-10-30 23:15:54.863915"], ["updated_at", "2015-10-30 23:15:54.863915"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:54.867679"], ["updated_at", "2015-10-30 23:15:54.867679"]] 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", "2015-10-30 23:15:54.869480"], ["updated_at", "2015-10-30 23:15:54.869480"]] 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.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" = 1022 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" = 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", "2015-10-30 23:15:54.885735"], ["updated_at", "2015-10-30 23:15:54.885735"]]  (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", "2015-10-30 23:15:54.890052"], ["updated_at", "2015-10-30 23:15:54.890052"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:54.894720"], ["updated_at", "2015-10-30 23:15:54.894720"]]  (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", "2015-10-30 23:15:54.897250"], ["updated_at", "2015-10-30 23:15:54.897250"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:54.900620"], ["updated_at", "2015-10-30 23:15:54.900620"]] 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", "2015-10-30 23:15:54.901950"], ["updated_at", "2015-10-30 23:15:54.901950"]] 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" = 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"."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.0ms) 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$kIhFs1VkxYxqK3hTx8IGIut1zFon5FWWm352p40wotEEu06NPb2i6"], ["remember_token", "m_n2xVH8R5uRJLFWKIaThw"], ["created_at", "2015-10-30 23:15:54.921407"], ["updated_at", "2015-10-30 23:15:54.921407"]]  (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", "2015-10-30 23:15:54.926941"], ["updated_at", "2015-10-30 23:15:54.926941"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:54.930437"], ["updated_at", "2015-10-30 23:15:54.930437"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:54.936393"], ["updated_at", "2015-10-30 23:15:54.936393"]] 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", "2015-10-30 23:15:54.938196"], ["updated_at", "2015-10-30 23:15:54.938196"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "m_n2xVH8R5uRJLFWKIaThw"]] Adeia::Token Load (0.3ms) 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.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" = '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 20ms (Views: 13.8ms | ActiveRecord: 1.0ms)  (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$PSbimhzqipTsZ4fvbING3.xJ0vETmK4bQGa7IxnKZeavo6C6.MsNm"], ["remember_token", "X44QaNFFLcovn4i-ztXkAg"], ["created_at", "2015-10-30 23:15:54.977529"], ["updated_at", "2015-10-30 23:15:54.977529"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:15:54.981110"], ["updated_at", "2015-10-30 23:15:54.981110"]]  (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", "2015-10-30 23:15:54.984223"], ["updated_at", "2015-10-30 23:15:54.984223"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:54.987730"], ["updated_at", "2015-10-30 23:15:54.987730"]] 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", "2015-10-30 23:15:54.989045"], ["updated_at", "2015-10-30 23:15:54.989045"]] 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", "X44QaNFFLcovn4i-ztXkAg"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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$pbZPY43eDQB4uCP.ZYiXAOydZ0aHTsMoBYAl.zkC4dDd4y6p/eHyG"], ["remember_token", "Qwrh1uy3HPHAhB6433NFxg"], ["created_at", "2015-10-30 23:15:55.003550"], ["updated_at", "2015-10-30 23:15:55.003550"]]  (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", "2015-10-30 23:15:55.006946"], ["updated_at", "2015-10-30 23:15:55.006946"]]  (0.3ms) 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", "2015-10-30 23:15:55.011377"], ["updated_at", "2015-10-30 23:15:55.011377"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:55.014946"], ["updated_at", "2015-10-30 23:15:55.014946"]] 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", "2015-10-30 23:15:55.016368"], ["updated_at", "2015-10-30 23:15:55.016368"]] 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.2ms) 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$guKxlAI0fv/ySGy4IuzVu.pUFZjWrA3jPeGVMmZc5aMoCSIw4c6MS"], ["remember_token", "7xrzCwRaprTwOjaVdH62mw"], ["created_at", "2015-10-30 23:15:55.029815"], ["updated_at", "2015-10-30 23:15:55.029815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", "2015-10-30 23:15:55.032299"], ["updated_at", "2015-10-30 23:15:55.032299"]]  (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", "2015-10-30 23:15:55.035394"], ["updated_at", "2015-10-30 23:15:55.035394"]]  (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", "2015-10-30 23:15:55.037328"], ["updated_at", "2015-10-30 23:15:55.037328"]]  (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", "2015-10-30 23:15:55.039178"], ["updated_at", "2015-10-30 23:15:55.039178"]]  (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", "2015-10-30 23:15:55.040901"], ["updated_at", "2015-10-30 23:15:55.040901"]]  (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", "Qwrh1uy3HPHAhB6433NFxg"]] 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.5ms) Completed 200 OK in 6ms (Views: 1.7ms | 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$ahuZvT61aedxckXjNMdLYuxRo7QFcIHPdaeE1pMZ5Hwbuqn1KIwxu"], ["remember_token", "2KWPQfxtK76IU4_MblkXfQ"], ["created_at", "2015-10-30 23:15:55.056556"], ["updated_at", "2015-10-30 23:15:55.056556"]]  (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", "2015-10-30 23:15:55.059925"], ["updated_at", "2015-10-30 23:15:55.059925"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:55.063092"], ["updated_at", "2015-10-30 23:15:55.063092"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:55.068044"], ["updated_at", "2015-10-30 23:15:55.068044"]] 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", "2015-10-30 23:15:55.069649"], ["updated_at", "2015-10-30 23:15:55.069649"]] 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", "2015-10-30 23:15:55.073230"], ["updated_at", "2015-10-30 23:15:55.073230"]]  (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", "2015-10-30 23:15:55.075254"], ["updated_at", "2015-10-30 23:15:55.075254"]]  (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", "2015-10-30 23:15:55.076926"], ["updated_at", "2015-10-30 23:15:55.076926"]]  (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", "2015-10-30 23:15:55.078561"], ["updated_at", "2015-10-30 23:15:55.078561"]]  (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", "2015-10-30 23:15:55.080549"], ["updated_at", "2015-10-30 23:15:55.080549"]]  (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$UMDps8qhDjA9WcVgjkir7uRHpuD.qjPD9V5yt8/Vcp534XfakUGEy"], ["remember_token", "WSDd2JumoEng98l-DfbO7Q"], ["created_at", "2015-10-30 23:15:55.084329"], ["updated_at", "2015-10-30 23:15:55.084329"]]  (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", "2015-10-30 23:15:55.085864"], ["updated_at", "2015-10-30 23:15:55.085864"]]  (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", "2015-10-30 23:15:55.089497"], ["updated_at", "2015-10-30 23:15:55.089497"]]  (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", "2015-10-30 23:15:55.093267"], ["updated_at", "2015-10-30 23:15:55.093267"]]  (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", "2015-10-30 23:15:55.096044"], ["updated_at", "2015-10-30 23:15:55.096044"]]  (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", "2015-10-30 23:15:55.098183"], ["updated_at", "2015-10-30 23:15:55.098183"]]  (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", "2KWPQfxtK76IU4_MblkXfQ"]] 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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$U.Qo5.EJyx0Vn/7gc7Nv/O8C4KLjH.188NI5EKvQs8hkXG/xdHG5m"], ["remember_token", "895ukRy4TEkcLe-HpTuyng"], ["created_at", "2015-10-30 23:15:55.112925"], ["updated_at", "2015-10-30 23:15:55.112925"]]  (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", "2015-10-30 23:15:55.116325"], ["updated_at", "2015-10-30 23:15:55.116325"]]  (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", "2015-10-30 23:15:55.119239"], ["updated_at", "2015-10-30 23:15:55.119239"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:55.124368"], ["updated_at", "2015-10-30 23:15:55.124368"]] 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", "2015-10-30 23:15:55.125986"], ["updated_at", "2015-10-30 23:15:55.125986"]] 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", "2015-10-30 23:15:55.129440"], ["updated_at", "2015-10-30 23:15:55.129440"]]  (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", "2015-10-30 23:15:55.131149"], ["updated_at", "2015-10-30 23:15:55.131149"]]  (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", "2015-10-30 23:15:55.132749"], ["updated_at", "2015-10-30 23:15:55.132749"]]  (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", "2015-10-30 23:15:55.134403"], ["updated_at", "2015-10-30 23:15:55.134403"]]  (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", "2015-10-30 23:15:55.135982"], ["updated_at", "2015-10-30 23:15:55.135982"]]  (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$ZEMFuV.IIOFlT6VdLsaDleQ40LeRTZW006kcRJBGP3ZIE0GJ2uzR."], ["remember_token", "2auqJA6Tkvi-RbcjnN-cvQ"], ["created_at", "2015-10-30 23:15:55.139930"], ["updated_at", "2015-10-30 23:15:55.139930"]]  (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", "2015-10-30 23:15:55.141483"], ["updated_at", "2015-10-30 23:15:55.141483"]]  (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.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", "2015-10-30 23:15:55.143374"], ["updated_at", "2015-10-30 23:15:55.143374"]]  (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.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", "2015-10-30 23:15:55.147062"], ["updated_at", "2015-10-30 23:15:55.147062"]]  (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", "2015-10-30 23:15:55.150460"], ["updated_at", "2015-10-30 23:15:55.150460"]]  (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.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", "2015-10-30 23:15:55.153118"], ["updated_at", "2015-10-30 23:15:55.153118"]]  (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", "2015-10-30 23:15:55.155841"], ["updated_at", "2015-10-30 23:15:55.155841"]]  (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.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:55.162000"], ["updated_at", "2015-10-30 23:15:55.162000"]] 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", "2015-10-30 23:15:55.163346"], ["updated_at", "2015-10-30 23:15:55.163346"]] 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", "895ukRy4TEkcLe-HpTuyng"]] 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.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" = '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 8ms (Views: 1.7ms | ActiveRecord: 0.7ms) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (2.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$hdA0HUttDWHyHZO4iqdD9exF.UkWNO8g.5d/3MURehUxfa.c1SDTK"], ["remember_token", "f43O2TrLrI5ayrCPHiYGJw"], ["created_at", "2015-10-30 23:15:55.186053"], ["updated_at", "2015-10-30 23:15:55.186053"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$uj6Cu9cP0QNH2rrRWejCvub0SWGno3nqAsqwe/xh5Yk3iGbNTkKKK"], ["remember_token", "SwjMNs-vKSy2bNoB3QAc7g"], ["created_at", "2015-10-30 23:15:55.192190"], ["updated_at", "2015-10-30 23:15:55.192190"]]  (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", "2015-10-30 23:15:55.194621"], ["updated_at", "2015-10-30 23:15:55.194621"]]  (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", "2015-10-30 23:15:55.196848"], ["updated_at", "2015-10-30 23:15:55.196848"]]  (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", "2015-10-30 23:15:55.198705"], ["updated_at", "2015-10-30 23:15:55.198705"]]  (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", "2015-10-30 23:15:55.200531"], ["updated_at", "2015-10-30 23:15:55.200531"]]  (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", "2015-10-30 23:15:55.202545"], ["updated_at", "2015-10-30 23:15:55.202545"]]  (0.2ms) 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", "2015-10-30 23:15:55.205016"], ["updated_at", "2015-10-30 23:15:55.205016"]]  (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", "2015-10-30 23:15:55.207056"], ["updated_at", "2015-10-30 23:15:55.207056"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:15:55.209803"], ["updated_at", "2015-10-30 23:15:55.209803"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:55.212117"], ["updated_at", "2015-10-30 23:15:55.212117"]]  (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", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:55.215091"], ["updated_at", "2015-10-30 23:15:55.215091"]] 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", "2015-10-30 23:15:55.216714"], ["updated_at", "2015-10-30 23:15:55.216714"]] Adeia::Action Load (5.9ms) 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.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_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:55.230314"], ["updated_at", "2015-10-30 23:15:55.230314"]] 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", "2015-10-30 23:15:55.231637"], ["updated_at", "2015-10-30 23:15:55.231637"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "f43O2TrLrI5ayrCPHiYGJw"]] 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" = 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 9ms (Views: 1.3ms | ActiveRecord: 0.9ms) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (2.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$zOMMkSaXSqhncPPpmkIPl.JOTSN7dAjojLQ4msBfmToh935t8.IPe"], ["remember_token", "AF-MI8zZ9n3_Z9MnHjmEew"], ["created_at", "2015-10-30 23:15:55.252839"], ["updated_at", "2015-10-30 23:15:55.252839"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:15:55.256043"], ["updated_at", "2015-10-30 23:15:55.256043"]]  (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", "2015-10-30 23:15:55.260112"], ["updated_at", "2015-10-30 23:15:55.260112"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:55.263198"], ["updated_at", "2015-10-30 23:15:55.263198"]] 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", "2015-10-30 23:15:55.264482"], ["updated_at", "2015-10-30 23:15:55.264482"]] 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 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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$4amVqSdFAEWSVBkWYLH32.AxUJlb2WNwW7vCO37KeMXllfO4ugMom"], ["remember_token", "W_pY_ngHfoVvcnC5l1bOoQ"], ["created_at", "2015-10-30 23:15:55.270953"], ["updated_at", "2015-10-30 23:15:55.270953"]]  (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", "2015-10-30 23:15:55.272622"], ["updated_at", "2015-10-30 23:15:55.272622"]]  (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 1 [["remember_token", "AF-MI8zZ9n3_Z9MnHjmEew"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 0.5ms)  (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$Ia/ieqYxpK2Bp/3l0gAY7uCfFxXNmLd/OrW4.55.pHvDozsmuHX1u"], ["remember_token", "qpnzViV6jFI_Xn92uodY_A"], ["created_at", "2015-10-30 23:15:55.287892"], ["updated_at", "2015-10-30 23:15:55.287892"]]  (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", "2015-10-30 23:15:55.291586"], ["updated_at", "2015-10-30 23:15:55.291586"]]  (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", "2015-10-30 23:15:55.294833"], ["updated_at", "2015-10-30 23:15:55.294833"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:55.298208"], ["updated_at", "2015-10-30 23:15:55.298208"]] 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", "2015-10-30 23:15:55.299613"], ["updated_at", "2015-10-30 23:15:55.299613"]] 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.1ms) 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$ARs44jjlgbzKcuc2r9Svd.PzvNWWq.PalAO6H28b72b/oUw7YO2cW"], ["remember_token", "d-ezGf_xDef4EhZGZEhWqg"], ["created_at", "2015-10-30 23:15:55.305581"], ["updated_at", "2015-10-30 23:15:55.305581"]]  (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", "2015-10-30 23:15:55.307346"], ["updated_at", "2015-10-30 23:15:55.307346"]]  (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", "qpnzViV6jFI_Xn92uodY_A"]] 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"."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"]] Rendered articles/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (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$nsMeF2uk8b19iebon7vVoutqSvuIWB5cx87x72dxyN5g4FNIoszCy"], ["remember_token", "_Z6SGzFEOixAM2qXO3iIYw"], ["created_at", "2015-10-30 23:15:55.320890"], ["updated_at", "2015-10-30 23:15:55.320890"]]  (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", "2015-10-30 23:15:55.324993"], ["updated_at", "2015-10-30 23:15:55.324993"]]  (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", "2015-10-30 23:15:55.328295"], ["updated_at", "2015-10-30 23:15:55.328295"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:55.331558"], ["updated_at", "2015-10-30 23:15:55.331558"]] 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", "2015-10-30 23:15:55.332888"], ["updated_at", "2015-10-30 23:15:55.332888"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "_Z6SGzFEOixAM2qXO3iIYw"]] 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" = 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.3ms) Completed 200 OK in 9ms (Views: 3.8ms | 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$VRdlaxW9l9VJpdF8NwuF.eaJuL/3UW2SKaVF8qDsCD1rryy9NLVfC"], ["remember_token", "ViVgnfywAeIBIMYIu-Gv7w"], ["created_at", "2015-10-30 23:15:55.353501"], ["updated_at", "2015-10-30 23:15:55.353501"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:15:55.359096"], ["updated_at", "2015-10-30 23:15:55.359096"]]  (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", "2015-10-30 23:15:55.363661"], ["updated_at", "2015-10-30 23:15:55.363661"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:55.367401"], ["updated_at", "2015-10-30 23:15:55.367401"]] 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", "2015-10-30 23:15:55.368947"], ["updated_at", "2015-10-30 23:15:55.368947"]] 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.1ms) 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$MAjtSFsjdNM01ro9qvRRT.V5.fIbpMDp1qbRzD8IiFlD6YhC0LbrC"], ["remember_token", "a7fulYXTGxNjJLz1CsSK_w"], ["created_at", "2015-10-30 23:15:55.375852"], ["updated_at", "2015-10-30 23:15:55.375852"]]  (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", "2015-10-30 23:15:55.377423"], ["updated_at", "2015-10-30 23:15:55.377423"]]  (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", "ViVgnfywAeIBIMYIu-Gv7w"]] 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.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.3ms) Completed 200 OK in 9ms (Views: 3.2ms | ActiveRecord: 0.8ms)  (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$o3xxdGbuV5cGkg43WXe3Qe./Erkf79AWTPxsfQ8/KqZ1CD6.f2t9."], ["remember_token", "yMgmhzUlRWVk5mxY5rFctg"], ["created_at", "2015-10-30 23:15:55.394018"], ["updated_at", "2015-10-30 23:15:55.394018"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:15:55.397044"], ["updated_at", "2015-10-30 23:15:55.397044"]]  (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", "2015-10-30 23:15:55.399658"], ["updated_at", "2015-10-30 23:15:55.399658"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:15:55.403604"], ["updated_at", "2015-10-30 23:15:55.403604"]] 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", "2015-10-30 23:15:55.405408"], ["updated_at", "2015-10-30 23:15:55.405408"]] 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.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$EbSAK8CnTMeMMaxtAfpBVeVJ/jb/GJNmnlMdgOhfY9lpHs3RVCzI."], ["remember_token", "qBu95MbV-BIH7W87ndGfXg"], ["created_at", "2015-10-30 23:15:55.411383"], ["updated_at", "2015-10-30 23:15:55.411383"]]  (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", "2015-10-30 23:15:55.413009"], ["updated_at", "2015-10-30 23:15:55.413009"]]  (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", "yMgmhzUlRWVk5mxY5rFctg"]] 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: 0.9ms | ActiveRecord: 0.4ms)  (1.2ms) 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", "2015-10-30 23:15:55.424518"], ["updated_at", "2015-10-30 23:15:55.424518"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:15:55.427568"], ["updated_at", "2015-10-30 23:15:55.427568"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:15:55.430584"], ["updated_at", "2015-10-30 23:15:55.430584"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:55.436714"], ["updated_at", "2015-10-30 23:15:55.436714"]]  (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", "2015-10-30 23:15:55.440123"], ["updated_at", "2015-10-30 23:15:55.440123"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:15:55.460325"], ["updated_at", "2015-10-30 23:15:55.460325"]]  (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", "2015-10-30 23:15:55.463113"], ["updated_at", "2015-10-30 23:15:55.463113"]]  (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", "2015-10-30 23:15:55.470564"], ["updated_at", "2015-10-30 23:15:55.470564"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.2ms) 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", "2015-10-30 23:15:55.474483"], ["updated_at", "2015-10-30 23:15:55.474483"]]  (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", "2015-10-30 23:15:55.477724"], ["updated_at", "2015-10-30 23:15:55.477724"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:55.485030"], ["updated_at", "2015-10-30 23:15:55.485030"]]  (0.0ms) 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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:15:55.487348"], ["updated_at", "2015-10-30 23:15:55.487348"]]  (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", "2015-10-30 23:15:55.490845"], ["updated_at", "2015-10-30 23:15:55.490845"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:15:55.498010"], ["updated_at", "2015-10-30 23:15:55.498010"]]  (0.0ms) 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", "2015-10-30 23:15:55.500160"], ["updated_at", "2015-10-30 23:15:55.500160"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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 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 (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:16:41.923960"], ["updated_at", "2015-10-30 23:16:41.923960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.8ms) 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", "2015-10-30 23:16:41.949399"], ["updated_at", "2015-10-30 23:16:41.949399"]]  (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.5ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:16:41.963811"], ["updated_at", "2015-10-30 23:16:41.963811"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.004946"], ["updated_at", "2015-10-30 23:16:42.004946"]] 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", "2015-10-30 23:16:42.007690"], ["updated_at", "2015-10-30 23:16:42.007690"]] 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  (0.1ms) SAVEPOINT active_record_1 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" WHERE "adeia_permissions"."id" = ? LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "2wXNTuxO36ixiN1QcdNZpg"], ["is_valid", "t"], ["adeia_permission_id", 1], ["exp_at", "2015-11-30"], ["created_at", "2015-10-30 23:16:42.029051"], ["updated_at", "2015-10-30 23:16:42.029051"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "2wXNTuxO36ixiN1QcdNZpg"]]  (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.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"."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"]] 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.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.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" = 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.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", "2015-10-30 23:16:42.070473"], ["updated_at", "2015-10-30 23:16:42.070473"]]  (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", "2015-10-30 23:16:42.073678"], ["updated_at", "2015-10-30 23:16:42.073678"]]  (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", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:16:42.078144"], ["updated_at", "2015-10-30 23:16:42.078144"]] 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", "2015-10-30 23:16:42.080031"], ["updated_at", "2015-10-30 23:16:42.080031"]] 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.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.1ms) 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.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", "2015-10-30 23:16:42.091243"], ["updated_at", "2015-10-30 23:16:42.091243"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:16:42.094502"], ["updated_at", "2015-10-30 23:16:42.094502"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.098500"], ["updated_at", "2015-10-30 23:16:42.098500"]] 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", "2015-10-30 23:16:42.099914"], ["updated_at", "2015-10-30 23:16:42.099914"]] 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" = 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"."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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:16:42.110033"], ["updated_at", "2015-10-30 23:16:42.110033"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:16:42.112775"], ["updated_at", "2015-10-30 23:16:42.112775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.116209"], ["updated_at", "2015-10-30 23:16:42.116209"]] 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", "2015-10-30 23:16:42.119105"], ["updated_at", "2015-10-30 23:16:42.119105"]] 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.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.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" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (0.9ms) 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", "2015-10-30 23:16:42.131672"], ["updated_at", "2015-10-30 23:16:42.131672"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:16:42.134423"], ["updated_at", "2015-10-30 23:16:42.134423"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.138224"], ["updated_at", "2015-10-30 23:16:42.138224"]] 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", "2015-10-30 23:16:42.140059"], ["updated_at", "2015-10-30 23:16:42.140059"]] 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.1ms) 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"]]  (0.9ms) 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", "2015-10-30 23:16:42.151687"], ["updated_at", "2015-10-30 23:16:42.151687"]]  (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", "2015-10-30 23:16:42.155783"], ["updated_at", "2015-10-30 23:16:42.155783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.160872"], ["updated_at", "2015-10-30 23:16:42.160872"]] 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", "2015-10-30 23:16:42.163400"], ["updated_at", "2015-10-30 23:16:42.163400"]] 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" = 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.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", "2015-10-30 23:16:42.175164"], ["updated_at", "2015-10-30 23:16:42.175164"]]  (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", "2015-10-30 23:16:42.178355"], ["updated_at", "2015-10-30 23:16:42.178355"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.182197"], ["updated_at", "2015-10-30 23:16:42.182197"]] 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", "2015-10-30 23:16:42.183641"], ["updated_at", "2015-10-30 23:16:42.183641"]] 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" = 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"."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.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" = 1007 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:16:42.193963"], ["updated_at", "2015-10-30 23:16:42.193963"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:16:42.196661"], ["updated_at", "2015-10-30 23:16:42.196661"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.200131"], ["updated_at", "2015-10-30 23:16:42.200131"]] 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", "2015-10-30 23:16:42.202897"], ["updated_at", "2015-10-30 23:16:42.202897"]] 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.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" = 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"."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"]]  (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", "2015-10-30 23:16:42.217371"], ["updated_at", "2015-10-30 23:16:42.217371"]]  (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", "2015-10-30 23:16:42.221315"], ["updated_at", "2015-10-30 23:16:42.221315"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:16:42.225895"], ["updated_at", "2015-10-30 23:16:42.225895"]] 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", "2015-10-30 23:16:42.227305"], ["updated_at", "2015-10-30 23:16:42.227305"]] 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.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"."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.1ms) 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:16:42.238122"], ["updated_at", "2015-10-30 23:16:42.238122"]]  (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", "2015-10-30 23:16:42.240920"], ["updated_at", "2015-10-30 23:16:42.240920"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.245314"], ["updated_at", "2015-10-30 23:16:42.245314"]] 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", "2015-10-30 23:16:42.247536"], ["updated_at", "2015-10-30 23:16:42.247536"]] 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" = 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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-30 23:16:42.267585"], ["updated_at", "2015-10-30 23:16:42.267585"]]  (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", "2015-10-30 23:16:42.270416"], ["updated_at", "2015-10-30 23:16:42.270416"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.274128"], ["updated_at", "2015-10-30 23:16:42.274128"]] 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", "2015-10-30 23:16:42.276202"], ["updated_at", "2015-10-30 23:16:42.276202"]] 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 "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "S-0GPfSEaOLCQdBap-z6mw"], ["is_valid", "t"], ["adeia_permission_id", 1], ["exp_at", "2015-11-30"], ["created_at", "2015-10-30 23:16:42.279831"], ["updated_at", "2015-10-30 23:16:42.279831"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "S-0GPfSEaOLCQdBap-z6mw"]]  (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_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"]]  (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"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:16:42.288853"], ["updated_at", "2015-10-30 23:16:42.288853"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:16:42.291651"], ["updated_at", "2015-10-30 23:16:42.291651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.294935"], ["updated_at", "2015-10-30 23:16:42.294935"]] 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", "2015-10-30 23:16:42.296845"], ["updated_at", "2015-10-30 23:16:42.296845"]] 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" = 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.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", "2015-10-30 23:16:42.310358"], ["updated_at", "2015-10-30 23:16:42.310358"]]  (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", "2015-10-30 23:16:42.314543"], ["updated_at", "2015-10-30 23:16:42.314543"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.319348"], ["updated_at", "2015-10-30 23:16:42.319348"]] 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", "2015-10-30 23:16:42.320964"], ["updated_at", "2015-10-30 23:16:42.320964"]] 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.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" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1013 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:16:42.335515"], ["updated_at", "2015-10-30 23:16:42.335515"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:16:42.338268"], ["updated_at", "2015-10-30 23:16:42.338268"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.342715"], ["updated_at", "2015-10-30 23:16:42.342715"]] 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", "2015-10-30 23:16:42.344147"], ["updated_at", "2015-10-30 23:16:42.344147"]] 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" = 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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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", "2015-10-30 23:16:42.355385"], ["updated_at", "2015-10-30 23:16:42.355385"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:16:42.358087"], ["updated_at", "2015-10-30 23:16:42.358087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.361290"], ["updated_at", "2015-10-30 23:16:42.361290"]] 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", "2015-10-30 23:16:42.364778"], ["updated_at", "2015-10-30 23:16:42.364778"]] 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.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.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" = 1018 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" = 1018 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", "2015-10-30 23:16:42.379816"], ["updated_at", "2015-10-30 23:16:42.379816"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:16:42.382767"], ["updated_at", "2015-10-30 23:16:42.382767"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.387060"], ["updated_at", "2015-10-30 23:16:42.387060"]] 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", "2015-10-30 23:16:42.388888"], ["updated_at", "2015-10-30 23:16:42.388888"]] 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" = 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.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" = 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", "2015-10-30 23:16:42.400275"], ["updated_at", "2015-10-30 23:16:42.400275"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:16:42.402987"], ["updated_at", "2015-10-30 23:16:42.402987"]]  (0.0ms) 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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.407576"], ["updated_at", "2015-10-30 23:16:42.407576"]] 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", "2015-10-30 23:16:42.410071"], ["updated_at", "2015-10-30 23:16:42.410071"]] 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.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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.0ms) rollback transaction  (0.2ms) 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:16:42.427594"], ["updated_at", "2015-10-30 23:16:42.427594"]]  (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", "2015-10-30 23:16:42.432104"], ["updated_at", "2015-10-30 23:16:42.432104"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:16:42.436899"], ["updated_at", "2015-10-30 23:16:42.436899"]]  (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", "2015-10-30 23:16:42.439590"], ["updated_at", "2015-10-30 23:16:42.439590"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.442508"], ["updated_at", "2015-10-30 23:16:42.442508"]] 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", "2015-10-30 23:16:42.443784"], ["updated_at", "2015-10-30 23:16:42.443784"]] 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" = 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  (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$lkQBLAJIpdlt0EDd0UUIQOiEui8/fn/9ps2Yn7f688yRGxDI1YatK"], ["remember_token", "t-rUPlTUkbysT_XB5sGOiA"], ["created_at", "2015-10-30 23:16:42.467689"], ["updated_at", "2015-10-30 23:16:42.467689"]]  (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", "2015-10-30 23:16:42.471882"], ["updated_at", "2015-10-30 23:16:42.471882"]]  (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", "2015-10-30 23:16:42.474839"], ["updated_at", "2015-10-30 23:16:42.474839"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.478645"], ["updated_at", "2015-10-30 23:16:42.478645"]] 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", "2015-10-30 23:16:42.480061"], ["updated_at", "2015-10-30 23:16:42.480061"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "t-rUPlTUkbysT_XB5sGOiA"]] 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" = 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" = 'articles' [["read_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"."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 21ms (Views: 13.8ms | ActiveRecord: 0.9ms)  (0.8ms) 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$MWp3sEBH4W5B7mg7mgs0Gu2QkzyCfgRtjpmZFR42TM1/VV7rEJNYC"], ["remember_token", "wZ9pzDKneVRo_5ca3SW2VA"], ["created_at", "2015-10-30 23:16:42.512864"], ["updated_at", "2015-10-30 23:16:42.512864"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:16:42.516200"], ["updated_at", "2015-10-30 23:16:42.516200"]]  (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", "2015-10-30 23:16:42.519433"], ["updated_at", "2015-10-30 23:16:42.519433"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.522830"], ["updated_at", "2015-10-30 23:16:42.522830"]] 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", "2015-10-30 23:16:42.524186"], ["updated_at", "2015-10-30 23:16:42.524186"]] 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", "wZ9pzDKneVRo_5ca3SW2VA"]] 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" = 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.2ms) Completed 200 OK in 13ms (Views: 0.9ms | 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$nvElMHGoJtPMEQGiwc0cYOgx64iWo3aKWhoz768i/DFL1ySgLybUu"], ["remember_token", "K-BFcix1eqdrw7iw8xiMzw"], ["created_at", "2015-10-30 23:16:42.547118"], ["updated_at", "2015-10-30 23:16:42.547118"]]  (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", "2015-10-30 23:16:42.551268"], ["updated_at", "2015-10-30 23:16:42.551268"]]  (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", "2015-10-30 23:16:42.554658"], ["updated_at", "2015-10-30 23:16:42.554658"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.558022"], ["updated_at", "2015-10-30 23:16:42.558022"]] 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", "2015-10-30 23:16:42.559378"], ["updated_at", "2015-10-30 23:16:42.559378"]] 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.2ms) 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$H7QiJPjdcyiFO4aLsJOQ3.yH9H35G5/h0TM0bXY4acI6O6jJOvL5e"], ["remember_token", "ZiYv35SUn9lQemez1qL4vA"], ["created_at", "2015-10-30 23:16:42.571284"], ["updated_at", "2015-10-30 23:16:42.571284"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", "2015-10-30 23:16:42.574171"], ["updated_at", "2015-10-30 23:16:42.574171"]]  (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", "2015-10-30 23:16:42.577380"], ["updated_at", "2015-10-30 23:16:42.577380"]]  (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", "2015-10-30 23:16:42.579551"], ["updated_at", "2015-10-30 23:16:42.579551"]]  (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", "2015-10-30 23:16:42.581686"], ["updated_at", "2015-10-30 23:16:42.581686"]]  (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.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", "2015-10-30 23:16:42.583873"], ["updated_at", "2015-10-30 23:16:42.583873"]]  (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", "K-BFcix1eqdrw7iw8xiMzw"]] 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.2ms) Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 0.7ms)  (1.1ms) rollback transaction  (0.2ms) 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$QXHuVPhEcu7gRQ59hZ/ENOKwRDOl3rwRgtwrxyoqv9qqbpPZD6NlG"], ["remember_token", "y3SjQ8Wt5tbqN8kMA1aU0w"], ["created_at", "2015-10-30 23:16:42.600702"], ["updated_at", "2015-10-30 23:16:42.600702"]]  (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.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:16:42.605523"], ["updated_at", "2015-10-30 23:16:42.605523"]]  (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", "2015-10-30 23:16:42.610185"], ["updated_at", "2015-10-30 23:16:42.610185"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.613904"], ["updated_at", "2015-10-30 23:16:42.613904"]] 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", "2015-10-30 23:16:42.615717"], ["updated_at", "2015-10-30 23:16:42.615717"]] 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.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", "2015-10-30 23:16:42.620222"], ["updated_at", "2015-10-30 23:16:42.620222"]]  (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", "2015-10-30 23:16:42.624712"], ["updated_at", "2015-10-30 23:16:42.624712"]]  (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", "2015-10-30 23:16:42.627087"], ["updated_at", "2015-10-30 23:16:42.627087"]]  (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", "2015-10-30 23:16:42.628978"], ["updated_at", "2015-10-30 23:16:42.628978"]]  (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", "2015-10-30 23:16:42.633546"], ["updated_at", "2015-10-30 23:16:42.633546"]]  (0.2ms) 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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$Bu99uE6Q9iUE.8rghRlk1OPRqI.eDxrUH3YIdC5eoD5EcHIy8iwtO"], ["remember_token", "RaoNUC3DqpJU3Mb3APARFw"], ["created_at", "2015-10-30 23:16:42.639634"], ["updated_at", "2015-10-30 23:16:42.639634"]]  (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", "2015-10-30 23:16:42.642153"], ["updated_at", "2015-10-30 23:16:42.642153"]]  (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", "2015-10-30 23:16:42.644614"], ["updated_at", "2015-10-30 23:16:42.644614"]]  (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", "2015-10-30 23:16:42.648062"], ["updated_at", "2015-10-30 23:16:42.648062"]]  (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", "2015-10-30 23:16:42.650904"], ["updated_at", "2015-10-30 23:16:42.650904"]]  (0.2ms) 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.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", "2015-10-30 23:16:42.655321"], ["updated_at", "2015-10-30 23:16:42.655321"]]  (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", "y3SjQ8Wt5tbqN8kMA1aU0w"]] 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" = 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.2ms) Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 0.8ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (2.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$KWsLHujcKihiiMjbrT/L5O35FfOsRL2defRPnYWHfT.iXnmUsNHg6"], ["remember_token", "W6RKKH0yhxz0gY7BTCI9dg"], ["created_at", "2015-10-30 23:16:42.675615"], ["updated_at", "2015-10-30 23:16:42.675615"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:16:42.681533"], ["updated_at", "2015-10-30 23:16:42.681533"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:16:42.686027"], ["updated_at", "2015-10-30 23:16:42.686027"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.691491"], ["updated_at", "2015-10-30 23:16:42.691491"]] 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", "2015-10-30 23:16:42.693705"], ["updated_at", "2015-10-30 23:16:42.693705"]] 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 "articles" ("title", "content", "user_id", "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", "2015-10-30 23:16:42.697666"], ["updated_at", "2015-10-30 23:16:42.697666"]]  (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", "2015-10-30 23:16:42.701159"], ["updated_at", "2015-10-30 23:16:42.701159"]]  (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", "2015-10-30 23:16:42.704107"], ["updated_at", "2015-10-30 23:16:42.704107"]]  (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", "2015-10-30 23:16:42.707955"], ["updated_at", "2015-10-30 23:16:42.707955"]]  (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", "2015-10-30 23:16:42.711222"], ["updated_at", "2015-10-30 23:16:42.711222"]]  (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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$ZnfQIVOMm5LLZrRJw.8twuWKwJ564bFkecWeJcdMsiEDyobhcbkvG"], ["remember_token", "czzmlvAqwN9SzWhzY5xMSw"], ["created_at", "2015-10-30 23:16:42.716154"], ["updated_at", "2015-10-30 23:16:42.716154"]]  (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", "2015-10-30 23:16:42.718466"], ["updated_at", "2015-10-30 23:16:42.718466"]]  (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.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", "2015-10-30 23:16:42.721865"], ["updated_at", "2015-10-30 23:16:42.721865"]]  (0.2ms) 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", "2015-10-30 23:16:42.726695"], ["updated_at", "2015-10-30 23:16:42.726695"]]  (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", "2015-10-30 23:16:42.728768"], ["updated_at", "2015-10-30 23:16:42.728768"]]  (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.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", "2015-10-30 23:16:42.732496"], ["updated_at", "2015-10-30 23:16:42.732496"]]  (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 "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-30 23:16:42.736050"], ["updated_at", "2015-10-30 23:16:42.736050"]]  (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.2ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.747113"], ["updated_at", "2015-10-30 23:16:42.747113"]] 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", "2015-10-30 23:16:42.748567"], ["updated_at", "2015-10-30 23:16:42.748567"]] 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", "W6RKKH0yhxz0gY7BTCI9dg"]] Adeia::Token Load (0.2ms) 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" = 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 9ms (Views: 0.9ms | ActiveRecord: 1.0ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (2.4ms) 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$LzWfcKknE6x2LT/SbvW3Aelqq/jJphCKMl2jYCfe2j7EekAKPt6eq"], ["remember_token", "wU59Bv7NSikRT2naTtdS6g"], ["created_at", "2015-10-30 23:16:42.771025"], ["updated_at", "2015-10-30 23:16:42.771025"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$gnLg5qxp8L.EBu5Zr80gkuHrhZT0OAcYaFsUirBKLQyoeSvSi1G5m"], ["remember_token", "dtNHP4jnbC9_Q-aziNgodg"], ["created_at", "2015-10-30 23:16:42.778476"], ["updated_at", "2015-10-30 23:16:42.778476"]]  (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", "2015-10-30 23:16:42.780614"], ["updated_at", "2015-10-30 23:16:42.780614"]]  (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", "2015-10-30 23:16:42.784518"], ["updated_at", "2015-10-30 23:16:42.784518"]]  (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 "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-30 23:16:42.786616"], ["updated_at", "2015-10-30 23:16:42.786616"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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", "2015-10-30 23:16:42.792209"], ["updated_at", "2015-10-30 23:16:42.792209"]]  (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.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", "2015-10-30 23:16:42.795937"], ["updated_at", "2015-10-30 23:16:42.795937"]]  (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", "2015-10-30 23:16:42.798764"], ["updated_at", "2015-10-30 23:16:42.798764"]]  (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", "2015-10-30 23:16:42.801327"], ["updated_at", "2015-10-30 23:16:42.801327"]]  (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", "2015-10-30 23:16:42.806449"], ["updated_at", "2015-10-30 23:16:42.806449"]]  (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", "2015-10-30 23:16:42.811473"], ["updated_at", "2015-10-30 23:16:42.811473"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.815766"], ["updated_at", "2015-10-30 23:16:42.815766"]] 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", "2015-10-30 23:16:42.817883"], ["updated_at", "2015-10-30 23:16:42.817883"]] 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.827672"], ["updated_at", "2015-10-30 23:16:42.827672"]] 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", "2015-10-30 23:16:42.830157"], ["updated_at", "2015-10-30 23:16:42.830157"]] 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", "wU59Bv7NSikRT2naTtdS6g"]] 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 8ms (Views: 1.3ms | ActiveRecord: 0.7ms) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (2.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$hLaKu5THYsMZKbuOtqfcGeDCstBApLXpAWYrm0EpjSktIbf7Npn4i"], ["remember_token", "aDi1oQi_9G0LuIHfA9WJ9Q"], ["created_at", "2015-10-30 23:16:42.850133"], ["updated_at", "2015-10-30 23:16:42.850133"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:16:42.853840"], ["updated_at", "2015-10-30 23:16:42.853840"]]  (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", "2015-10-30 23:16:42.857504"], ["updated_at", "2015-10-30 23:16:42.857504"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.860818"], ["updated_at", "2015-10-30 23:16:42.860818"]] 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", "2015-10-30 23:16:42.862856"], ["updated_at", "2015-10-30 23:16:42.862856"]] 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.1ms) 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$82VjT33SjDv190ggx1aOweQrJGWV/IHUAONi.ZRpIqcV14ZugQnUq"], ["remember_token", "ugxTNKx6ahnRdj9A950sqw"], ["created_at", "2015-10-30 23:16:42.874888"], ["updated_at", "2015-10-30 23:16:42.874888"]]  (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", "2015-10-30 23:16:42.876684"], ["updated_at", "2015-10-30 23:16:42.876684"]]  (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 1 [["remember_token", "aDi1oQi_9G0LuIHfA9WJ9Q"]] Article Load (0.2ms) 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.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::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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 9ms (Views: 3.1ms | 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$WuwlJsp95ZmmoAyPcpVFqu0sDAXf8nLD3vmUEwG4xhpijPLeTSJLO"], ["remember_token", "wHQ93szZ-CamTpnnSOPKNA"], ["created_at", "2015-10-30 23:16:42.893918"], ["updated_at", "2015-10-30 23:16:42.893918"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:16:42.896987"], ["updated_at", "2015-10-30 23:16:42.896987"]]  (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", "2015-10-30 23:16:42.899809"], ["updated_at", "2015-10-30 23:16:42.899809"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.903333"], ["updated_at", "2015-10-30 23:16:42.903333"]] 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", "2015-10-30 23:16:42.904661"], ["updated_at", "2015-10-30 23:16:42.904661"]] 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.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$.057WaqIJrLrlFvqc/CMHuO3Xa2DWrmwtYwgPNwxjVufVKtLG7soa"], ["remember_token", "4U3OCt8M9FhURy93sTpYmg"], ["created_at", "2015-10-30 23:16:42.910089"], ["updated_at", "2015-10-30 23:16:42.910089"]]  (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", "2015-10-30 23:16:42.911664"], ["updated_at", "2015-10-30 23:16:42.911664"]]  (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", "wHQ93szZ-CamTpnnSOPKNA"]] 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"."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"]] Rendered articles/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (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$BXRZeWy.IAeZs19y/ip9nebeZYhyo9H8b9ErktMd89Zi8tci6WYb."], ["remember_token", "df__C4qoBTuJJ2UW9WIqxg"], ["created_at", "2015-10-30 23:16:42.924582"], ["updated_at", "2015-10-30 23:16:42.924582"]]  (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", "2015-10-30 23:16:42.928410"], ["updated_at", "2015-10-30 23:16:42.928410"]]  (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", "2015-10-30 23:16:42.931676"], ["updated_at", "2015-10-30 23:16:42.931676"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.934847"], ["updated_at", "2015-10-30 23:16:42.934847"]] 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", "2015-10-30 23:16:42.936203"], ["updated_at", "2015-10-30 23:16:42.936203"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "df__C4qoBTuJJ2UW9WIqxg"]] 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 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.3ms) Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.4ms)  (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$biqMtnx/n6GwInF2H7uwyO3dWRR0HM42aqjEmToonagPjth3ylXFC"], ["remember_token", "3BODKV78xLIIHqGHUZJPfQ"], ["created_at", "2015-10-30 23:16:42.950991"], ["updated_at", "2015-10-30 23:16:42.950991"]]  (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", "2015-10-30 23:16:42.954555"], ["updated_at", "2015-10-30 23:16:42.954555"]]  (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", "2015-10-30 23:16:42.957773"], ["updated_at", "2015-10-30 23:16:42.957773"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.961419"], ["updated_at", "2015-10-30 23:16:42.961419"]] 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", "2015-10-30 23:16:42.962738"], ["updated_at", "2015-10-30 23:16:42.962738"]] 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.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$BXg.W/5hJZv9Cwfpmo9uY.2L/H5rZAwFfmBEAQDVVjOrKmNXSPLca"], ["remember_token", "0qlo2wHVYOFxYaxWRzaKaQ"], ["created_at", "2015-10-30 23:16:42.968687"], ["updated_at", "2015-10-30 23:16:42.968687"]]  (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", "2015-10-30 23:16:42.970411"], ["updated_at", "2015-10-30 23:16:42.970411"]]  (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", "3BODKV78xLIIHqGHUZJPfQ"]] 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.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.3ms) Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 0.6ms)  (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$CCYFiDhsDhvjKSJ9p814HuoslGjQcb9do4zvgxqThaTXV24dWU9XC"], ["remember_token", "txPMsHemLuVPszGpNKzp1A"], ["created_at", "2015-10-30 23:16:42.985885"], ["updated_at", "2015-10-30 23:16:42.985885"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:16:42.989344"], ["updated_at", "2015-10-30 23:16:42.989344"]]  (0.0ms) 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.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:16:42.992711"], ["updated_at", "2015-10-30 23:16:42.992711"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:16:42.996361"], ["updated_at", "2015-10-30 23:16:42.996361"]] 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", "2015-10-30 23:16:42.997714"], ["updated_at", "2015-10-30 23:16:42.997714"]] 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.1ms) 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$djWMdDk5SxofFI.6AixONuzJB0temuQQuU1vc4.hxL/Ukb/Ad3lvO"], ["remember_token", "56Jis_IzgNKRYVwmh1ZOAQ"], ["created_at", "2015-10-30 23:16:43.004805"], ["updated_at", "2015-10-30 23:16:43.004805"]]  (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", "2015-10-30 23:16:43.007126"], ["updated_at", "2015-10-30 23:16:43.007126"]]  (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", "txPMsHemLuVPszGpNKzp1A"]] 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.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"."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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.9ms) 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", "2015-10-30 23:16:43.021165"], ["updated_at", "2015-10-30 23:16:43.021165"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:16:43.024020"], ["updated_at", "2015-10-30 23:16:43.024020"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:16:43.026900"], ["updated_at", "2015-10-30 23:16:43.026900"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:16:43.033708"], ["updated_at", "2015-10-30 23:16:43.033708"]]  (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", "2015-10-30 23:16:43.037159"], ["updated_at", "2015-10-30 23:16:43.037159"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "2015-10-30 23:16:43.059222"], ["updated_at", "2015-10-30 23:16:43.059222"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:16:43.061936"], ["updated_at", "2015-10-30 23:16:43.061936"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:16:43.071256"], ["updated_at", "2015-10-30 23:16:43.071256"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.2ms) 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", "2015-10-30 23:16:43.074001"], ["updated_at", "2015-10-30 23:16:43.074001"]]  (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", "2015-10-30 23:16:43.076739"], ["updated_at", "2015-10-30 23:16:43.076739"]]  (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 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", "2015-10-30 23:16:43.086145"], ["updated_at", "2015-10-30 23:16:43.086145"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:16:43.088432"], ["updated_at", "2015-10-30 23:16:43.088432"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:16:43.092024"], ["updated_at", "2015-10-30 23:16:43.092024"]]  (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 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", "2015-10-30 23:16:43.099610"], ["updated_at", "2015-10-30 23:16:43.099610"]]  (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", "2015-10-30 23:16:43.102299"], ["updated_at", "2015-10-30 23:16:43.102299"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (1.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:08.220872"], ["updated_at", "2015-10-30 23:17:08.220872"]]  (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", "2015-10-30 23:17:08.244834"], ["updated_at", "2015-10-30 23:17:08.244834"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-30 23:17:08.262591"], ["updated_at", "2015-10-30 23:17:08.262591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:08.307295"], ["updated_at", "2015-10-30 23:17:08.307295"]] 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", "2015-10-30 23:17:08.309992"], ["updated_at", "2015-10-30 23:17:08.309992"]] 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:08.371946"], ["updated_at", "2015-10-30 23:17:08.371946"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:08.375016"], ["updated_at", "2015-10-30 23:17:08.375016"]]  (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", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:17:08.378722"], ["updated_at", "2015-10-30 23:17:08.378722"]] 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", "2015-10-30 23:17:08.380077"], ["updated_at", "2015-10-30 23:17:08.380077"]] 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" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:08.393509"], ["updated_at", "2015-10-30 23:17:08.393509"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:08.396289"], ["updated_at", "2015-10-30 23:17:08.396289"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:08.400155"], ["updated_at", "2015-10-30 23:17:08.400155"]] 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", "2015-10-30 23:17:08.401730"], ["updated_at", "2015-10-30 23:17:08.401730"]] 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.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" = 1003 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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:08.411721"], ["updated_at", "2015-10-30 23:17:08.411721"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:08.414200"], ["updated_at", "2015-10-30 23:17:08.414200"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:08.417259"], ["updated_at", "2015-10-30 23:17:08.417259"]] 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", "2015-10-30 23:17:08.419225"], ["updated_at", "2015-10-30 23:17:08.419225"]] 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.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" = 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:08.430775"], ["updated_at", "2015-10-30 23:17:08.430775"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:08.433376"], ["updated_at", "2015-10-30 23:17:08.433376"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:08.436697"], ["updated_at", "2015-10-30 23:17:08.436697"]] 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", "2015-10-30 23:17:08.438980"], ["updated_at", "2015-10-30 23:17:08.438980"]] 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.1ms) 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"]]  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:08.449893"], ["updated_at", "2015-10-30 23:17:08.449893"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:08.453281"], ["updated_at", "2015-10-30 23:17:08.453281"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:08.458404"], ["updated_at", "2015-10-30 23:17:08.458404"]] 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", "2015-10-30 23:17:08.460073"], ["updated_at", "2015-10-30 23:17:08.460073"]] 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.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.1ms) 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.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", "2015-10-30 23:17:08.471137"], ["updated_at", "2015-10-30 23:17:08.471137"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:08.473859"], ["updated_at", "2015-10-30 23:17:08.473859"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:08.478398"], ["updated_at", "2015-10-30 23:17:08.478398"]] 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", "2015-10-30 23:17:08.481298"], ["updated_at", "2015-10-30 23:17:08.481298"]] 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" = 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"."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.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" = 1007 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", "2015-10-30 23:17:08.492283"], ["updated_at", "2015-10-30 23:17:08.492283"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:08.495428"], ["updated_at", "2015-10-30 23:17:08.495428"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:08.499198"], ["updated_at", "2015-10-30 23:17:08.499198"]] 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", "2015-10-30 23:17:08.500658"], ["updated_at", "2015-10-30 23:17:08.500658"]] 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" = 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"."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.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", "2015-10-30 23:17:08.511729"], ["updated_at", "2015-10-30 23:17:08.511729"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:08.514406"], ["updated_at", "2015-10-30 23:17:08.514406"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:17:08.517635"], ["updated_at", "2015-10-30 23:17:08.517635"]] 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", "2015-10-30 23:17:08.519704"], ["updated_at", "2015-10-30 23:17:08.519704"]] 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.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"."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.1ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:08.532641"], ["updated_at", "2015-10-30 23:17:08.532641"]]  (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", "2015-10-30 23:17:08.537464"], ["updated_at", "2015-10-30 23:17:08.537464"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:08.543484"], ["updated_at", "2015-10-30 23:17:08.543484"]] 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", "2015-10-30 23:17:08.545273"], ["updated_at", "2015-10-30 23:17:08.545273"]] 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" = 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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."name" = 'share'  (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", "2015-10-30 23:17:08.566330"], ["updated_at", "2015-10-30 23:17:08.566330"]]  (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", "2015-10-30 23:17:08.570394"], ["updated_at", "2015-10-30 23:17:08.570394"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:08.574904"], ["updated_at", "2015-10-30 23:17:08.574904"]] 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", "2015-10-30 23:17:08.576604"], ["updated_at", "2015-10-30 23:17:08.576604"]] 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  (0.1ms) ROLLBACK TO 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 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", "2015-10-30 23:17:08.587626"], ["updated_at", "2015-10-30 23:17:08.587626"]]  (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", "2015-10-30 23:17:08.591575"], ["updated_at", "2015-10-30 23:17:08.591575"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:08.597028"], ["updated_at", "2015-10-30 23:17:08.597028"]] 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", "2015-10-30 23:17:08.598550"], ["updated_at", "2015-10-30 23:17:08.598550"]] 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" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:08.609062"], ["updated_at", "2015-10-30 23:17:08.609062"]]  (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", "2015-10-30 23:17:08.611763"], ["updated_at", "2015-10-30 23:17:08.611763"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:08.615168"], ["updated_at", "2015-10-30 23:17:08.615168"]] 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", "2015-10-30 23:17:08.616879"], ["updated_at", "2015-10-30 23:17:08.616879"]] 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" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1013 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", "2015-10-30 23:17:08.633103"], ["updated_at", "2015-10-30 23:17:08.633103"]]  (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", "2015-10-30 23:17:08.637957"], ["updated_at", "2015-10-30 23:17:08.637957"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:08.643715"], ["updated_at", "2015-10-30 23:17:08.643715"]] 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", "2015-10-30 23:17:08.645459"], ["updated_at", "2015-10-30 23:17:08.645459"]] 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" = 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"."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.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" = 1016 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", "2015-10-30 23:17:08.661713"], ["updated_at", "2015-10-30 23:17:08.661713"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:08.664514"], ["updated_at", "2015-10-30 23:17:08.664514"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:08.668514"], ["updated_at", "2015-10-30 23:17:08.668514"]] 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", "2015-10-30 23:17:08.670132"], ["updated_at", "2015-10-30 23:17:08.670132"]] 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" = 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.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" = 1018 AND "adeia_elements"."name" = 'admin/articles' [["update_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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:08.683548"], ["updated_at", "2015-10-30 23:17:08.683548"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:08.686141"], ["updated_at", "2015-10-30 23:17:08.686141"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:08.691025"], ["updated_at", "2015-10-30 23:17:08.691025"]] 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", "2015-10-30 23:17:08.692581"], ["updated_at", "2015-10-30 23:17:08.692581"]] 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" = 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.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" = 1020 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:08.704576"], ["updated_at", "2015-10-30 23:17:08.704576"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:08.707174"], ["updated_at", "2015-10-30 23:17:08.707174"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:08.711532"], ["updated_at", "2015-10-30 23:17:08.711532"]] 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", "2015-10-30 23:17:08.713081"], ["updated_at", "2015-10-30 23:17:08.713081"]] 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.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" = 1022 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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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", "2015-10-30 23:17:08.727454"], ["updated_at", "2015-10-30 23:17:08.727454"]]  (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", "2015-10-30 23:17:08.732319"], ["updated_at", "2015-10-30 23:17:08.732319"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:08.736645"], ["updated_at", "2015-10-30 23:17:08.736645"]]  (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", "2015-10-30 23:17:08.739139"], ["updated_at", "2015-10-30 23:17:08.739139"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:08.742536"], ["updated_at", "2015-10-30 23:17:08.742536"]] 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", "2015-10-30 23:17:08.744484"], ["updated_at", "2015-10-30 23:17:08.744484"]] 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" = 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"."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.4ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$q2CrwIYWgYB5TKpqImCVNeGhXDgKgvD1Fq80ylGOS4LtIUMz2o3qy"], ["remember_token", "9pNdOCLIwXc0dMfQyXjSuQ"], ["created_at", "2015-10-30 23:17:08.769773"], ["updated_at", "2015-10-30 23:17:08.769773"]]  (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", "2015-10-30 23:17:08.775790"], ["updated_at", "2015-10-30 23:17:08.775790"]]  (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", "2015-10-30 23:17:08.779180"], ["updated_at", "2015-10-30 23:17:08.779180"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:08.783303"], ["updated_at", "2015-10-30 23:17:08.783303"]] 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", "2015-10-30 23:17:08.785310"], ["updated_at", "2015-10-30 23:17:08.785310"]] 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 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "9pNdOCLIwXc0dMfQyXjSuQ"]] 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.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" = '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 20ms (Views: 13.7ms | 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$mdBImb9L6lyYu7L4XgmEuexvl4z7n8kRR5Q25lKMg2Nc9WsK7toXu"], ["remember_token", "q0Rz7mFDYbIJ_yxxwRGmWQ"], ["created_at", "2015-10-30 23:17:08.818926"], ["updated_at", "2015-10-30 23:17:08.818926"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:17:08.824351"], ["updated_at", "2015-10-30 23:17:08.824351"]]  (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", "2015-10-30 23:17:08.829285"], ["updated_at", "2015-10-30 23:17:08.829285"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:08.832947"], ["updated_at", "2015-10-30 23:17:08.832947"]] 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", "2015-10-30 23:17:08.834533"], ["updated_at", "2015-10-30 23:17:08.834533"]] 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", "q0Rz7mFDYbIJ_yxxwRGmWQ"]] 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" = 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 13ms (Views: 1.1ms | ActiveRecord: 0.6ms)  (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$hwM3JEqnstD2.weI2mjJ4OlWt4PDtXcrnI2JTk.KRlHtw1m3RsG7K"], ["remember_token", "FFiyTfxQyMfQrf5pZsSUnQ"], ["created_at", "2015-10-30 23:17:08.857496"], ["updated_at", "2015-10-30 23:17:08.857496"]]  (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", "2015-10-30 23:17:08.861121"], ["updated_at", "2015-10-30 23:17:08.861121"]]  (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", "2015-10-30 23:17:08.864218"], ["updated_at", "2015-10-30 23:17:08.864218"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:08.867413"], ["updated_at", "2015-10-30 23:17:08.867413"]] 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", "2015-10-30 23:17:08.868672"], ["updated_at", "2015-10-30 23:17:08.868672"]] 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.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$U7gX7P72xGAWw.2wNE3XmOGMb4o3Ws9C80kD927ZBjb1UbF8TwZgW"], ["remember_token", "wBQXhJPunW32lg7IaXJLNg"], ["created_at", "2015-10-30 23:17:08.879743"], ["updated_at", "2015-10-30 23:17:08.879743"]]  (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", "2015-10-30 23:17:08.884250"], ["updated_at", "2015-10-30 23:17:08.884250"]]  (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.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", "2015-10-30 23:17:08.889202"], ["updated_at", "2015-10-30 23:17:08.889202"]]  (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", "2015-10-30 23:17:08.891798"], ["updated_at", "2015-10-30 23:17:08.891798"]]  (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", "2015-10-30 23:17:08.894016"], ["updated_at", "2015-10-30 23:17:08.894016"]]  (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", "2015-10-30 23:17:08.896641"], ["updated_at", "2015-10-30 23:17:08.896641"]]  (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", "FFiyTfxQyMfQrf5pZsSUnQ"]] 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)  (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$0o9IFPBIA80AyM18/orZl.iL7px1Da80pTteIoVA6JSUcFcycJpUC"], ["remember_token", "XFmioatgM6jyRPzekzsuNw"], ["created_at", "2015-10-30 23:17:08.914843"], ["updated_at", "2015-10-30 23:17:08.914843"]]  (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", "2015-10-30 23:17:08.919614"], ["updated_at", "2015-10-30 23:17:08.919614"]]  (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", "2015-10-30 23:17:08.922684"], ["updated_at", "2015-10-30 23:17:08.922684"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:08.925830"], ["updated_at", "2015-10-30 23:17:08.925830"]] 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", "2015-10-30 23:17:08.927546"], ["updated_at", "2015-10-30 23:17:08.927546"]] 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.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", "2015-10-30 23:17:08.931239"], ["updated_at", "2015-10-30 23:17:08.931239"]]  (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", "2015-10-30 23:17:08.933478"], ["updated_at", "2015-10-30 23:17:08.933478"]]  (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", "2015-10-30 23:17:08.935103"], ["updated_at", "2015-10-30 23:17:08.935103"]]  (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", "2015-10-30 23:17:08.936645"], ["updated_at", "2015-10-30 23:17:08.936645"]]  (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", "2015-10-30 23:17:08.938227"], ["updated_at", "2015-10-30 23:17:08.938227"]]  (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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$c7ctXQ6SpwBlWB4iYhvegu.Or5cDnV53PVj57d4fISvFp/CPUE/ui"], ["remember_token", "V2oOMQUVaRPKgLNME_0VBA"], ["created_at", "2015-10-30 23:17:08.943257"], ["updated_at", "2015-10-30 23:17:08.943257"]]  (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", "2015-10-30 23:17:08.946103"], ["updated_at", "2015-10-30 23:17:08.946103"]]  (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", "2015-10-30 23:17:08.949012"], ["updated_at", "2015-10-30 23:17:08.949012"]]  (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", "2015-10-30 23:17:08.951819"], ["updated_at", "2015-10-30 23:17:08.951819"]]  (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", "2015-10-30 23:17:08.954588"], ["updated_at", "2015-10-30 23:17:08.954588"]]  (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", "2015-10-30 23:17:08.956665"], ["updated_at", "2015-10-30 23:17:08.956665"]]  (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", "XFmioatgM6jyRPzekzsuNw"]] 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" = 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.2ms) Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.6ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$2r2IwZYL2p9ir/TWUw9LOeo3v6xaII/P1KUOBoSF2QbCsvHMuNlsW"], ["remember_token", "CQzc3Onxr9Nr3FeqM2MCXg"], ["created_at", "2015-10-30 23:17:08.971104"], ["updated_at", "2015-10-30 23:17:08.971104"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:17:08.974541"], ["updated_at", "2015-10-30 23:17:08.974541"]]  (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", "2015-10-30 23:17:08.977110"], ["updated_at", "2015-10-30 23:17:08.977110"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:08.980649"], ["updated_at", "2015-10-30 23:17:08.980649"]] 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", "2015-10-30 23:17:08.982186"], ["updated_at", "2015-10-30 23:17:08.982186"]] 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", "2015-10-30 23:17:08.985557"], ["updated_at", "2015-10-30 23:17:08.985557"]]  (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", "2015-10-30 23:17:08.987264"], ["updated_at", "2015-10-30 23:17:08.987264"]]  (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", "2015-10-30 23:17:08.988834"], ["updated_at", "2015-10-30 23:17:08.988834"]]  (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", "2015-10-30 23:17:08.990587"], ["updated_at", "2015-10-30 23:17:08.990587"]]  (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", "2015-10-30 23:17:08.992208"], ["updated_at", "2015-10-30 23:17:08.992208"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$/nlYBMiPtQkPVSVYrVjkUufV.TapQaYPXRPveEZxbpOxCRoxEOaE6"], ["remember_token", "APEB9IwC79HQr10JQPyldQ"], ["created_at", "2015-10-30 23:17:08.998135"], ["updated_at", "2015-10-30 23:17:08.998135"]]  (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", "2015-10-30 23:17:09.000587"], ["updated_at", "2015-10-30 23:17:09.000587"]]  (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", "2015-10-30 23:17:09.004454"], ["updated_at", "2015-10-30 23:17:09.004454"]]  (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", "2015-10-30 23:17:09.007125"], ["updated_at", "2015-10-30 23:17:09.007125"]]  (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", "2015-10-30 23:17:09.009304"], ["updated_at", "2015-10-30 23:17:09.009304"]]  (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", "2015-10-30 23:17:09.011724"], ["updated_at", "2015-10-30 23:17:09.011724"]]  (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", "2015-10-30 23:17:09.014740"], ["updated_at", "2015-10-30 23:17:09.014740"]]  (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.0ms) 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_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:09.020925"], ["updated_at", "2015-10-30 23:17:09.020925"]] 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", "2015-10-30 23:17:09.023635"], ["updated_at", "2015-10-30 23:17:09.023635"]] 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", "CQzc3Onxr9Nr3FeqM2MCXg"]] 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.1ms | ActiveRecord: 0.6ms) 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$0ZtLgiQZ0ddqAygJmoVezOBAT3FJEJbr0.v6QnWEFdmYrKC88e.KO"], ["remember_token", "eL0Rx5TsirYnmU1iG7q8VA"], ["created_at", "2015-10-30 23:17:09.043810"], ["updated_at", "2015-10-30 23:17:09.043810"]]  (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$qvifHRpxvVpUksihqaO0SuT73TteJ3xf8OfpBFYhfsQZ5iTUBzfuO"], ["remember_token", "VFOAsDKazADD12dyapNmKw"], ["created_at", "2015-10-30 23:17:09.049444"], ["updated_at", "2015-10-30 23:17:09.049444"]]  (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", "2015-10-30 23:17:09.051351"], ["updated_at", "2015-10-30 23:17:09.051351"]]  (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", "2015-10-30 23:17:09.053615"], ["updated_at", "2015-10-30 23:17:09.053615"]]  (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", "2015-10-30 23:17:09.055432"], ["updated_at", "2015-10-30 23:17:09.055432"]]  (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", "2015-10-30 23:17:09.057178"], ["updated_at", "2015-10-30 23:17:09.057178"]]  (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", "2015-10-30 23:17:09.058994"], ["updated_at", "2015-10-30 23:17:09.058994"]]  (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", "2015-10-30 23:17:09.061182"], ["updated_at", "2015-10-30 23:17:09.061182"]]  (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", "2015-10-30 23:17:09.063882"], ["updated_at", "2015-10-30 23:17:09.063882"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:17:09.066890"], ["updated_at", "2015-10-30 23:17:09.066890"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:09.069333"], ["updated_at", "2015-10-30 23:17:09.069333"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:09.072385"], ["updated_at", "2015-10-30 23:17:09.072385"]] 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", "2015-10-30 23:17:09.073684"], ["updated_at", "2015-10-30 23:17:09.073684"]] 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:09.083892"], ["updated_at", "2015-10-30 23:17:09.083892"]] 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", "2015-10-30 23:17:09.085748"], ["updated_at", "2015-10-30 23:17:09.085748"]] 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", "eL0Rx5TsirYnmU1iG7q8VA"]] 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.0ms | ActiveRecord: 0.6ms) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (5.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$e8aUY2mvnc7yfrzXJc3So.tcVw5lWmiJXiuRs4MbNKYsRq7oCXD5W"], ["remember_token", "6Dgw00tSnutpxvCmKBbLcw"], ["created_at", "2015-10-30 23:17:09.110621"], ["updated_at", "2015-10-30 23:17:09.110621"]]  (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", "2015-10-30 23:17:09.114923"], ["updated_at", "2015-10-30 23:17:09.114923"]]  (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", "2015-10-30 23:17:09.117968"], ["updated_at", "2015-10-30 23:17:09.117968"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:09.121338"], ["updated_at", "2015-10-30 23:17:09.121338"]] 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", "2015-10-30 23:17:09.122661"], ["updated_at", "2015-10-30 23:17:09.122661"]] 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.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$IDzDM2zf5.aBF005r6dvxudDHEvUnb655EypD0Kg1OSGpwuZiAX9q"], ["remember_token", "da2mt9wVcJnF8T73l8TogQ"], ["created_at", "2015-10-30 23:17:09.134413"], ["updated_at", "2015-10-30 23:17:09.134413"]]  (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", "2015-10-30 23:17:09.136102"], ["updated_at", "2015-10-30 23:17:09.136102"]]  (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", "6Dgw00tSnutpxvCmKBbLcw"]] Article Load (0.2ms) 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.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"]] Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 9ms (Views: 3.1ms | ActiveRecord: 0.8ms)  (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$vc5TkLHhQl8uMW6OfFr0/OnUmIGjbuR4NZp19yY7sRvUa1FscuiUG"], ["remember_token", "oA7pmvmJKAjnUuuTae1R0w"], ["created_at", "2015-10-30 23:17:09.152477"], ["updated_at", "2015-10-30 23:17:09.152477"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:17:09.155617"], ["updated_at", "2015-10-30 23:17:09.155617"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:09.158695"], ["updated_at", "2015-10-30 23:17:09.158695"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:09.162473"], ["updated_at", "2015-10-30 23:17:09.162473"]] 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", "2015-10-30 23:17:09.163767"], ["updated_at", "2015-10-30 23:17:09.163767"]] 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.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$.ZC5uq.TFILbKYA5crdVWezXmMwgvonjoYlR.bhvhyTxskt6y7G1u"], ["remember_token", "LXd5U8ZoHr3zc7YXn97nSA"], ["created_at", "2015-10-30 23:17:09.169050"], ["updated_at", "2015-10-30 23:17:09.169050"]]  (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", "2015-10-30 23:17:09.170598"], ["updated_at", "2015-10-30 23:17:09.170598"]]  (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", "oA7pmvmJKAjnUuuTae1R0w"]] 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"."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"]] Rendered articles/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (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$q.uwAnjViN3KRDzAp4EMku.aosOsobKl3uYh4.OxXa.9y0PxJnnaS"], ["remember_token", "kGo7zmORsQk8ECwsQOLDoQ"], ["created_at", "2015-10-30 23:17:09.183086"], ["updated_at", "2015-10-30 23:17:09.183086"]]  (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", "2015-10-30 23:17:09.187045"], ["updated_at", "2015-10-30 23:17:09.187045"]]  (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", "2015-10-30 23:17:09.190077"], ["updated_at", "2015-10-30 23:17:09.190077"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:09.193050"], ["updated_at", "2015-10-30 23:17:09.193050"]] 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", "2015-10-30 23:17:09.194402"], ["updated_at", "2015-10-30 23:17:09.194402"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "kGo7zmORsQk8ECwsQOLDoQ"]] 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 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 6ms (Views: 2.9ms | ActiveRecord: 0.5ms)  (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$yZ.LMkE8v0SscJMFyHbuTOCCU2X1yABzHXFDbap4h5/nJ4RRLF9ua"], ["remember_token", "NajoykZvu-SPrE38QSJmoA"], ["created_at", "2015-10-30 23:17:09.209727"], ["updated_at", "2015-10-30 23:17:09.209727"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:17:09.212911"], ["updated_at", "2015-10-30 23:17:09.212911"]]  (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", "2015-10-30 23:17:09.216070"], ["updated_at", "2015-10-30 23:17:09.216070"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:09.219667"], ["updated_at", "2015-10-30 23:17:09.219667"]] 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", "2015-10-30 23:17:09.221059"], ["updated_at", "2015-10-30 23:17:09.221059"]] 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.1ms) 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$1N/CKGfJt7DYOk/xbWl4U.kjhp5/0AhHChcdupwWc2WlcClN65Nt."], ["remember_token", "0dDssjeuD0fENvA4CrT9hw"], ["created_at", "2015-10-30 23:17:09.229927"], ["updated_at", "2015-10-30 23:17:09.229927"]]  (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", "2015-10-30 23:17:09.232617"], ["updated_at", "2015-10-30 23:17:09.232617"]]  (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", "NajoykZvu-SPrE38QSJmoA"]] 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.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.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.3ms) Completed 200 OK in 9ms (Views: 3.5ms | 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$erOCysG4ybvztVJ.vdWJkOutqay5p9ZUsir.78utKslQf8n34b3w2"], ["remember_token", "MjF65jUj3npRz_WtpXh5QA"], ["created_at", "2015-10-30 23:17:09.251290"], ["updated_at", "2015-10-30 23:17:09.251290"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:17:09.254734"], ["updated_at", "2015-10-30 23:17:09.254734"]]  (0.0ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:09.258733"], ["updated_at", "2015-10-30 23:17:09.258733"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:09.264017"], ["updated_at", "2015-10-30 23:17:09.264017"]] 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", "2015-10-30 23:17:09.266019"], ["updated_at", "2015-10-30 23:17:09.266019"]] 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.1ms) 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$oKlmE.wfq8mPWjg.la2g3u/5E9LPjAELrLOF/atS7JJCEMDjNmPb6"], ["remember_token", "1vC7Y7_7qKHjrlaCtQhUMw"], ["created_at", "2015-10-30 23:17:09.273250"], ["updated_at", "2015-10-30 23:17:09.273250"]]  (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", "2015-10-30 23:17:09.274819"], ["updated_at", "2015-10-30 23:17:09.274819"]]  (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", "MjF65jUj3npRz_WtpXh5QA"]] 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"."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.3ms | ActiveRecord: 0.5ms)  (0.9ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:09.286631"], ["updated_at", "2015-10-30 23:17:09.286631"]]  (0.0ms) 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", "2015-10-30 23:17:09.288784"], ["updated_at", "2015-10-30 23:17:09.288784"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:09.291219"], ["updated_at", "2015-10-30 23:17:09.291219"]]  (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", "2015-10-30 23:17:09.297558"], ["updated_at", "2015-10-30 23:17:09.297558"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:09.300782"], ["updated_at", "2015-10-30 23:17:09.300782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:17:09.308460"], ["updated_at", "2015-10-30 23:17:09.308460"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:09.311003"], ["updated_at", "2015-10-30 23:17:09.311003"]]  (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 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", "2015-10-30 23:17:09.318681"], ["updated_at", "2015-10-30 23:17:09.318681"]]  (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", "2015-10-30 23:17:09.320915"], ["updated_at", "2015-10-30 23:17:09.320915"]]  (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", "2015-10-30 23:17:09.323460"], ["updated_at", "2015-10-30 23:17:09.323460"]]  (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 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", "2015-10-30 23:17:09.330825"], ["updated_at", "2015-10-30 23:17:09.330825"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:17:09.333507"], ["updated_at", "2015-10-30 23:17:09.333507"]]  (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", "2015-10-30 23:17:09.336844"], ["updated_at", "2015-10-30 23:17:09.336844"]]  (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 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", "2015-10-30 23:17:09.343323"], ["updated_at", "2015-10-30 23:17:09.343323"]]  (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", "2015-10-30 23:17:09.345692"], ["updated_at", "2015-10-30 23:17:09.345692"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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 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 (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:37.788015"], ["updated_at", "2015-10-30 23:17:37.788015"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) 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", "2015-10-30 23:17:37.811430"], ["updated_at", "2015-10-30 23:17:37.811430"]]  (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", "2015-10-30 23:17:37.824710"], ["updated_at", "2015-10-30 23:17:37.824710"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:37.870903"], ["updated_at", "2015-10-30 23:17:37.870903"]] 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", "2015-10-30 23:17:37.874443"], ["updated_at", "2015-10-30 23:17:37.874443"]] 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 Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" WHERE "adeia_permissions"."id" = ? LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "GdK-zI1kuffvsrlKLYCdnA"], ["is_valid", "t"], ["adeia_permission_id", 1], ["exp_at", "2015-11-30"], ["created_at", "2015-10-30 23:17:37.898202"], ["updated_at", "2015-10-30 23:17:37.898202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "GdK-zI1kuffvsrlKLYCdnA"]]  (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.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"."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.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_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (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 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:37.933269"], ["updated_at", "2015-10-30 23:17:37.933269"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:37.935837"], ["updated_at", "2015-10-30 23:17:37.935837"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:17:37.940839"], ["updated_at", "2015-10-30 23:17:37.940839"]] 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", "2015-10-30 23:17:37.942335"], ["updated_at", "2015-10-30 23:17:37.942335"]] 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" = 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"]]  (0.9ms) 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", "2015-10-30 23:17:37.954190"], ["updated_at", "2015-10-30 23:17:37.954190"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:37.956733"], ["updated_at", "2015-10-30 23:17:37.956733"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:37.960554"], ["updated_at", "2015-10-30 23:17:37.960554"]] 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", "2015-10-30 23:17:37.962835"], ["updated_at", "2015-10-30 23:17:37.962835"]] 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" = 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"."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.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" = 1003 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:37.976449"], ["updated_at", "2015-10-30 23:17:37.976449"]]  (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", "2015-10-30 23:17:37.979455"], ["updated_at", "2015-10-30 23:17:37.979455"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:37.982920"], ["updated_at", "2015-10-30 23:17:37.982920"]] 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", "2015-10-30 23:17:37.984394"], ["updated_at", "2015-10-30 23:17:37.984394"]] 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:37.995251"], ["updated_at", "2015-10-30 23:17:37.995251"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:37.999096"], ["updated_at", "2015-10-30 23:17:37.999096"]]  (0.3ms) 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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.005458"], ["updated_at", "2015-10-30 23:17:38.005458"]] 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", "2015-10-30 23:17:38.007467"], ["updated_at", "2015-10-30 23:17:38.007467"]] 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.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" = 1005 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (1.1ms) 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", "2015-10-30 23:17:38.018289"], ["updated_at", "2015-10-30 23:17:38.018289"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:38.021369"], ["updated_at", "2015-10-30 23:17:38.021369"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.027115"], ["updated_at", "2015-10-30 23:17:38.027115"]] 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", "2015-10-30 23:17:38.031643"], ["updated_at", "2015-10-30 23:17:38.031643"]] 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.1ms) 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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:38.046409"], ["updated_at", "2015-10-30 23:17:38.046409"]]  (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", "2015-10-30 23:17:38.049742"], ["updated_at", "2015-10-30 23:17:38.049742"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.054507"], ["updated_at", "2015-10-30 23:17:38.054507"]] 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", "2015-10-30 23:17:38.056888"], ["updated_at", "2015-10-30 23:17:38.056888"]] 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" = 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"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:38.069048"], ["updated_at", "2015-10-30 23:17:38.069048"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:38.071861"], ["updated_at", "2015-10-30 23:17:38.071861"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.075298"], ["updated_at", "2015-10-30 23:17:38.075298"]] 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", "2015-10-30 23:17:38.077149"], ["updated_at", "2015-10-30 23:17:38.077149"]] 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" = 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.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" = 1008 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:17:38.088655"], ["updated_at", "2015-10-30 23:17:38.088655"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:38.091558"], ["updated_at", "2015-10-30 23:17:38.091558"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:17:38.095671"], ["updated_at", "2015-10-30 23:17:38.095671"]] 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", "2015-10-30 23:17:38.097218"], ["updated_at", "2015-10-30 23:17:38.097218"]] 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.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"."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.1ms) 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"]]  (1.2ms) 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", "2015-10-30 23:17:38.111495"], ["updated_at", "2015-10-30 23:17:38.111495"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:38.115697"], ["updated_at", "2015-10-30 23:17:38.115697"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.119874"], ["updated_at", "2015-10-30 23:17:38.119874"]] 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", "2015-10-30 23:17:38.121535"], ["updated_at", "2015-10-30 23:17:38.121535"]] 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" = 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" = 'admin/articles' AND "adeia_actions"."name" = 'share' Adeia::Permission Load (0.5ms) 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'  (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", "2015-10-30 23:17:38.141361"], ["updated_at", "2015-10-30 23:17:38.141361"]]  (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", "2015-10-30 23:17:38.144078"], ["updated_at", "2015-10-30 23:17:38.144078"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.147384"], ["updated_at", "2015-10-30 23:17:38.147384"]] 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", "2015-10-30 23:17:38.150226"], ["updated_at", "2015-10-30 23:17:38.150226"]] 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 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" WHERE "adeia_permissions"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "yyIpbGEE-uDsyPxUKhB9qw"], ["is_valid", "t"], ["adeia_permission_id", 1], ["exp_at", "2015-11-30"], ["created_at", "2015-10-30 23:17:38.157264"], ["updated_at", "2015-10-30 23:17:38.157264"]]  (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", "yyIpbGEE-uDsyPxUKhB9qw"]]  (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.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"]]  (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.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"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:38.168647"], ["updated_at", "2015-10-30 23:17:38.168647"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:38.171429"], ["updated_at", "2015-10-30 23:17:38.171429"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.175184"], ["updated_at", "2015-10-30 23:17:38.175184"]] 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", "2015-10-30 23:17:38.176622"], ["updated_at", "2015-10-30 23:17:38.176622"]] 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" = 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.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" = 1012 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:38.187498"], ["updated_at", "2015-10-30 23:17:38.187498"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:38.190602"], ["updated_at", "2015-10-30 23:17:38.190602"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.194932"], ["updated_at", "2015-10-30 23:17:38.194932"]] 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", "2015-10-30 23:17:38.197625"], ["updated_at", "2015-10-30 23:17:38.197625"]] 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" = 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"."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.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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-30 23:17:38.212138"], ["updated_at", "2015-10-30 23:17:38.212138"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:38.214653"], ["updated_at", "2015-10-30 23:17:38.214653"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.218681"], ["updated_at", "2015-10-30 23:17:38.218681"]] 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", "2015-10-30 23:17:38.220682"], ["updated_at", "2015-10-30 23:17:38.220682"]] 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.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" = 1016 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", "2015-10-30 23:17:38.234159"], ["updated_at", "2015-10-30 23:17:38.234159"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:38.238627"], ["updated_at", "2015-10-30 23:17:38.238627"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.243018"], ["updated_at", "2015-10-30 23:17:38.243018"]] 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", "2015-10-30 23:17:38.246297"], ["updated_at", "2015-10-30 23:17:38.246297"]] 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" = 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"."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.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" = 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:38.262670"], ["updated_at", "2015-10-30 23:17:38.262670"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:38.265422"], ["updated_at", "2015-10-30 23:17:38.265422"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.269667"], ["updated_at", "2015-10-30 23:17:38.269667"]] 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", "2015-10-30 23:17:38.271042"], ["updated_at", "2015-10-30 23:17:38.271042"]] 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.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" = 1020 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) rollback transaction  (0.2ms) 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", "2015-10-30 23:17:38.283497"], ["updated_at", "2015-10-30 23:17:38.283497"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:38.286104"], ["updated_at", "2015-10-30 23:17:38.286104"]]  (0.5ms) 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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.290438"], ["updated_at", "2015-10-30 23:17:38.290438"]] 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", "2015-10-30 23:17:38.291956"], ["updated_at", "2015-10-30 23:17:38.291956"]] 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" = 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:17:38.310223"], ["updated_at", "2015-10-30 23:17:38.310223"]]  (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", "2015-10-30 23:17:38.314672"], ["updated_at", "2015-10-30 23:17:38.314672"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:38.319117"], ["updated_at", "2015-10-30 23:17:38.319117"]]  (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", "2015-10-30 23:17:38.321790"], ["updated_at", "2015-10-30 23:17:38.321790"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.324722"], ["updated_at", "2015-10-30 23:17:38.324722"]] 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", "2015-10-30 23:17:38.325982"], ["updated_at", "2015-10-30 23:17:38.325982"]] 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" = 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.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$IbAJBLHBP3E.jWOCClrZ0uBKhRhXdnEu1kKdEskcRBCtuuzMp8xLW"], ["remember_token", "U7ZXi0JgmjXOmAJb-V6xpw"], ["created_at", "2015-10-30 23:17:38.351399"], ["updated_at", "2015-10-30 23:17:38.351399"]]  (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", "2015-10-30 23:17:38.355891"], ["updated_at", "2015-10-30 23:17:38.355891"]]  (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", "2015-10-30 23:17:38.358776"], ["updated_at", "2015-10-30 23:17:38.358776"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.362041"], ["updated_at", "2015-10-30 23:17:38.362041"]] 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", "2015-10-30 23:17:38.363384"], ["updated_at", "2015-10-30 23:17:38.363384"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "U7ZXi0JgmjXOmAJb-V6xpw"]] 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.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" = 'articles' [["read_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"."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 22ms (Views: 15.0ms | ActiveRecord: 0.8ms)  (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$5OiAUiWyJtMSZXYyExMPBO1W8lKqcH78eKwc14aAmRlMr0tltji9S"], ["remember_token", "Jz1WcdbhhkT0WjNaPqkvyw"], ["created_at", "2015-10-30 23:17:38.397248"], ["updated_at", "2015-10-30 23:17:38.397248"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:17:38.400383"], ["updated_at", "2015-10-30 23:17:38.400383"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:38.402978"], ["updated_at", "2015-10-30 23:17:38.402978"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.407192"], ["updated_at", "2015-10-30 23:17:38.407192"]] 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", "2015-10-30 23:17:38.408773"], ["updated_at", "2015-10-30 23:17:38.408773"]] 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", "Jz1WcdbhhkT0WjNaPqkvyw"]] 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" = 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 15ms (Views: 1.1ms | ActiveRecord: 0.7ms)  (1.0ms) 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$XXqdfVUnVPISDkfTSGY/KOqalSt/lVmn5wFfzX.QvwW9kdP1l.1MG"], ["remember_token", "F1vJG-Y0LeY_IpI5mO5ySQ"], ["created_at", "2015-10-30 23:17:38.433244"], ["updated_at", "2015-10-30 23:17:38.433244"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:17:38.437276"], ["updated_at", "2015-10-30 23:17:38.437276"]]  (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", "2015-10-30 23:17:38.440711"], ["updated_at", "2015-10-30 23:17:38.440711"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.443650"], ["updated_at", "2015-10-30 23:17:38.443650"]] 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", "2015-10-30 23:17:38.444896"], ["updated_at", "2015-10-30 23:17:38.444896"]] 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.2ms) 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$GlRmKnw9lhgtvv.zMYa.3OJN1ex5utH4c7mRlz5iTUMrc0QzOwfJC"], ["remember_token", "X3ncv-uuBAmM1JvheVZEzw"], ["created_at", "2015-10-30 23:17:38.456146"], ["updated_at", "2015-10-30 23:17:38.456146"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-30 23:17:38.458496"], ["updated_at", "2015-10-30 23:17:38.458496"]]  (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", "2015-10-30 23:17:38.461592"], ["updated_at", "2015-10-30 23:17:38.461592"]]  (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", "2015-10-30 23:17:38.463521"], ["updated_at", "2015-10-30 23:17:38.463521"]]  (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", "2015-10-30 23:17:38.465297"], ["updated_at", "2015-10-30 23:17:38.465297"]]  (0.0ms) 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", "2015-10-30 23:17:38.467329"], ["updated_at", "2015-10-30 23:17:38.467329"]]  (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", "F1vJG-Y0LeY_IpI5mO5ySQ"]] 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.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 7ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (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$YLhBRduTLxPkWaVrJqbOLOxciJxgDjDgEKfOP3IyTKo1G34Fl6hFq"], ["remember_token", "q9dfbj2LJeL9OgOkwdLy6g"], ["created_at", "2015-10-30 23:17:38.484682"], ["updated_at", "2015-10-30 23:17:38.484682"]]  (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", "2015-10-30 23:17:38.488394"], ["updated_at", "2015-10-30 23:17:38.488394"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:38.491759"], ["updated_at", "2015-10-30 23:17:38.491759"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.494737"], ["updated_at", "2015-10-30 23:17:38.494737"]] 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", "2015-10-30 23:17:38.496065"], ["updated_at", "2015-10-30 23:17:38.496065"]] 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.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", "2015-10-30 23:17:38.499409"], ["updated_at", "2015-10-30 23:17:38.499409"]]  (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", "2015-10-30 23:17:38.503054"], ["updated_at", "2015-10-30 23:17:38.503054"]]  (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", "2015-10-30 23:17:38.505915"], ["updated_at", "2015-10-30 23:17:38.505915"]]  (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", "2015-10-30 23:17:38.508282"], ["updated_at", "2015-10-30 23:17:38.508282"]]  (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", "2015-10-30 23:17:38.510350"], ["updated_at", "2015-10-30 23:17:38.510350"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$jZPey/VEvVRZtMV75tkxAuYYAWprcd1uv6xGXI9tmqaGNGUOME3MO"], ["remember_token", "fd291vUU8HGKF0HocVDSnw"], ["created_at", "2015-10-30 23:17:38.517756"], ["updated_at", "2015-10-30 23:17:38.517756"]]  (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", "2015-10-30 23:17:38.520385"], ["updated_at", "2015-10-30 23:17:38.520385"]]  (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", "2015-10-30 23:17:38.523113"], ["updated_at", "2015-10-30 23:17:38.523113"]]  (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", "2015-10-30 23:17:38.525357"], ["updated_at", "2015-10-30 23:17:38.525357"]]  (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", "2015-10-30 23:17:38.527397"], ["updated_at", "2015-10-30 23:17:38.527397"]]  (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", "2015-10-30 23:17:38.529317"], ["updated_at", "2015-10-30 23:17:38.529317"]]  (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", "q9dfbj2LJeL9OgOkwdLy6g"]] 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.2ms) Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.6ms) Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (4.5ms) 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$9kKacl8ZExvbWvkyeSDqfeOR.B4jTeG0W.ewUS9sa/v3cTgEwrGA."], ["remember_token", "sGeRiPpDBJcuP5R-6keqaw"], ["created_at", "2015-10-30 23:17:38.550565"], ["updated_at", "2015-10-30 23:17:38.550565"]]  (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", "2015-10-30 23:17:38.555474"], ["updated_at", "2015-10-30 23:17:38.555474"]]  (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", "2015-10-30 23:17:38.558574"], ["updated_at", "2015-10-30 23:17:38.558574"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.562081"], ["updated_at", "2015-10-30 23:17:38.562081"]] 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", "2015-10-30 23:17:38.563914"], ["updated_at", "2015-10-30 23:17:38.563914"]] 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 "articles" ("title", "content", "user_id", "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", "2015-10-30 23:17:38.567313"], ["updated_at", "2015-10-30 23:17:38.567313"]]  (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", "2015-10-30 23:17:38.570265"], ["updated_at", "2015-10-30 23:17:38.570265"]]  (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", "2015-10-30 23:17:38.572107"], ["updated_at", "2015-10-30 23:17:38.572107"]]  (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", "2015-10-30 23:17:38.574108"], ["updated_at", "2015-10-30 23:17:38.574108"]]  (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", "2015-10-30 23:17:38.575984"], ["updated_at", "2015-10-30 23:17:38.575984"]]  (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$JuTPY0hxCybF8qK58dW.ce8NLnHR60zS9YuLdr1I.szIVJL/vJu5m"], ["remember_token", "yprxD4-C6Lw5bk1lOCZG0A"], ["created_at", "2015-10-30 23:17:38.580470"], ["updated_at", "2015-10-30 23:17:38.580470"]]  (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", "2015-10-30 23:17:38.582335"], ["updated_at", "2015-10-30 23:17:38.582335"]]  (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.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", "2015-10-30 23:17:38.585262"], ["updated_at", "2015-10-30 23:17:38.585262"]]  (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", "2015-10-30 23:17:38.588586"], ["updated_at", "2015-10-30 23:17:38.588586"]]  (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", "2015-10-30 23:17:38.591332"], ["updated_at", "2015-10-30 23:17:38.591332"]]  (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", "2015-10-30 23:17:38.593935"], ["updated_at", "2015-10-30 23:17:38.593935"]]  (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", "2015-10-30 23:17:38.596394"], ["updated_at", "2015-10-30 23:17:38.596394"]]  (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", "articles"]] 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_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.601755"], ["updated_at", "2015-10-30 23:17:38.601755"]] 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", "2015-10-30 23:17:38.603086"], ["updated_at", "2015-10-30 23:17:38.603086"]] 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", "sGeRiPpDBJcuP5R-6keqaw"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (2.7ms) 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$h2f27.0dhbLqu5sGzs/0kO.wayOIfTds4DuXMvD9OSGqROIU27xKS"], ["remember_token", "3xRga2W8U8smK2eRea3bqg"], ["created_at", "2015-10-30 23:17:38.622855"], ["updated_at", "2015-10-30 23:17:38.622855"]]  (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$1YJIcMthfVewqm6CMwgAPuAD8LscR6qaieNNGLXsc6mr5fwGXrEmG"], ["remember_token", "qh56VYAPRLB5gqLMRvsP0w"], ["created_at", "2015-10-30 23:17:38.629771"], ["updated_at", "2015-10-30 23:17:38.629771"]]  (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", "2015-10-30 23:17:38.631870"], ["updated_at", "2015-10-30 23:17:38.631870"]]  (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.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", "2015-10-30 23:17:38.634248"], ["updated_at", "2015-10-30 23:17:38.634248"]]  (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", "2015-10-30 23:17:38.637062"], ["updated_at", "2015-10-30 23:17:38.637062"]]  (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", "2015-10-30 23:17:38.639309"], ["updated_at", "2015-10-30 23:17:38.639309"]]  (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", "2015-10-30 23:17:38.641274"], ["updated_at", "2015-10-30 23:17:38.641274"]]  (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", "2015-10-30 23:17:38.643109"], ["updated_at", "2015-10-30 23:17:38.643109"]]  (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", "2015-10-30 23:17:38.644927"], ["updated_at", "2015-10-30 23:17:38.644927"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:17:38.647781"], ["updated_at", "2015-10-30 23:17:38.647781"]]  (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", "2015-10-30 23:17:38.650273"], ["updated_at", "2015-10-30 23:17:38.650273"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.654348"], ["updated_at", "2015-10-30 23:17:38.654348"]] 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", "2015-10-30 23:17:38.655794"], ["updated_at", "2015-10-30 23:17:38.655794"]] 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.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_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.663131"], ["updated_at", "2015-10-30 23:17:38.663131"]] 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", "2015-10-30 23:17:38.664449"], ["updated_at", "2015-10-30 23:17:38.664449"]] 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", "3xRga2W8U8smK2eRea3bqg"]] Adeia::Token Load (0.3ms) 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.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 9ms (Views: 1.4ms | ActiveRecord: 0.9ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (2.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$mXR1b.Xr6kZVro3dDczrAOUNEfShjZUJLXYFbX87P1hM9JKD93pcO"], ["remember_token", "ebRIeBOzsKxASYO0oe7SSA"], ["created_at", "2015-10-30 23:17:38.685203"], ["updated_at", "2015-10-30 23:17:38.685203"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:17:38.689057"], ["updated_at", "2015-10-30 23:17:38.689057"]]  (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", "2015-10-30 23:17:38.692880"], ["updated_at", "2015-10-30 23:17:38.692880"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.696480"], ["updated_at", "2015-10-30 23:17:38.696480"]] 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", "2015-10-30 23:17:38.697809"], ["updated_at", "2015-10-30 23:17:38.697809"]] 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.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$DiI55hasw5aP0VfDfvtIWeKEID045NypOIeOrA6OqwlBBXbsNq5fK"], ["remember_token", "AMcWyD4YkBBiOJ_6wp0erg"], ["created_at", "2015-10-30 23:17:38.712510"], ["updated_at", "2015-10-30 23:17:38.712510"]]  (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", "2015-10-30 23:17:38.714603"], ["updated_at", "2015-10-30 23:17:38.714603"]]  (0.2ms) 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", "ebRIeBOzsKxASYO0oe7SSA"]] Article Load (0.2ms) 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.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 articles/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 9ms (Views: 3.7ms | ActiveRecord: 0.6ms)  (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$tDz/LRVAHvizcsVUAseTO.X0xco7.Yz8/dlMxYjZNATdPSbDoYmua"], ["remember_token", "TZPWto5Q-ZGD78vs1QpUCw"], ["created_at", "2015-10-30 23:17:38.732718"], ["updated_at", "2015-10-30 23:17:38.732718"]]  (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", "2015-10-30 23:17:38.736917"], ["updated_at", "2015-10-30 23:17:38.736917"]]  (0.2ms) 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", "2015-10-30 23:17:38.740283"], ["updated_at", "2015-10-30 23:17:38.740283"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.743773"], ["updated_at", "2015-10-30 23:17:38.743773"]] 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", "2015-10-30 23:17:38.745286"], ["updated_at", "2015-10-30 23:17:38.745286"]] 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.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$DsDj7n4JDjYfPfXzIauBF.ZYGChQdn9CerB23UfFxXoTII0hdRMAe"], ["remember_token", "a4ElkKVQrHc8O3GSpoy8hA"], ["created_at", "2015-10-30 23:17:38.751477"], ["updated_at", "2015-10-30 23:17:38.751477"]]  (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", "2015-10-30 23:17:38.753431"], ["updated_at", "2015-10-30 23:17:38.753431"]]  (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", "TZPWto5Q-ZGD78vs1QpUCw"]] 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"."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"]] Rendered articles/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 0.9ms | 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$jn02ju9A2fhTt.5EBNO4COcogsDZUCqN.69yOk63ipHrJgHhXhFnu"], ["remember_token", "M_3O7eyQdwWxTfQbjYlDTA"], ["created_at", "2015-10-30 23:17:38.765886"], ["updated_at", "2015-10-30 23:17:38.765886"]]  (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", "2015-10-30 23:17:38.769041"], ["updated_at", "2015-10-30 23:17:38.769041"]]  (0.2ms) 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", "2015-10-30 23:17:38.772955"], ["updated_at", "2015-10-30 23:17:38.772955"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.776329"], ["updated_at", "2015-10-30 23:17:38.776329"]] 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", "2015-10-30 23:17:38.777805"], ["updated_at", "2015-10-30 23:17:38.777805"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "M_3O7eyQdwWxTfQbjYlDTA"]] 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 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.3ms) Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.5ms)  (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$p6aKxTCcrJyy.fla7Yjz4Oa7xS3qmJEzxajnr9tuSbKqjX4KgKkau"], ["remember_token", "wyIBdqQWCyRLVvaVNaPyPA"], ["created_at", "2015-10-30 23:17:38.793442"], ["updated_at", "2015-10-30 23:17:38.793442"]]  (0.0ms) 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", "2015-10-30 23:17:38.796448"], ["updated_at", "2015-10-30 23:17:38.796448"]]  (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", "2015-10-30 23:17:38.798906"], ["updated_at", "2015-10-30 23:17:38.798906"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.802932"], ["updated_at", "2015-10-30 23:17:38.802932"]] 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", "2015-10-30 23:17:38.804417"], ["updated_at", "2015-10-30 23:17:38.804417"]] 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.1ms) 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$QJOrN9hb7vTfGZg2lNvP/O0sK5wy2xk.1quWXCxx162BPmUHoBxQ2"], ["remember_token", "JF0yoPeEI8CUy_4XnJnMBw"], ["created_at", "2015-10-30 23:17:38.809998"], ["updated_at", "2015-10-30 23:17:38.809998"]]  (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", "2015-10-30 23:17:38.811913"], ["updated_at", "2015-10-30 23:17:38.811913"]]  (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", "wyIBdqQWCyRLVvaVNaPyPA"]] 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.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.3ms) Completed 200 OK in 7ms (Views: 3.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$i0zjHdBLKPsc.ctzEnPU0.e2AoHdjKflXq80QnqpdDCEA91bmsekm"], ["remember_token", "hv3cwpSJHWF5gaVGemmaoA"], ["created_at", "2015-10-30 23:17:38.826928"], ["updated_at", "2015-10-30 23:17:38.826928"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:17:38.830057"], ["updated_at", "2015-10-30 23:17:38.830057"]]  (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", "2015-10-30 23:17:38.832571"], ["updated_at", "2015-10-30 23:17:38.832571"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:38.836902"], ["updated_at", "2015-10-30 23:17:38.836902"]] 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", "2015-10-30 23:17:38.838629"], ["updated_at", "2015-10-30 23:17:38.838629"]] 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.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$xRsDfj9wAwBKFB599jHnIexJszCYXEHSO.kPmxb0W3lqmU6PWN5vq"], ["remember_token", "Pki1lFKN3Y9cT5XzrnPPsg"], ["created_at", "2015-10-30 23:17:38.844531"], ["updated_at", "2015-10-30 23:17:38.844531"]]  (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", "2015-10-30 23:17:38.846154"], ["updated_at", "2015-10-30 23:17:38.846154"]]  (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", "hv3cwpSJHWF5gaVGemmaoA"]] 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.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.4ms) Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 0.7ms)  (1.2ms) 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", "2015-10-30 23:17:38.861212"], ["updated_at", "2015-10-30 23:17:38.861212"]]  (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", "2015-10-30 23:17:38.863803"], ["updated_at", "2015-10-30 23:17:38.863803"]]  (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", "2015-10-30 23:17:38.866530"], ["updated_at", "2015-10-30 23:17:38.866530"]]  (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", "2015-10-30 23:17:38.873033"], ["updated_at", "2015-10-30 23:17:38.873033"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:38.875967"], ["updated_at", "2015-10-30 23:17:38.875967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:17:38.896668"], ["updated_at", "2015-10-30 23:17:38.896668"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:38.899237"], ["updated_at", "2015-10-30 23:17:38.899237"]]  (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 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", "2015-10-30 23:17:38.909706"], ["updated_at", "2015-10-30 23:17:38.909706"]]  (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", "2015-10-30 23:17:38.913325"], ["updated_at", "2015-10-30 23:17:38.913325"]]  (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", "2015-10-30 23:17:38.916601"], ["updated_at", "2015-10-30 23:17:38.916601"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:38.924415"], ["updated_at", "2015-10-30 23:17:38.924415"]]  (0.0ms) 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", "2015-10-30 23:17:38.926544"], ["updated_at", "2015-10-30 23:17:38.926544"]]  (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", "2015-10-30 23:17:38.928944"], ["updated_at", "2015-10-30 23:17:38.928944"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:38.935456"], ["updated_at", "2015-10-30 23:17:38.935456"]]  (0.0ms) 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", "2015-10-30 23:17:38.937863"], ["updated_at", "2015-10-30 23:17:38.937863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 1  (0.2ms) rollback transaction  (0.4ms) 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 (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:52.785708"], ["updated_at", "2015-10-30 23:17:52.785708"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) 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", "2015-10-30 23:17:52.808453"], ["updated_at", "2015-10-30 23:17:52.808453"]]  (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", "2015-10-30 23:17:52.820812"], ["updated_at", "2015-10-30 23:17:52.820812"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:52.864494"], ["updated_at", "2015-10-30 23:17:52.864494"]] 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", "2015-10-30 23:17:52.867418"], ["updated_at", "2015-10-30 23:17:52.867418"]] 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", "T-gTKBz6eBNpVSF2d55KPg"], ["is_valid", "t"], ["exp_at", "2015-11-30"], ["adeia_permission_id", 1], ["created_at", "2015-10-30 23:17:52.885834"], ["updated_at", "2015-10-30 23:17:52.885834"]]  (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", "T-gTKBz6eBNpVSF2d55KPg"]]  (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.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_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:52.921308"], ["updated_at", "2015-10-30 23:17:52.921308"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:52.924376"], ["updated_at", "2015-10-30 23:17:52.924376"]]  (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", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:17:52.930913"], ["updated_at", "2015-10-30 23:17:52.930913"]] 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", "2015-10-30 23:17:52.934226"], ["updated_at", "2015-10-30 23:17:52.934226"]] 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" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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", "2015-10-30 23:17:52.945665"], ["updated_at", "2015-10-30 23:17:52.945665"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:52.948481"], ["updated_at", "2015-10-30 23:17:52.948481"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:52.952670"], ["updated_at", "2015-10-30 23:17:52.952670"]] 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", "2015-10-30 23:17:52.954024"], ["updated_at", "2015-10-30 23:17:52.954024"]] 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" = 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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (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", "2015-10-30 23:17:52.965757"], ["updated_at", "2015-10-30 23:17:52.965757"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:52.968637"], ["updated_at", "2015-10-30 23:17:52.968637"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:52.971975"], ["updated_at", "2015-10-30 23:17:52.971975"]] 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", "2015-10-30 23:17:52.974006"], ["updated_at", "2015-10-30 23:17:52.974006"]] 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 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" = 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"."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.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" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:52.988004"], ["updated_at", "2015-10-30 23:17:52.988004"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:52.990599"], ["updated_at", "2015-10-30 23:17:52.990599"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:52.994016"], ["updated_at", "2015-10-30 23:17:52.994016"]] 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", "2015-10-30 23:17:52.995783"], ["updated_at", "2015-10-30 23:17:52.995783"]] 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.1ms) 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"]]  (1.2ms) rollback transaction  (0.2ms) 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", "2015-10-30 23:17:53.006316"], ["updated_at", "2015-10-30 23:17:53.006316"]]  (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", "2015-10-30 23:17:53.008907"], ["updated_at", "2015-10-30 23:17:53.008907"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.013038"], ["updated_at", "2015-10-30 23:17:53.013038"]] 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", "2015-10-30 23:17:53.015640"], ["updated_at", "2015-10-30 23:17:53.015640"]] 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.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.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", "2015-10-30 23:17:53.027977"], ["updated_at", "2015-10-30 23:17:53.027977"]]  (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", "2015-10-30 23:17:53.031818"], ["updated_at", "2015-10-30 23:17:53.031818"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.035838"], ["updated_at", "2015-10-30 23:17:53.035838"]] 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", "2015-10-30 23:17:53.038474"], ["updated_at", "2015-10-30 23:17:53.038474"]] 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" = 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"."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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:53.050236"], ["updated_at", "2015-10-30 23:17:53.050236"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:53.053100"], ["updated_at", "2015-10-30 23:17:53.053100"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.057394"], ["updated_at", "2015-10-30 23:17:53.057394"]] 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", "2015-10-30 23:17:53.059174"], ["updated_at", "2015-10-30 23:17:53.059174"]] 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" = 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"."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.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" = 1008 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", "2015-10-30 23:17:53.071043"], ["updated_at", "2015-10-30 23:17:53.071043"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:53.073639"], ["updated_at", "2015-10-30 23:17:53.073639"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:17:53.076868"], ["updated_at", "2015-10-30 23:17:53.076868"]] 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", "2015-10-30 23:17:53.079031"], ["updated_at", "2015-10-30 23:17:53.079031"]] 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.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"."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.1ms) 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"]]  (1.1ms) 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", "2015-10-30 23:17:53.092227"], ["updated_at", "2015-10-30 23:17:53.092227"]]  (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", "2015-10-30 23:17:53.095956"], ["updated_at", "2015-10-30 23:17:53.095956"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.100239"], ["updated_at", "2015-10-30 23:17:53.100239"]] 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", "2015-10-30 23:17:53.101893"], ["updated_at", "2015-10-30 23:17:53.101893"]] 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.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" = 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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."name" = 'share'  (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", "2015-10-30 23:17:53.122689"], ["updated_at", "2015-10-30 23:17:53.122689"]]  (0.2ms) 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", "2015-10-30 23:17:53.125504"], ["updated_at", "2015-10-30 23:17:53.125504"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.129122"], ["updated_at", "2015-10-30 23:17:53.129122"]] 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", "2015-10-30 23:17:53.131005"], ["updated_at", "2015-10-30 23:17:53.131005"]] 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 "adeia_tokens" ("token", "is_valid", "exp_at", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "MkT_1EKXCzsaI8RTHYCVwg"], ["is_valid", "t"], ["exp_at", "2015-11-30"], ["adeia_permission_id", 1], ["created_at", "2015-10-30 23:17:53.134891"], ["updated_at", "2015-10-30 23:17:53.134891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "MkT_1EKXCzsaI8RTHYCVwg"]]  (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.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"]]  (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"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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", "2015-10-30 23:17:53.144004"], ["updated_at", "2015-10-30 23:17:53.144004"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:53.146532"], ["updated_at", "2015-10-30 23:17:53.146532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.149593"], ["updated_at", "2015-10-30 23:17:53.149593"]] 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", "2015-10-30 23:17:53.151129"], ["updated_at", "2015-10-30 23:17:53.151129"]] 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" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1012 AND "adeia_elements"."name" = 'admin/articles' [["update_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", "2015-10-30 23:17:53.164486"], ["updated_at", "2015-10-30 23:17:53.164486"]]  (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", "2015-10-30 23:17:53.168412"], ["updated_at", "2015-10-30 23:17:53.168412"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.173857"], ["updated_at", "2015-10-30 23:17:53.173857"]] 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", "2015-10-30 23:17:53.175398"], ["updated_at", "2015-10-30 23:17:53.175398"]] 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" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1013 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", "2015-10-30 23:17:53.189924"], ["updated_at", "2015-10-30 23:17:53.189924"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:53.192707"], ["updated_at", "2015-10-30 23:17:53.192707"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.197057"], ["updated_at", "2015-10-30 23:17:53.197057"]] 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", "2015-10-30 23:17:53.198508"], ["updated_at", "2015-10-30 23:17:53.198508"]] 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.3ms) 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" = 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"."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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) 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", "2015-10-30 23:17:53.215322"], ["updated_at", "2015-10-30 23:17:53.215322"]]  (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", "2015-10-30 23:17:53.219538"], ["updated_at", "2015-10-30 23:17:53.219538"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.224222"], ["updated_at", "2015-10-30 23:17:53.224222"]] 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", "2015-10-30 23:17:53.226066"], ["updated_at", "2015-10-30 23:17:53.226066"]] 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" = 1018  (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" = 1018 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" = 1018 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:53.237628"], ["updated_at", "2015-10-30 23:17:53.237628"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:53.240422"], ["updated_at", "2015-10-30 23:17:53.240422"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.244067"], ["updated_at", "2015-10-30 23:17:53.244067"]] 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", "2015-10-30 23:17:53.246099"], ["updated_at", "2015-10-30 23:17:53.246099"]] 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" = 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"."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"]]  (0.9ms) 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", "2015-10-30 23:17:53.257044"], ["updated_at", "2015-10-30 23:17:53.257044"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:53.259681"], ["updated_at", "2015-10-30 23:17:53.259681"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.263564"], ["updated_at", "2015-10-30 23:17:53.263564"]] 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", "2015-10-30 23:17:53.265122"], ["updated_at", "2015-10-30 23:17:53.265122"]] 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.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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:17:53.280931"], ["updated_at", "2015-10-30 23:17:53.280931"]]  (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", "2015-10-30 23:17:53.287404"], ["updated_at", "2015-10-30 23:17:53.287404"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:53.292632"], ["updated_at", "2015-10-30 23:17:53.292632"]]  (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", "2015-10-30 23:17:53.296103"], ["updated_at", "2015-10-30 23:17:53.296103"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.299445"], ["updated_at", "2015-10-30 23:17:53.299445"]] 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", "2015-10-30 23:17:53.300815"], ["updated_at", "2015-10-30 23:17:53.300815"]] 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" = 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"."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"]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$APglrjgmXOWaPmM5b.1K9.KYcUTVH7//7MrL9GWW/YLTKF/zNaMdy"], ["remember_token", "bwJqHoEHRX6czAJdgufvcQ"], ["created_at", "2015-10-30 23:17:53.319893"], ["updated_at", "2015-10-30 23:17:53.319893"]]  (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", "2015-10-30 23:17:53.324095"], ["updated_at", "2015-10-30 23:17:53.324095"]]  (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", "2015-10-30 23:17:53.327005"], ["updated_at", "2015-10-30 23:17:53.327005"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.330849"], ["updated_at", "2015-10-30 23:17:53.330849"]] 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", "2015-10-30 23:17:53.332277"], ["updated_at", "2015-10-30 23:17:53.332277"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "bwJqHoEHRX6czAJdgufvcQ"]] 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.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" = 'articles' [["read_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"."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 23ms (Views: 14.5ms | ActiveRecord: 1.2ms)  (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$ShMWvzyxaRPitkC2c1yc2ey.lURQZeLc/g3W9bPp5xsRaXmIixsiG"], ["remember_token", "RD5jMLefXeb13CjePyO0pA"], ["created_at", "2015-10-30 23:17:53.367689"], ["updated_at", "2015-10-30 23:17:53.367689"]]  (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", "2015-10-30 23:17:53.371793"], ["updated_at", "2015-10-30 23:17:53.371793"]]  (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", "2015-10-30 23:17:53.375746"], ["updated_at", "2015-10-30 23:17:53.375746"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.379889"], ["updated_at", "2015-10-30 23:17:53.379889"]] 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", "2015-10-30 23:17:53.381294"], ["updated_at", "2015-10-30 23:17:53.381294"]] 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", "RD5jMLefXeb13CjePyO0pA"]] 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.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 15ms (Views: 1.2ms | ActiveRecord: 0.8ms)  (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$/GhKaO.fBVRp.CaE4fdP9OW3qu5Gb0mq244JPAQ94tmY10D0aWdXe"], ["remember_token", "yoEN4D9YrZ0pJODJB5pYbQ"], ["created_at", "2015-10-30 23:17:53.406310"], ["updated_at", "2015-10-30 23:17:53.406310"]]  (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", "2015-10-30 23:17:53.410580"], ["updated_at", "2015-10-30 23:17:53.410580"]]  (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", "2015-10-30 23:17:53.413276"], ["updated_at", "2015-10-30 23:17:53.413276"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.416311"], ["updated_at", "2015-10-30 23:17:53.416311"]] 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", "2015-10-30 23:17:53.417798"], ["updated_at", "2015-10-30 23:17:53.417798"]] 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.2ms) 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$qNH1cYb.M0M13RpW1rFCEuj.4/lcYhWtmCqHrxY4LkqExM0vs5MOq"], ["remember_token", "7tLmsp1_NoLZTsRcDPpyPg"], ["created_at", "2015-10-30 23:17:53.432985"], ["updated_at", "2015-10-30 23:17:53.432985"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", "2015-10-30 23:17:53.435983"], ["updated_at", "2015-10-30 23:17:53.435983"]]  (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 "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-30 23:17:53.439939"], ["updated_at", "2015-10-30 23:17:53.439939"]]  (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", "2015-10-30 23:17:53.442646"], ["updated_at", "2015-10-30 23:17:53.442646"]]  (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", "2015-10-30 23:17:53.444507"], ["updated_at", "2015-10-30 23:17:53.444507"]]  (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", "2015-10-30 23:17:53.446344"], ["updated_at", "2015-10-30 23:17:53.446344"]]  (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", "yoEN4D9YrZ0pJODJB5pYbQ"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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$ZNqFSGFXmazKJhmdQmqhUua0BcQfICiI4L9qOLaXChT/am1y/ru7O"], ["remember_token", "q8mZxCSzkvh3NfFCWF0zBw"], ["created_at", "2015-10-30 23:17:53.461516"], ["updated_at", "2015-10-30 23:17:53.461516"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:17:53.464906"], ["updated_at", "2015-10-30 23:17:53.464906"]]  (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", "2015-10-30 23:17:53.469268"], ["updated_at", "2015-10-30 23:17:53.469268"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.472579"], ["updated_at", "2015-10-30 23:17:53.472579"]] 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", "2015-10-30 23:17:53.474533"], ["updated_at", "2015-10-30 23:17:53.474533"]] 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.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", "2015-10-30 23:17:53.478243"], ["updated_at", "2015-10-30 23:17:53.478243"]]  (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", "2015-10-30 23:17:53.481943"], ["updated_at", "2015-10-30 23:17:53.481943"]]  (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", "2015-10-30 23:17:53.483899"], ["updated_at", "2015-10-30 23:17:53.483899"]]  (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", "2015-10-30 23:17:53.485451"], ["updated_at", "2015-10-30 23:17:53.485451"]]  (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", "2015-10-30 23:17:53.487080"], ["updated_at", "2015-10-30 23:17:53.487080"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$Yd12nuWPY9u1BgVl3U1KIu/GNvL.6ce7/Igjv.0iUr3UoR4vCPo0K"], ["remember_token", "lZc39St-9AehlOUVzBDXzg"], ["created_at", "2015-10-30 23:17:53.493614"], ["updated_at", "2015-10-30 23:17:53.493614"]]  (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", "2015-10-30 23:17:53.496208"], ["updated_at", "2015-10-30 23:17:53.496208"]]  (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", "2015-10-30 23:17:53.498997"], ["updated_at", "2015-10-30 23:17:53.498997"]]  (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", "2015-10-30 23:17:53.500973"], ["updated_at", "2015-10-30 23:17:53.500973"]]  (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", "2015-10-30 23:17:53.502731"], ["updated_at", "2015-10-30 23:17:53.502731"]]  (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", "2015-10-30 23:17:53.504483"], ["updated_at", "2015-10-30 23:17:53.504483"]]  (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", "q8mZxCSzkvh3NfFCWF0zBw"]] 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.3ms | ActiveRecord: 0.5ms) Article Load (0.3ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$oSWRVUkY2OwCjPO3qhNCN.VHtJsW7EUJJuS96bpjN0WsvaMT242Uq"], ["remember_token", "rIS3ZU91KF_xCHTBZuQ7EQ"], ["created_at", "2015-10-30 23:17:53.520646"], ["updated_at", "2015-10-30 23:17:53.520646"]]  (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", "2015-10-30 23:17:53.524608"], ["updated_at", "2015-10-30 23:17:53.524608"]]  (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", "2015-10-30 23:17:53.527557"], ["updated_at", "2015-10-30 23:17:53.527557"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.530939"], ["updated_at", "2015-10-30 23:17:53.530939"]] 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", "2015-10-30 23:17:53.532714"], ["updated_at", "2015-10-30 23:17:53.532714"]] 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", "2015-10-30 23:17:53.536262"], ["updated_at", "2015-10-30 23:17:53.536262"]]  (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", "2015-10-30 23:17:53.538082"], ["updated_at", "2015-10-30 23:17:53.538082"]]  (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", "2015-10-30 23:17:53.540543"], ["updated_at", "2015-10-30 23:17:53.540543"]]  (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", "2015-10-30 23:17:53.542311"], ["updated_at", "2015-10-30 23:17:53.542311"]]  (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", "2015-10-30 23:17:53.544086"], ["updated_at", "2015-10-30 23:17:53.544086"]]  (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$6EH7TGBBH1s/FXoeEMjd6e1sXIdmrrOox6doPaiEkRK92ozPYSqP6"], ["remember_token", "FgWJ8kdhqMHp8R5mZ48d-A"], ["created_at", "2015-10-30 23:17:53.547960"], ["updated_at", "2015-10-30 23:17:53.547960"]]  (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", "2015-10-30 23:17:53.549470"], ["updated_at", "2015-10-30 23:17:53.549470"]]  (0.0ms) 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", "2015-10-30 23:17:53.551356"], ["updated_at", "2015-10-30 23:17:53.551356"]]  (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", "2015-10-30 23:17:53.554565"], ["updated_at", "2015-10-30 23:17:53.554565"]]  (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", "2015-10-30 23:17:53.557745"], ["updated_at", "2015-10-30 23:17:53.557745"]]  (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", "2015-10-30 23:17:53.560545"], ["updated_at", "2015-10-30 23:17:53.560545"]]  (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", "2015-10-30 23:17:53.562798"], ["updated_at", "2015-10-30 23:17:53.562798"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.568962"], ["updated_at", "2015-10-30 23:17:53.568962"]] 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", "2015-10-30 23:17:53.570340"], ["updated_at", "2015-10-30 23:17:53.570340"]] 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", "rIS3ZU91KF_xCHTBZuQ7EQ"]] 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.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 7ms (Views: 1.1ms | ActiveRecord: 0.8ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$zh2ePLkP2661fi9vb1BBzOapnCSAy0s1DTqOKVvSNgnNPRS55ay/a"], ["remember_token", "AFsu7Mz11Vt_87v1qPiUJA"], ["created_at", "2015-10-30 23:17:53.590938"], ["updated_at", "2015-10-30 23:17:53.590938"]]  (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.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$LVgfK8yhER6Kkm0Pueyc3OHax4W7nE4NRhMa9OXtK/iKIi0Z2BFlW"], ["remember_token", "WUy5LA_QwvbX6XABsReIfQ"], ["created_at", "2015-10-30 23:17:53.595735"], ["updated_at", "2015-10-30 23:17:53.595735"]]  (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", "2015-10-30 23:17:53.599508"], ["updated_at", "2015-10-30 23:17:53.599508"]]  (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.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", "2015-10-30 23:17:53.603051"], ["updated_at", "2015-10-30 23:17:53.603051"]]  (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", "2015-10-30 23:17:53.606184"], ["updated_at", "2015-10-30 23:17:53.606184"]]  (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", "2015-10-30 23:17:53.609420"], ["updated_at", "2015-10-30 23:17:53.609420"]]  (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", "2015-10-30 23:17:53.611727"], ["updated_at", "2015-10-30 23:17:53.611727"]]  (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", "2015-10-30 23:17:53.613955"], ["updated_at", "2015-10-30 23:17:53.613955"]]  (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", "2015-10-30 23:17:53.615942"], ["updated_at", "2015-10-30 23:17:53.615942"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:17:53.618749"], ["updated_at", "2015-10-30 23:17:53.618749"]]  (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", "2015-10-30 23:17:53.621419"], ["updated_at", "2015-10-30 23:17:53.621419"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.625794"], ["updated_at", "2015-10-30 23:17:53.625794"]] 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", "2015-10-30 23:17:53.627334"], ["updated_at", "2015-10-30 23:17:53.627334"]] 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.636963"], ["updated_at", "2015-10-30 23:17:53.636963"]] 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", "2015-10-30 23:17:53.638984"], ["updated_at", "2015-10-30 23:17:53.638984"]] 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", "AFsu7Mz11Vt_87v1qPiUJA"]] 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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.5ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (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$HuVP4Ug/IrUK8m/dOaCRkuOZmrgxXD0HRNllmHznwecmfB/lPeURO"], ["remember_token", "sCM1re43G6_KlwMWFLgZZg"], ["created_at", "2015-10-30 23:17:53.655425"], ["updated_at", "2015-10-30 23:17:53.655425"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:17:53.658646"], ["updated_at", "2015-10-30 23:17:53.658646"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:53.661306"], ["updated_at", "2015-10-30 23:17:53.661306"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.667304"], ["updated_at", "2015-10-30 23:17:53.667304"]] 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", "2015-10-30 23:17:53.669383"], ["updated_at", "2015-10-30 23:17:53.669383"]] 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.1ms) 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$8jFZ1GE4uTOGuwH0Jo3PV.e/5MNOnMm8GLIK/sUjAmIhjNO1aXJBG"], ["remember_token", "2zRXKYK4z1diXI--plWL1w"], ["created_at", "2015-10-30 23:17:53.676682"], ["updated_at", "2015-10-30 23:17:53.676682"]]  (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", "2015-10-30 23:17:53.684268"], ["updated_at", "2015-10-30 23:17:53.684268"]]  (0.1ms) 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 1 [["remember_token", "sCM1re43G6_KlwMWFLgZZg"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.6ms)  (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$FZuTMT6a1txarGVEKG5QJONVPP67rQiJcMU0kQn33ENHZPGp/vw3S"], ["remember_token", "0l6BWfaGRsIi1dBPg2lkcg"], ["created_at", "2015-10-30 23:17:53.700863"], ["updated_at", "2015-10-30 23:17:53.700863"]]  (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", "2015-10-30 23:17:53.704018"], ["updated_at", "2015-10-30 23:17:53.704018"]]  (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", "2015-10-30 23:17:53.706907"], ["updated_at", "2015-10-30 23:17:53.706907"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.711042"], ["updated_at", "2015-10-30 23:17:53.711042"]] 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", "2015-10-30 23:17:53.712413"], ["updated_at", "2015-10-30 23:17:53.712413"]] 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.0ms) 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$9I5znQm04WgB9.xQg8V4auIiWb.7HbTPmMYlfN4vaNKp0PgB1X2Dy"], ["remember_token", "vd4gIAMYp6mfVUcJYZxPVg"], ["created_at", "2015-10-30 23:17:53.717945"], ["updated_at", "2015-10-30 23:17:53.717945"]]  (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", "2015-10-30 23:17:53.721125"], ["updated_at", "2015-10-30 23:17:53.721125"]]  (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 1 [["remember_token", "0l6BWfaGRsIi1dBPg2lkcg"]] 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.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"]] Rendered articles/show.html.erb within layouts/application (0.4ms) Completed 200 OK in 6ms (Views: 1.2ms | 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$Kw5xk5jG5D7JbCyofg003eBGlYtvJbH4v3JXgoUQoonNtYw1xgh3e"], ["remember_token", "Fi6eEdOprdz8Ucr8A7v2KQ"], ["created_at", "2015-10-30 23:17:53.737777"], ["updated_at", "2015-10-30 23:17:53.737777"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:17:53.741351"], ["updated_at", "2015-10-30 23:17:53.741351"]]  (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", "2015-10-30 23:17:53.744974"], ["updated_at", "2015-10-30 23:17:53.744974"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.748600"], ["updated_at", "2015-10-30 23:17:53.748600"]] 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", "2015-10-30 23:17:53.749959"], ["updated_at", "2015-10-30 23:17:53.749959"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "Fi6eEdOprdz8Ucr8A7v2KQ"]] 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 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.3ms) Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.5ms)  (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$aJ24ojhiu2P3f0XrheviXevkSCnzyBiWHVo5LmzDd2TdoTs4cQUqi"], ["remember_token", "B5VQgXJvjvU2NdT0iOKkhQ"], ["created_at", "2015-10-30 23:17:53.764810"], ["updated_at", "2015-10-30 23:17:53.764810"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:17:53.767836"], ["updated_at", "2015-10-30 23:17:53.767836"]]  (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", "2015-10-30 23:17:53.771747"], ["updated_at", "2015-10-30 23:17:53.771747"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.775614"], ["updated_at", "2015-10-30 23:17:53.775614"]] 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", "2015-10-30 23:17:53.777945"], ["updated_at", "2015-10-30 23:17:53.777945"]] 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.1ms) 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$.nqx35XbhyA1xhPrJ3yY6ezFXuCX9ozRA8sXvoeqn/Beu5WOfSFQa"], ["remember_token", "j6Zh3AaKJVDT_TcBSUBa4A"], ["created_at", "2015-10-30 23:17:53.784328"], ["updated_at", "2015-10-30 23:17:53.784328"]]  (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", "2015-10-30 23:17:53.786421"], ["updated_at", "2015-10-30 23:17:53.786421"]]  (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", "B5VQgXJvjvU2NdT0iOKkhQ"]] 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 7ms (Views: 2.9ms | ActiveRecord: 0.7ms)  (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$l1OdTAVJY1lg62363y2ca.sNWrc.yNExdCDv00i8rcWRvfNBfv/k6"], ["remember_token", "PZfMFHIxj5F57OqypXF2Dw"], ["created_at", "2015-10-30 23:17:53.801294"], ["updated_at", "2015-10-30 23:17:53.801294"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:17:53.805725"], ["updated_at", "2015-10-30 23:17:53.805725"]]  (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", "2015-10-30 23:17:53.810044"], ["updated_at", "2015-10-30 23:17:53.810044"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:53.813123"], ["updated_at", "2015-10-30 23:17:53.813123"]] 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", "2015-10-30 23:17:53.814768"], ["updated_at", "2015-10-30 23:17:53.814768"]] 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.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$zdh8if2kyJQSOWuHaW3oe.qxBwsbE9EBYztPIcJ01SxU.YhMcHCiC"], ["remember_token", "FWQwXvgBIbNQuwxtMkBegw"], ["created_at", "2015-10-30 23:17:53.820427"], ["updated_at", "2015-10-30 23:17:53.820427"]]  (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", "2015-10-30 23:17:53.822032"], ["updated_at", "2015-10-30 23:17:53.822032"]]  (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", "PZfMFHIxj5F57OqypXF2Dw"]] 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.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.5ms) Completed 200 OK in 8ms (Views: 1.9ms | ActiveRecord: 0.8ms)  (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", "2015-10-30 23:17:53.838352"], ["updated_at", "2015-10-30 23:17:53.838352"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:17:53.841302"], ["updated_at", "2015-10-30 23:17:53.841302"]]  (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", "2015-10-30 23:17:53.844412"], ["updated_at", "2015-10-30 23:17:53.844412"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:53.851826"], ["updated_at", "2015-10-30 23:17:53.851826"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:53.854641"], ["updated_at", "2015-10-30 23:17:53.854641"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "2015-10-30 23:17:53.876641"], ["updated_at", "2015-10-30 23:17:53.876641"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:53.879721"], ["updated_at", "2015-10-30 23:17:53.879721"]]  (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 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", "2015-10-30 23:17:53.889572"], ["updated_at", "2015-10-30 23:17:53.889572"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:17:53.893120"], ["updated_at", "2015-10-30 23:17:53.893120"]]  (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", "2015-10-30 23:17:53.896550"], ["updated_at", "2015-10-30 23:17:53.896550"]]  (0.0ms) 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 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", "2015-10-30 23:17:53.905007"], ["updated_at", "2015-10-30 23:17:53.905007"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:17:53.908749"], ["updated_at", "2015-10-30 23:17:53.908749"]]  (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", "2015-10-30 23:17:53.913198"], ["updated_at", "2015-10-30 23:17:53.913198"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.2ms) 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", "2015-10-30 23:17:53.920421"], ["updated_at", "2015-10-30 23:17:53.920421"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:17:53.923933"], ["updated_at", "2015-10-30 23:17:53.923933"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:59.093339"], ["updated_at", "2015-10-30 23:17:59.093339"]]  (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", "2015-10-30 23:17:59.116150"], ["updated_at", "2015-10-30 23:17:59.116150"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.8ms) 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", "2015-10-30 23:17:59.129665"], ["updated_at", "2015-10-30 23:17:59.129665"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.176047"], ["updated_at", "2015-10-30 23:17:59.176047"]] 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", "2015-10-30 23:17:59.179501"], ["updated_at", "2015-10-30 23:17:59.179501"]] 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", "YDgTx2sAGVqQqislIZLU-w"], ["is_valid", "t"], ["exp_at", "2015-11-30"], ["adeia_permission_id", 1], ["created_at", "2015-10-30 23:17:59.198039"], ["updated_at", "2015-10-30 23:17:59.198039"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "YDgTx2sAGVqQqislIZLU-w"]]  (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.3ms) 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:59.234338"], ["updated_at", "2015-10-30 23:17:59.234338"]]  (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", "2015-10-30 23:17:59.237719"], ["updated_at", "2015-10-30 23:17:59.237719"]]  (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", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:17:59.241314"], ["updated_at", "2015-10-30 23:17:59.241314"]] 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", "2015-10-30 23:17:59.242636"], ["updated_at", "2015-10-30 23:17:59.242636"]] 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.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.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", "2015-10-30 23:17:59.254621"], ["updated_at", "2015-10-30 23:17:59.254621"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:59.257340"], ["updated_at", "2015-10-30 23:17:59.257340"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.260680"], ["updated_at", "2015-10-30 23:17:59.260680"]] 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", "2015-10-30 23:17:59.263662"], ["updated_at", "2015-10-30 23:17:59.263662"]] 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" = 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"."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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:59.274423"], ["updated_at", "2015-10-30 23:17:59.274423"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:59.277487"], ["updated_at", "2015-10-30 23:17:59.277487"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.281272"], ["updated_at", "2015-10-30 23:17:59.281272"]] 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", "2015-10-30 23:17:59.282664"], ["updated_at", "2015-10-30 23:17:59.282664"]] 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"]]  (0.9ms) 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", "2015-10-30 23:17:59.292693"], ["updated_at", "2015-10-30 23:17:59.292693"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:59.295251"], ["updated_at", "2015-10-30 23:17:59.295251"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.299809"], ["updated_at", "2015-10-30 23:17:59.299809"]] 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", "2015-10-30 23:17:59.301264"], ["updated_at", "2015-10-30 23:17:59.301264"]] 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.1ms) 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"]]  (1.2ms) 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", "2015-10-30 23:17:59.313196"], ["updated_at", "2015-10-30 23:17:59.313196"]]  (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", "2015-10-30 23:17:59.318410"], ["updated_at", "2015-10-30 23:17:59.318410"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.323251"], ["updated_at", "2015-10-30 23:17:59.323251"]] 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", "2015-10-30 23:17:59.325224"], ["updated_at", "2015-10-30 23:17:59.325224"]] 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.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.1ms) 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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:59.337255"], ["updated_at", "2015-10-30 23:17:59.337255"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:59.340148"], ["updated_at", "2015-10-30 23:17:59.340148"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.343975"], ["updated_at", "2015-10-30 23:17:59.343975"]] 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", "2015-10-30 23:17:59.345476"], ["updated_at", "2015-10-30 23:17:59.345476"]] 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" = 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"."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.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" = 1007 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:59.359801"], ["updated_at", "2015-10-30 23:17:59.359801"]]  (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", "2015-10-30 23:17:59.363204"], ["updated_at", "2015-10-30 23:17:59.363204"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.367752"], ["updated_at", "2015-10-30 23:17:59.367752"]] 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", "2015-10-30 23:17:59.369254"], ["updated_at", "2015-10-30 23:17:59.369254"]] 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" = 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"."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.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", "2015-10-30 23:17:59.380449"], ["updated_at", "2015-10-30 23:17:59.380449"]]  (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", "2015-10-30 23:17:59.383266"], ["updated_at", "2015-10-30 23:17:59.383266"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-30 23:17:59.387622"], ["updated_at", "2015-10-30 23:17:59.387622"]] 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", "2015-10-30 23:17:59.389173"], ["updated_at", "2015-10-30 23:17:59.389173"]] 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.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"."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"]]  (1.2ms) 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", "2015-10-30 23:17:59.402010"], ["updated_at", "2015-10-30 23:17:59.402010"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:59.404767"], ["updated_at", "2015-10-30 23:17:59.404767"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.408532"], ["updated_at", "2015-10-30 23:17:59.408532"]] 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", "2015-10-30 23:17:59.410017"], ["updated_at", "2015-10-30 23:17:59.410017"]] 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" = 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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-30 23:17:59.430080"], ["updated_at", "2015-10-30 23:17:59.430080"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:59.432932"], ["updated_at", "2015-10-30 23:17:59.432932"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.436596"], ["updated_at", "2015-10-30 23:17:59.436596"]] 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", "2015-10-30 23:17:59.438009"], ["updated_at", "2015-10-30 23:17:59.438009"]] 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 "adeia_tokens" ("token", "is_valid", "exp_at", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "WQld79omc3t3O6GAfv9cTA"], ["is_valid", "t"], ["exp_at", "2015-11-30"], ["adeia_permission_id", 1], ["created_at", "2015-10-30 23:17:59.441578"], ["updated_at", "2015-10-30 23:17:59.441578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "WQld79omc3t3O6GAfv9cTA"]]  (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_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"]]  (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"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (1.2ms) 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", "2015-10-30 23:17:59.454409"], ["updated_at", "2015-10-30 23:17:59.454409"]]  (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", "2015-10-30 23:17:59.458722"], ["updated_at", "2015-10-30 23:17:59.458722"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.463429"], ["updated_at", "2015-10-30 23:17:59.463429"]] 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", "2015-10-30 23:17:59.465351"], ["updated_at", "2015-10-30 23:17:59.465351"]] 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" = 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"."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.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" = 1012 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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", "2015-10-30 23:17:59.480979"], ["updated_at", "2015-10-30 23:17:59.480979"]]  (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", "2015-10-30 23:17:59.484919"], ["updated_at", "2015-10-30 23:17:59.484919"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.489178"], ["updated_at", "2015-10-30 23:17:59.489178"]] 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", "2015-10-30 23:17:59.490732"], ["updated_at", "2015-10-30 23:17:59.490732"]] 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" = 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"."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.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" = 1013 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:59.506709"], ["updated_at", "2015-10-30 23:17:59.506709"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:59.509339"], ["updated_at", "2015-10-30 23:17:59.509339"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.512775"], ["updated_at", "2015-10-30 23:17:59.512775"]] 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", "2015-10-30 23:17:59.515067"], ["updated_at", "2015-10-30 23:17:59.515067"]] 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" = 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.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" = 1016 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:59.527190"], ["updated_at", "2015-10-30 23:17:59.527190"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:59.530097"], ["updated_at", "2015-10-30 23:17:59.530097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.533762"], ["updated_at", "2015-10-30 23:17:59.533762"]] 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", "2015-10-30 23:17:59.535472"], ["updated_at", "2015-10-30 23:17:59.535472"]] 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" = 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.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" = 1018 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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 (1.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:59.548326"], ["updated_at", "2015-10-30 23:17:59.548326"]]  (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", "2015-10-30 23:17:59.554152"], ["updated_at", "2015-10-30 23:17:59.554152"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (10.5ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.558258"], ["updated_at", "2015-10-30 23:17:59.558258"]] 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", "2015-10-30 23:17:59.570282"], ["updated_at", "2015-10-30 23:17:59.570282"]] 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" = 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.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" = 1020 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:59.583094"], ["updated_at", "2015-10-30 23:17:59.583094"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:59.585993"], ["updated_at", "2015-10-30 23:17:59.585993"]]  (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", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.589413"], ["updated_at", "2015-10-30 23:17:59.589413"]] 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", "2015-10-30 23:17:59.591408"], ["updated_at", "2015-10-30 23:17:59.591408"]] 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.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" = 1022 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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:17:59.607264"], ["updated_at", "2015-10-30 23:17:59.607264"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", "2015-10-30 23:17:59.613929"], ["updated_at", "2015-10-30 23:17:59.613929"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-30 23:17:59.619040"], ["updated_at", "2015-10-30 23:17:59.619040"]]  (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", "2015-10-30 23:17:59.621801"], ["updated_at", "2015-10-30 23:17:59.621801"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.624964"], ["updated_at", "2015-10-30 23:17:59.624964"]] 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", "2015-10-30 23:17:59.626288"], ["updated_at", "2015-10-30 23:17:59.626288"]] 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" = 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.5ms) 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$0nBdWE0Xl5VCaYTUH2Qq6enUqELpjYM/b6dJf9WkUTB2qXNszYxCq"], ["remember_token", "XCxFGVmMpqr0fXRODgd1lA"], ["created_at", "2015-10-30 23:17:59.646173"], ["updated_at", "2015-10-30 23:17:59.646173"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:17:59.650650"], ["updated_at", "2015-10-30 23:17:59.650650"]]  (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", "2015-10-30 23:17:59.653491"], ["updated_at", "2015-10-30 23:17:59.653491"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.656554"], ["updated_at", "2015-10-30 23:17:59.656554"]] 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", "2015-10-30 23:17:59.658112"], ["updated_at", "2015-10-30 23:17:59.658112"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "XCxFGVmMpqr0fXRODgd1lA"]] 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.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" = '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 21ms (Views: 14.5ms | ActiveRecord: 0.8ms)  (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$0KUwZ2ObsoVRWp8iWu2hruxqZMN5WbCAg5e4MW7jSEQz2w4slAkyW"], ["remember_token", "_suaMkQN41zMH4XjnlsgIw"], ["created_at", "2015-10-30 23:17:59.691512"], ["updated_at", "2015-10-30 23:17:59.691512"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:17:59.694638"], ["updated_at", "2015-10-30 23:17:59.694638"]]  (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", "2015-10-30 23:17:59.697148"], ["updated_at", "2015-10-30 23:17:59.697148"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.701147"], ["updated_at", "2015-10-30 23:17:59.701147"]] 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", "2015-10-30 23:17:59.703432"], ["updated_at", "2015-10-30 23:17:59.703432"]] 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", "_suaMkQN41zMH4XjnlsgIw"]] 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.2ms) Completed 200 OK in 13ms (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$f6jlfxemVQt.UlakuoFzi.y6WXo6rAhCeP57dOQ.w3e.nY8mdH0Gq"], ["remember_token", "4nPIES2HEduybBTtl7Z1Ew"], ["created_at", "2015-10-30 23:17:59.727234"], ["updated_at", "2015-10-30 23:17:59.727234"]]  (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", "2015-10-30 23:17:59.731986"], ["updated_at", "2015-10-30 23:17:59.731986"]]  (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", "2015-10-30 23:17:59.735813"], ["updated_at", "2015-10-30 23:17:59.735813"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.739014"], ["updated_at", "2015-10-30 23:17:59.739014"]] 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", "2015-10-30 23:17:59.740291"], ["updated_at", "2015-10-30 23:17:59.740291"]] 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.2ms) 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$HA/1g.XAxBC/y2TMXkBmkejG9ASY92QlOGlbxvO3ikQt2oobeMkJq"], ["remember_token", "KeKqeBijpAkkn_rt4oOqIw"], ["created_at", "2015-10-30 23:17:59.753536"], ["updated_at", "2015-10-30 23:17:59.753536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.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", "2015-10-30 23:17:59.756072"], ["updated_at", "2015-10-30 23:17:59.756072"]]  (0.2ms) 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.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", "2015-10-30 23:17:59.762333"], ["updated_at", "2015-10-30 23:17:59.762333"]]  (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", "2015-10-30 23:17:59.765800"], ["updated_at", "2015-10-30 23:17:59.765800"]]  (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", "2015-10-30 23:17:59.768767"], ["updated_at", "2015-10-30 23:17:59.768767"]]  (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", "2015-10-30 23:17:59.771507"], ["updated_at", "2015-10-30 23:17:59.771507"]]  (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", "4nPIES2HEduybBTtl7Z1Ew"]] 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.2ms | 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$IEkeMi.z0Av7Gco6AjeoGO4h21DsvYoZ4BPQHsOxiIxN/3/Qu1Hc6"], ["remember_token", "svmFEy76UDhoCvrQK8W9PQ"], ["created_at", "2015-10-30 23:17:59.787752"], ["updated_at", "2015-10-30 23:17:59.787752"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:17:59.791288"], ["updated_at", "2015-10-30 23:17:59.791288"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:17:59.794386"], ["updated_at", "2015-10-30 23:17:59.794386"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.799001"], ["updated_at", "2015-10-30 23:17:59.799001"]] 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", "2015-10-30 23:17:59.801505"], ["updated_at", "2015-10-30 23:17:59.801505"]] 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.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", "2015-10-30 23:17:59.806145"], ["updated_at", "2015-10-30 23:17:59.806145"]]  (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", "2015-10-30 23:17:59.808243"], ["updated_at", "2015-10-30 23:17:59.808243"]]  (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", "2015-10-30 23:17:59.810357"], ["updated_at", "2015-10-30 23:17:59.810357"]]  (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", "2015-10-30 23:17:59.812131"], ["updated_at", "2015-10-30 23:17:59.812131"]]  (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", "2015-10-30 23:17:59.813692"], ["updated_at", "2015-10-30 23:17:59.813692"]]  (0.0ms) 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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$38y1ZdVR0d3UM54TD.Q8neP8Ul8OBavMydGhkRqXKVSTbouAC/y86"], ["remember_token", "WlCAUQdWtjBCPKO9ONk6mg"], ["created_at", "2015-10-30 23:17:59.817569"], ["updated_at", "2015-10-30 23:17:59.817569"]]  (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", "2015-10-30 23:17:59.819581"], ["updated_at", "2015-10-30 23:17:59.819581"]]  (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", "2015-10-30 23:17:59.821950"], ["updated_at", "2015-10-30 23:17:59.821950"]]  (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", "2015-10-30 23:17:59.823984"], ["updated_at", "2015-10-30 23:17:59.823984"]]  (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", "2015-10-30 23:17:59.825738"], ["updated_at", "2015-10-30 23:17:59.825738"]]  (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", "2015-10-30 23:17:59.827752"], ["updated_at", "2015-10-30 23:17:59.827752"]]  (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", "svmFEy76UDhoCvrQK8W9PQ"]] 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 (user_id = 1 OR id IN (NULL))  (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$y4BQiBgIpjUemKEzcKMnCu0RHhfmajuA6kA3w0UbkHAdCXGbM5V2G"], ["remember_token", "LY44BTRtdnfAFEGf4hltAg"], ["created_at", "2015-10-30 23:17:59.842067"], ["updated_at", "2015-10-30 23:17:59.842067"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:17:59.845489"], ["updated_at", "2015-10-30 23:17:59.845489"]]  (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", "2015-10-30 23:17:59.848143"], ["updated_at", "2015-10-30 23:17:59.848143"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.852379"], ["updated_at", "2015-10-30 23:17:59.852379"]] 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", "2015-10-30 23:17:59.853685"], ["updated_at", "2015-10-30 23:17:59.853685"]] 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", "2015-10-30 23:17:59.857172"], ["updated_at", "2015-10-30 23:17:59.857172"]]  (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", "2015-10-30 23:17:59.859207"], ["updated_at", "2015-10-30 23:17:59.859207"]]  (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", "2015-10-30 23:17:59.862605"], ["updated_at", "2015-10-30 23:17:59.862605"]]  (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", "2015-10-30 23:17:59.865284"], ["updated_at", "2015-10-30 23:17:59.865284"]]  (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", "2015-10-30 23:17:59.867887"], ["updated_at", "2015-10-30 23:17:59.867887"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$W/p/6C2OAN7BX8/IkqMV5.0.pVDhpGySP/Po3eZGdhud0/Fpur/Uy"], ["remember_token", "FFwfz2jTMknOQEqmWmmOSA"], ["created_at", "2015-10-30 23:17:59.873386"], ["updated_at", "2015-10-30 23:17:59.873386"]]  (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", "2015-10-30 23:17:59.875420"], ["updated_at", "2015-10-30 23:17:59.875420"]]  (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", "2015-10-30 23:17:59.877384"], ["updated_at", "2015-10-30 23:17:59.877384"]]  (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", "2015-10-30 23:17:59.879142"], ["updated_at", "2015-10-30 23:17:59.879142"]]  (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", "2015-10-30 23:17:59.880908"], ["updated_at", "2015-10-30 23:17:59.880908"]]  (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", "2015-10-30 23:17:59.883103"], ["updated_at", "2015-10-30 23:17:59.883103"]]  (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", "2015-10-30 23:17:59.885471"], ["updated_at", "2015-10-30 23:17:59.885471"]]  (0.0ms) 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.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.891084"], ["updated_at", "2015-10-30 23:17:59.891084"]] 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", "2015-10-30 23:17:59.892412"], ["updated_at", "2015-10-30 23:17:59.892412"]] 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 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "LY44BTRtdnfAFEGf4hltAg"]] 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.2ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.5ms) 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.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$C1etQluso77kNP5n8UK4cOUVmMPSaWYjn6Rvea9BquhPvbeveQ9lq"], ["remember_token", "_Etr4eS8Jskc9cHMay8DXg"], ["created_at", "2015-10-30 23:17:59.909170"], ["updated_at", "2015-10-30 23:17:59.909170"]]  (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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$EnSn2I6QDSB42AP04GvazudCe/OhPbuDJq/tjmGnzkSfi75H1sI.W"], ["remember_token", "ubSfjHI7xRjJiKUtDO36iw"], ["created_at", "2015-10-30 23:17:59.913639"], ["updated_at", "2015-10-30 23:17:59.913639"]]  (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", "2015-10-30 23:17:59.915833"], ["updated_at", "2015-10-30 23:17:59.915833"]]  (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", "2015-10-30 23:17:59.917842"], ["updated_at", "2015-10-30 23:17:59.917842"]]  (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", "2015-10-30 23:17:59.919780"], ["updated_at", "2015-10-30 23:17:59.919780"]]  (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", "2015-10-30 23:17:59.921904"], ["updated_at", "2015-10-30 23:17:59.921904"]]  (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", "2015-10-30 23:17:59.923988"], ["updated_at", "2015-10-30 23:17:59.923988"]]  (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.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", "2015-10-30 23:17:59.926249"], ["updated_at", "2015-10-30 23:17:59.926249"]]  (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.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", "2015-10-30 23:17:59.930177"], ["updated_at", "2015-10-30 23:17:59.930177"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:17:59.934755"], ["updated_at", "2015-10-30 23:17:59.934755"]]  (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", "2015-10-30 23:17:59.937786"], ["updated_at", "2015-10-30 23:17:59.937786"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.941790"], ["updated_at", "2015-10-30 23:17:59.941790"]] 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", "2015-10-30 23:17:59.943518"], ["updated_at", "2015-10-30 23:17:59.943518"]] 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.0ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.950820"], ["updated_at", "2015-10-30 23:17:59.950820"]] 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", "2015-10-30 23:17:59.952613"], ["updated_at", "2015-10-30 23:17:59.952613"]] 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", "_Etr4eS8Jskc9cHMay8DXg"]] 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.4ms | ActiveRecord: 0.5ms) Article Load (0.4ms) 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$S7Nfc5AswCpY26WhXiAz6u1aud3GX6lxiJgdlggTHEihNVXCxOMFm"], ["remember_token", "4ue146102wQaN0E6cm0MbQ"], ["created_at", "2015-10-30 23:17:59.970211"], ["updated_at", "2015-10-30 23:17:59.970211"]]  (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", "2015-10-30 23:17:59.973396"], ["updated_at", "2015-10-30 23:17:59.973396"]]  (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", "2015-10-30 23:17:59.976393"], ["updated_at", "2015-10-30 23:17:59.976393"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:17:59.982474"], ["updated_at", "2015-10-30 23:17:59.982474"]] 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", "2015-10-30 23:17:59.984843"], ["updated_at", "2015-10-30 23:17:59.984843"]] 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.1ms) 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$CAidTiB46fHhsg0fMHNB1u0aiBReJ.UHuBoJc9RWHgi9uuvCNo/f6"], ["remember_token", "nvYi2SQgZrFtgJWmvQBaeA"], ["created_at", "2015-10-30 23:17:59.991636"], ["updated_at", "2015-10-30 23:17:59.991636"]]  (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", "2015-10-30 23:17:59.999204"], ["updated_at", "2015-10-30 23:17:59.999204"]]  (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 1 [["remember_token", "4ue146102wQaN0E6cm0MbQ"]] Article Load (0.2ms) 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.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 articles/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 8ms (Views: 3.8ms | 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$7HLFxdcwRm0yfM4N4KPn4.D5q0upbJ7uQJwxvv9TVR5AddNLDGQBu"], ["remember_token", "xM83umONbGa_1FALtIl1iw"], ["created_at", "2015-10-30 23:18:00.019348"], ["updated_at", "2015-10-30 23:18:00.019348"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:18:00.023760"], ["updated_at", "2015-10-30 23:18:00.023760"]]  (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", "2015-10-30 23:18:00.026996"], ["updated_at", "2015-10-30 23:18:00.026996"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:18:00.030417"], ["updated_at", "2015-10-30 23:18:00.030417"]] 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", "2015-10-30 23:18:00.031724"], ["updated_at", "2015-10-30 23:18:00.031724"]] 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.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$VTtT383YkxJjAXJMJ/LwbOARtE6MEP7TZGFKseQldG/opp1qegZpm"], ["remember_token", "3Tv4bIR5K5DMj0GzKPIUBw"], ["created_at", "2015-10-30 23:18:00.037341"], ["updated_at", "2015-10-30 23:18:00.037341"]]  (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", "2015-10-30 23:18:00.038968"], ["updated_at", "2015-10-30 23:18:00.038968"]]  (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", "xM83umONbGa_1FALtIl1iw"]] 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.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 articles/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (1.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$K8s5SZ.LKbMY/JvVlcldrObxRTXMM/jG53asnB7THApsZag37Cxy."], ["remember_token", "-oLHB1w1DiEK1d-pc-RAlA"], ["created_at", "2015-10-30 23:18:00.053530"], ["updated_at", "2015-10-30 23:18:00.053530"]]  (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", "2015-10-30 23:18:00.059179"], ["updated_at", "2015-10-30 23:18:00.059179"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:18:00.063557"], ["updated_at", "2015-10-30 23:18:00.063557"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:18:00.069119"], ["updated_at", "2015-10-30 23:18:00.069119"]] 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", "2015-10-30 23:18:00.071712"], ["updated_at", "2015-10-30 23:18:00.071712"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "-oLHB1w1DiEK1d-pc-RAlA"]] 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 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.3ms) Completed 200 OK in 7ms (Views: 3.6ms | ActiveRecord: 0.6ms)  (8.8ms) rollback transaction  (0.3ms) 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$XT3ny.NfzsiJCZorlZWnmuHtnGt0jJvbWB9eB932hwFMMaJ.XKSDS"], ["remember_token", "01R0EQwpEJnnuDK-Ci_j2w"], ["created_at", "2015-10-30 23:18:00.100179"], ["updated_at", "2015-10-30 23:18:00.100179"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:18:00.103715"], ["updated_at", "2015-10-30 23:18:00.103715"]]  (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", "2015-10-30 23:18:00.106454"], ["updated_at", "2015-10-30 23:18:00.106454"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:18:00.110113"], ["updated_at", "2015-10-30 23:18:00.110113"]] 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", "2015-10-30 23:18:00.111498"], ["updated_at", "2015-10-30 23:18:00.111498"]] 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.1ms) 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$jTQYrKDMgLHw3n8U0MjVquiPQ9ywGKbeATaOVjpadQXBLo0lEFt4q"], ["remember_token", "X1Xic_W8WM91ht_lc5WPWw"], ["created_at", "2015-10-30 23:18:00.118335"], ["updated_at", "2015-10-30 23:18:00.118335"]]  (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", "2015-10-30 23:18:00.120204"], ["updated_at", "2015-10-30 23:18:00.120204"]]  (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", "01R0EQwpEJnnuDK-Ci_j2w"]] 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.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 7ms (Views: 3.4ms | ActiveRecord: 0.6ms)  (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$4p/oGvoGgSSh226W0/A.huwhYy/usPwdPV2LRsKph6twl45C2Cati"], ["remember_token", "9cLKdVdEbDAMZw69__hNcg"], ["created_at", "2015-10-30 23:18:00.135813"], ["updated_at", "2015-10-30 23:18:00.135813"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-30 23:18:00.139057"], ["updated_at", "2015-10-30 23:18:00.139057"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-30 23:18:00.141815"], ["updated_at", "2015-10-30 23:18:00.141815"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-30 23:18:00.148168"], ["updated_at", "2015-10-30 23:18:00.148168"]] 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", "2015-10-30 23:18:00.150439"], ["updated_at", "2015-10-30 23:18:00.150439"]] 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.1ms) 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$ckwF9yKZODprzNACG9jCh./gQdZNhRSRk1iDdbCF6ucioGlTAty4O"], ["remember_token", "tnfyHJC3Azqfvi8cqf8mVQ"], ["created_at", "2015-10-30 23:18:00.157583"], ["updated_at", "2015-10-30 23:18:00.157583"]]  (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", "2015-10-30 23:18:00.159426"], ["updated_at", "2015-10-30 23:18:00.159426"]]  (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", "9cLKdVdEbDAMZw69__hNcg"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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", "2015-10-30 23:18:00.171197"], ["updated_at", "2015-10-30 23:18:00.171197"]]  (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", "2015-10-30 23:18:00.173779"], ["updated_at", "2015-10-30 23:18:00.173779"]]  (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", "2015-10-30 23:18:00.176357"], ["updated_at", "2015-10-30 23:18:00.176357"]]  (0.0ms) 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 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", "2015-10-30 23:18:00.183105"], ["updated_at", "2015-10-30 23:18:00.183105"]]  (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", "2015-10-30 23:18:00.187084"], ["updated_at", "2015-10-30 23:18:00.187084"]]  (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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-30 23:18:00.210122"], ["updated_at", "2015-10-30 23:18:00.210122"]]  (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", "2015-10-30 23:18:00.212880"], ["updated_at", "2015-10-30 23:18:00.212880"]]  (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 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", "2015-10-30 23:18:00.220586"], ["updated_at", "2015-10-30 23:18:00.220586"]]  (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", "2015-10-30 23:18:00.223281"], ["updated_at", "2015-10-30 23:18:00.223281"]]  (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", "2015-10-30 23:18:00.225834"], ["updated_at", "2015-10-30 23:18:00.225834"]]  (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 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", "2015-10-30 23:18:00.232894"], ["updated_at", "2015-10-30 23:18:00.232894"]]  (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", "2015-10-30 23:18:00.236242"], ["updated_at", "2015-10-30 23:18:00.236242"]]  (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", "2015-10-30 23:18:00.239050"], ["updated_at", "2015-10-30 23:18:00.239050"]]  (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 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", "2015-10-30 23:18:00.245764"], ["updated_at", "2015-10-30 23:18:00.245764"]]  (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", "2015-10-30 23:18:00.248088"], ["updated_at", "2015-10-30 23:18:00.248088"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$HPc4XMj029rO3C.JgEZrD.yNQUMOnQ7EZCpBCPClmQ3pAVovruPmW"], ["remember_token", "nXJtI2ASTgvvbmpxUNeQgA"], ["created_at", "2015-10-31 15:02:19.190140"], ["updated_at", "2015-10-31 15:02:19.190140"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#create as HTML Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)  (1.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.4ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$dz/GnobbNyaB/F3NG5p5tOg53iVvbKB.JhdBLQRd8ExXl5FuuiCI."], ["remember_token", "QwRQJDdYh6AjfWqmbpHvXA"], ["created_at", "2015-10-31 15:04:10.819682"], ["updated_at", "2015-10-31 15:04:10.819682"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#create as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "QwRQJDdYh6AjfWqmbpHvXA"]] Completed 400 Bad Request in 18ms (ActiveRecord: 0.2ms)  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction  (0.5ms) 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$hwE7lTUTi5yUJYDxsQ.tKeytEDmQ/l2SQ03cZ.PqMZPNZGh4jPBPq"], ["remember_token", "NPR6bHqI3HoPFvgRUkPOQQ"], ["created_at", "2015-10-31 15:04:39.207243"], ["updated_at", "2015-10-31 15:04:39.207243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#create as HTML Parameters: {"article"=>{}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "NPR6bHqI3HoPFvgRUkPOQQ"]] Completed 400 Bad Request in 19ms (ActiveRecord: 0.2ms)  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$dQDHjfRQdpgcXi1i/GyGkuB.x8LbMCQj9jkLixaeNAg6LcN/RJx1O"], ["remember_token", "uac3rzL4WzPmr5WSIyKJ7Q"], ["created_at", "2015-10-31 15:05:19.715984"], ["updated_at", "2015-10-31 15:05:19.715984"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$77rBQFhuuzfG.p0dNVy.2eURWxDMIZa4v31gaUrVS9Yg1OFCwxydG"], ["remember_token", "K6Jq6hUfe4upvd9tXkZSuQ"], ["created_at", "2015-10-31 15:05:19.747091"], ["updated_at", "2015-10-31 15:05:19.747091"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#create as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "uac3rzL4WzPmr5WSIyKJ7Q"]] Unpermitted parameter: user  (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", 1], ["created_at", "2015-10-31 15:05:19.773711"], ["updated_at", "2015-10-31 15:05:19.773711"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/articles/1 Completed 302 Found in 22ms (ActiveRecord: 1.5ms)  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$4NryyplAa4ojNF0Do5ZUXen/xf53kwjgQ3SL8m8WW50rRl9c/PSP6"], ["remember_token", "EspUM8VI2NQC1Xyc1etuPg"], ["created_at", "2015-10-31 15:08:24.355441"], ["updated_at", "2015-10-31 15:08:24.355441"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-31 15:08:24.408181"], ["updated_at", "2015-10-31 15:08:24.408181"]]  (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", "2015-10-31 15:08:24.428210"], ["updated_at", "2015-10-31 15:08:24.428210"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 15:08:24.470557"], ["updated_at", "2015-10-31 15:08:24.470557"]] 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", "2015-10-31 15:08:24.474769"], ["updated_at", "2015-10-31 15:08:24.474769"]] 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.2ms) 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$3xcwjmKJ4EIPvrvS/Jaf8.EGMONE.2GOwhTprEI8I6lMX.7buw/gO"], ["remember_token", "zL4vI-zTJgjRKOUedUUbpQ"], ["created_at", "2015-10-31 15:08:24.505294"], ["updated_at", "2015-10-31 15:08:24.505294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", "2015-10-31 15:08:24.508204"], ["updated_at", "2015-10-31 15:08:24.508204"]]  (0.1ms) 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 1 [["remember_token", "EspUM8VI2NQC1Xyc1etuPg"]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]] Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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.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.7ms) Completed 200 OK in 39ms (Views: 16.9ms | ActiveRecord: 2.4ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.3ms) 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$gA9UzSI.av7t74ExTlLJXenT0zEqO9fbqp29EiFmqaolja9nwxFZK"], ["remember_token", "uDHFm2qbzitD-4M2jtpcew"], ["created_at", "2015-10-31 15:08:32.858626"], ["updated_at", "2015-10-31 15:08:32.858626"]]  (0.2ms) 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.5ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$ZA8yoKH8.tr.REszDwBe.u/xv3qnvEa/hb6Dc1Y7xMbwbuhY1D1s."], ["remember_token", "K2BU_sIV_IPWeatshjC7fA"], ["created_at", "2015-10-31 15:08:32.906087"], ["updated_at", "2015-10-31 15:08:32.906087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$P4JBfia9klVDKOKMgInP4uO6VdqNzAGqxA6/bjrET7ITYIahONaU6"], ["remember_token", "HALseQzhT3mC4IQVJyYQaw"], ["created_at", "2015-10-31 15:08:55.455363"], ["updated_at", "2015-10-31 15:08:55.455363"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (0.4ms) 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$E.i66sQ0O5rMrt35jbSqd.xxZLOBTmMWcqpUctsUrkm9DBRxjk5Ri"], ["remember_token", "1M87NIli-CtXs5J1kdTYIA"], ["created_at", "2015-10-31 15:08:55.489860"], ["updated_at", "2015-10-31 15:08:55.489860"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#update as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"2"}, "id"=>"1"} Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$vvLgm1O4Cx6HHkaaNZ6cG.WbqsZ14rcBFBEjpb5RxrcQMsYCnD4dK"], ["remember_token", "8CCvIATtgkPKTEIhvdP_1w"], ["created_at", "2015-10-31 15:09:42.221157"], ["updated_at", "2015-10-31 15:09:42.221157"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (0.2ms) 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$EaIrzJExAD1PnZu7gJnv9O6IYiu5PRI9Oefx8b18vsKVapXe2KKCe"], ["remember_token", "SRM_IQyy0Tg03kbR3rPVtw"], ["created_at", "2015-10-31 15:09:42.257488"], ["updated_at", "2015-10-31 15:09:42.257488"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#update as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"2"}, "id"=>"1"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "8CCvIATtgkPKTEIhvdP_1w"]] Unpermitted parameter: user Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.5ms)  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$O.yrii3/k5JjB0c7SKiy3OawPXcMY2rzcTLoe9FEMftE7zGNwABFS"], ["remember_token", "hFKeJwdTvk-xh2mBYLFKVA"], ["created_at", "2015-10-31 15:10:20.348051"], ["updated_at", "2015-10-31 15:10:20.348051"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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$ya72z9Ass1m6aG1bzCBfKuhgCKV2qxUcliu9m7MH3UL8WIUzKP1PS"], ["remember_token", "j2OVBCKSTrTWpI-NFz0F0Q"], ["created_at", "2015-10-31 15:10:20.383632"], ["updated_at", "2015-10-31 15:10:20.383632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-31 15:10:20.398036"], ["updated_at", "2015-10-31 15:10:20.398036"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#update as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "hFKeJwdTvk-xh2mBYLFKVA"]] Completed 400 Bad Request in 2ms (ActiveRecord: 0.2ms)  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$FJ6vmuTdNMYUgdNFlRK6c.eYaarLhilSLS6vZdE6ok8iEE10dCvRO"], ["remember_token", "lTYxNN4GKhgxL0Yqdv2uHQ"], ["created_at", "2015-10-31 15:10:28.565237"], ["updated_at", "2015-10-31 15:10:28.565237"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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$M5jo.ZBle5zye8QMm/Yf9Odo8VcZpIJFtUkLxhXnQIwbzFZcLK/qa"], ["remember_token", "CgT5s5VqeG_1krA02X2gwA"], ["created_at", "2015-10-31 15:10:28.602861"], ["updated_at", "2015-10-31 15:10:28.602861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", 2], ["created_at", "2015-10-31 15:10:28.615526"], ["updated_at", "2015-10-31 15:10:28.615526"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#update as HTML Parameters: {"article"=>{}, "id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "lTYxNN4GKhgxL0Yqdv2uHQ"]] Completed 400 Bad Request in 2ms (ActiveRecord: 0.1ms)  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$YLJZ61eEKAthzGnHxDJJSOOJbRx9PaQTbg4D8TmTHsjO6sSK.qt8W"], ["remember_token", "dlxoXciUbMVn1wxl69zfCw"], ["created_at", "2015-10-31 15:10:40.197075"], ["updated_at", "2015-10-31 15:10:40.197075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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$w3g7tPbhB5U.ACpQxEbwWutFL2ySn0vAFOsPPgTAF0eDQAsV76NWy"], ["remember_token", "Urn5QhJByALfDUdQ-QsHMA"], ["created_at", "2015-10-31 15:10:40.236695"], ["updated_at", "2015-10-31 15:10:40.236695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-31 15:10:40.247398"], ["updated_at", "2015-10-31 15:10:40.247398"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]] Processing by ArticlesController#update as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"2"}, "id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "dlxoXciUbMVn1wxl69zfCw"]] Unpermitted parameter: user Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.2ms)  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$zXV0kM4BDIjdXBukHj5b3eSKQc3wwzcyGaAXNJEE2RhFAyH4Nkew."], ["remember_token", "zJXLB2u1kUPYiGtmZYUCHg"], ["created_at", "2015-10-31 15:11:21.368110"], ["updated_at", "2015-10-31 15:11:21.368110"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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$KIJBEjESiuhkfu8.Vc2VxuW4KBLqSeYl9zd/Uabd1KOFPPCpmrYPK"], ["remember_token", "yaI-XS_pSG0a7MP2Vy3GwQ"], ["created_at", "2015-10-31 15:11:21.395397"], ["updated_at", "2015-10-31 15:11:21.395397"]]  (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", "2015-10-31 15:11:21.403467"], ["updated_at", "2015-10-31 15:11:21.403467"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]] Processing by ArticlesController#update as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"2"}, "id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "zJXLB2u1kUPYiGtmZYUCHg"]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: user  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/articles/1 Completed 302 Found in 4ms (ActiveRecord: 0.3ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$P9Dd8hYnOPA./ovxc4bjJusu0q8qufb1OI2eez1GnmbJr.kl8a7ke"], ["remember_token", "HBwNZ-xBd5sTAoOgSthUcg"], ["created_at", "2015-10-31 15:12:34.901353"], ["updated_at", "2015-10-31 15:12:34.901353"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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$xkeAYeVeVYDJcHthKa8lbuZR5GnTTWNMALwfQqwECXjwQsXLwjcBS"], ["remember_token", "Fm4hXR1n25S_2hcHkd-oRQ"], ["created_at", "2015-10-31 15:12:34.932673"], ["updated_at", "2015-10-31 15:12:34.932673"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#create as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "HBwNZ-xBd5sTAoOgSthUcg"]] Unpermitted parameter: user  (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", 1], ["created_at", "2015-10-31 15:12:34.961461"], ["updated_at", "2015-10-31 15:12:34.961461"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/articles/1 Completed 302 Found in 26ms (ActiveRecord: 1.7ms)  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$OhWdgZH403fB16Rj462EyOCczAMsYKPjFxTrLlLLk2BzDPG3gC0PC"], ["remember_token", "Ug_DzBvTZLGmj8YyQCBL-A"], ["created_at", "2015-10-31 15:15:08.385637"], ["updated_at", "2015-10-31 15:15:08.385637"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#create as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"1"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 35ms (ActiveRecord: 0.1ms)  (3.0ms) rollback transaction ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (0.1ms) SAVEPOINT active_record_1 SQL (2.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$BSO0u1Z27W1SWJcieUsKC..TCV7q3ive92SfD0xT5nEKHgcrjhCnS"], ["remember_token", "Lh0CWl5ZIBg3Yw6sAfYtqw"], ["created_at", "2015-10-31 15:15:16.113142"], ["updated_at", "2015-10-31 15:15:16.113142"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "articles" ("title", "content", "user_id", "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", "2015-10-31 15:15:16.129792"], ["updated_at", "2015-10-31 15:15:16.129792"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]] Processing by ArticlesController#update as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"1"}, "id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 21ms (ActiveRecord: 0.1ms)  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$0dEK/gJHvRnt7eCrScq5bunqJ80BGMIOaB0f6sp5E2h.oY6d.XdPm"], ["remember_token", "8DfD0i0IeIZ1pTaE8vdh7g"], ["created_at", "2015-10-31 15:16:19.211850"], ["updated_at", "2015-10-31 15:16:19.211850"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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$m3g15iK2x080FFo1mSDyPeStooFTCanM1iZS1NzJqL4idydbAntm."], ["remember_token", "fPg5zeaj67PhLIHhPL-qUA"], ["created_at", "2015-10-31 15:16:19.236104"], ["updated_at", "2015-10-31 15:16:19.236104"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#create as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "8DfD0i0IeIZ1pTaE8vdh7g"]] Unpermitted parameter: user  (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", 1], ["created_at", "2015-10-31 15:16:19.256759"], ["updated_at", "2015-10-31 15:16:19.256759"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/articles/1 Completed 302 Found in 18ms (ActiveRecord: 1.5ms)  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$AWdkAoJuTOQ/vQPpuejOCeZIHm/can144wmFGtLoTmBFL6hmOh1u."], ["remember_token", "w7ptNEgvHS4TsCtU7VKIvA"], ["created_at", "2015-10-31 15:17:01.541493"], ["updated_at", "2015-10-31 15:17:01.541493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (2.0ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$.PCF7N.gIWiEm.KA87MwdusnrjrWn2bTKnbg7txJGHdi.qRYTNTmu"], ["remember_token", "jSvMJ7KK96wyuAgJWH1abw"], ["created_at", "2015-10-31 15:17:16.883197"], ["updated_at", "2015-10-31 15:17:16.883197"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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$VSlFa/gjfcqiBwTVZX1iYO.NhUYSpfx2hiQTcNOg4RnC3kYP8noZS"], ["remember_token", "8Xp3K89HSLv8XI2Bj9Yffw"], ["created_at", "2015-10-31 15:17:16.919958"], ["updated_at", "2015-10-31 15:17:16.919958"]]  (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", "2015-10-31 15:17:16.934980"], ["updated_at", "2015-10-31 15:17:16.934980"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]] Processing by ArticlesController#update as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"2"}, "id"=>"1"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "jSvMJ7KK96wyuAgJWH1abw"]] Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: user  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/articles/1 Completed 302 Found in 5ms (ActiveRecord: 0.7ms)  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$MWDR/SrVcQNikrxSDC9zH.l34u9GTmfKX/onfRRDPp5PFP.aem9eO"], ["remember_token", "ZObHuKvAcPPpfFG1H8fzFQ"], ["created_at", "2015-10-31 15:17:53.872399"], ["updated_at", "2015-10-31 15:17:53.872399"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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$NvHUmUWz7ZmgXwBizeYhZOIaO21gQAo/Nc.Ubadzf6sTBj/nSm94q"], ["remember_token", "2ED1B4aqVGhuPm0TdvG74Q"], ["created_at", "2015-10-31 15:17:53.907445"], ["updated_at", "2015-10-31 15:17:53.907445"]]  (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", "2015-10-31 15:17:53.919519"], ["updated_at", "2015-10-31 15:17:53.919519"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]] Processing by ArticlesController#update as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"2"}, "id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "ZObHuKvAcPPpfFG1H8fzFQ"]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: user  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/articles/1 Completed 302 Found in 5ms (ActiveRecord: 0.4ms)  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$bB7lTCQPFuH2g6iT4Ldaw.i24n9AfOtSzYzGX1DapF4i9kmkr5RV6"], ["remember_token", "OJVBzFDMrjV5dBUV-TvCUw"], ["created_at", "2015-10-31 15:18:14.916476"], ["updated_at", "2015-10-31 15:18:14.916476"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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$GCo5jZ4ata4bn.wOGqz5Fe0lQRehp8RPz1Y6XvPvHJ7Pb4nOPFYN."], ["remember_token", "G7hQpP6YAv0W02w3ylifpQ"], ["created_at", "2015-10-31 15:18:14.944213"], ["updated_at", "2015-10-31 15:18:14.944213"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#create as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "OJVBzFDMrjV5dBUV-TvCUw"]] Unpermitted parameter: user  (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", 1], ["created_at", "2015-10-31 15:18:14.977048"], ["updated_at", "2015-10-31 15:18:14.977048"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/articles/1 Completed 302 Found in 28ms (ActiveRecord: 1.5ms)  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$1hXUDNOaKSI2ozPHmKPTSOHD7kfz72XehjPXBj2hhpcBWosduBVti"], ["remember_token", "X91dWPMr4a5LO4cEiOm_gg"], ["created_at", "2015-10-31 15:18:37.153209"], ["updated_at", "2015-10-31 15:18:37.153209"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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$KvoxNmrXpLDbs1Z6n9tFlOr8q4npbCatXzB6e9/TlC1NmH36hMmzy"], ["remember_token", "83ice_9sZdsBhlWjBozbbA"], ["created_at", "2015-10-31 15:18:37.185995"], ["updated_at", "2015-10-31 15:18:37.185995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#create as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "X91dWPMr4a5LO4cEiOm_gg"]] Unpermitted parameter: user  (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", 1], ["created_at", "2015-10-31 15:18:37.215159"], ["updated_at", "2015-10-31 15:18:37.215159"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/articles/1 Completed 302 Found in 25ms (ActiveRecord: 1.6ms)  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$w5IHipCOfUAw76Nw9oY3M.dcYU2hDrk4oqS38nIYmBEFGIP1rU98u"], ["remember_token", "Qd_1Q9rYcGNNfUYVUXoBrA"], ["created_at", "2015-10-31 15:19:29.373825"], ["updated_at", "2015-10-31 15:19:29.373825"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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$.61KJtxw6sW6BzMiT1WQqOqTvt0kdpYauf5VM06uCAs/EqGK4MSYu"], ["remember_token", "iYPN95LAWqGuBFCH1-IDvg"], ["created_at", "2015-10-31 15:19:29.421705"], ["updated_at", "2015-10-31 15:19:29.421705"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-10-31 15:19:29.433980"], ["updated_at", "2015-10-31 15:19:29.433980"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]] Processing by ArticlesController#update as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"2"}, "id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "Qd_1Q9rYcGNNfUYVUXoBrA"]] Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: user  (0.1ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/articles/1 Completed 302 Found in 7ms (ActiveRecord: 0.7ms)  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Token Load (0.9ms) 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 (3.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (2.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-31 16:07:32.378610"], ["updated_at", "2015-10-31 16:07:32.378610"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.8ms) 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", "2015-10-31 16:07:32.420623"], ["updated_at", "2015-10-31 16:07:32.420623"]]  (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", "2015-10-31 16:07:32.435103"], ["updated_at", "2015-10-31 16:07:32.435103"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:32.469968"], ["updated_at", "2015-10-31 16:07:32.469968"]] SQL (1.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", "2015-10-31 16:07:32.473867"], ["updated_at", "2015-10-31 16:07:32.473867"]] 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.9ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "exp_at", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "EGYms8HbRMwPJnGga-CLQg"], ["is_valid", "t"], ["exp_at", "2015-11-30"], ["adeia_permission_id", 1], ["created_at", "2015-10-31 16:07:32.495891"], ["updated_at", "2015-10-31 16:07:32.495891"]]  (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", "EGYms8HbRMwPJnGga-CLQg"]]  (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.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_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) 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  (0.2ms) 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", "2015-10-31 16:07:32.561704"], ["updated_at", "2015-10-31 16:07:32.561704"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:32.565949"], ["updated_at", "2015-10-31 16:07:32.565949"]]  (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", "read_right", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-31 16:07:32.572585"], ["updated_at", "2015-10-31 16:07:32.572585"]] 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", "2015-10-31 16:07:32.575000"], ["updated_at", "2015-10-31 16:07:32.575000"]] 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  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-31 16:07:32.585682"], ["updated_at", "2015-10-31 16:07:32.585682"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:32.588383"], ["updated_at", "2015-10-31 16:07:32.588383"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:32.592082"], ["updated_at", "2015-10-31 16:07:32.592082"]] 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", "2015-10-31 16:07:32.593783"], ["updated_at", "2015-10-31 16:07:32.593783"]] 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  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-31 16:07:32.604024"], ["updated_at", "2015-10-31 16:07:32.604024"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:32.606677"], ["updated_at", "2015-10-31 16:07:32.606677"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:32.609891"], ["updated_at", "2015-10-31 16:07:32.609891"]] 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", "2015-10-31 16:07:32.611801"], ["updated_at", "2015-10-31 16:07:32.611801"]] 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  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-31 16:07:32.621032"], ["updated_at", "2015-10-31 16:07:32.621032"]]  (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", "2015-10-31 16:07:32.623689"], ["updated_at", "2015-10-31 16:07:32.623689"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:32.627196"], ["updated_at", "2015-10-31 16:07:32.627196"]] 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", "2015-10-31 16:07:32.628888"], ["updated_at", "2015-10-31 16:07:32.628888"]] 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  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-31 16:07:32.638053"], ["updated_at", "2015-10-31 16:07:32.638053"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:32.640707"], ["updated_at", "2015-10-31 16:07:32.640707"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:32.644278"], ["updated_at", "2015-10-31 16:07:32.644278"]] 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", "2015-10-31 16:07:32.646050"], ["updated_at", "2015-10-31 16:07:32.646050"]] 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.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" = 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.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", "2015-10-31 16:07:32.661554"], ["updated_at", "2015-10-31 16:07:32.661554"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:32.664411"], ["updated_at", "2015-10-31 16:07:32.664411"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:32.668549"], ["updated_at", "2015-10-31 16:07:32.668549"]] 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", "2015-10-31 16:07:32.670063"], ["updated_at", "2015-10-31 16:07:32.670063"]] 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  (0.9ms) 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", "2015-10-31 16:07:32.687192"], ["updated_at", "2015-10-31 16:07:32.687192"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:32.689874"], ["updated_at", "2015-10-31 16:07:32.689874"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:32.693947"], ["updated_at", "2015-10-31 16:07:32.693947"]] 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", "2015-10-31 16:07:32.695735"], ["updated_at", "2015-10-31 16:07:32.695735"]] 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" = 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"."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.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" = 1008 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-31 16:07:32.708653"], ["updated_at", "2015-10-31 16:07:32.708653"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:32.711340"], ["updated_at", "2015-10-31 16:07:32.711340"]]  (0.0ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-31 16:07:32.715665"], ["updated_at", "2015-10-31 16:07:32.715665"]] 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", "2015-10-31 16:07:32.718313"], ["updated_at", "2015-10-31 16:07:32.718313"]] 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.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"."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.1ms) 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.9ms) 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", "2015-10-31 16:07:32.728712"], ["updated_at", "2015-10-31 16:07:32.728712"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:32.731279"], ["updated_at", "2015-10-31 16:07:32.731279"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:32.734640"], ["updated_at", "2015-10-31 16:07:32.734640"]] 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", "2015-10-31 16:07:32.736489"], ["updated_at", "2015-10-31 16:07:32.736489"]] 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  (0.9ms) 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", "2015-10-31 16:07:32.746904"], ["updated_at", "2015-10-31 16:07:32.746904"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:32.749710"], ["updated_at", "2015-10-31 16:07:32.749710"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:32.754015"], ["updated_at", "2015-10-31 16:07:32.754015"]] 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", "2015-10-31 16:07:32.755617"], ["updated_at", "2015-10-31 16:07:32.755617"]] 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 "adeia_tokens" ("token", "is_valid", "exp_at", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "4HVP7-HGJ5Tr_W7DmjhpfA"], ["is_valid", "t"], ["exp_at", "2015-11-30"], ["adeia_permission_id", 1], ["created_at", "2015-10-31 16:07:32.759392"], ["updated_at", "2015-10-31 16:07:32.759392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "4HVP7-HGJ5Tr_W7DmjhpfA"]]  (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_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"]]  (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.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_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (1.3ms) 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-31 16:07:32.771490"], ["updated_at", "2015-10-31 16:07:32.771490"]]  (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", "2015-10-31 16:07:32.775771"], ["updated_at", "2015-10-31 16:07:32.775771"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:32.779570"], ["updated_at", "2015-10-31 16:07:32.779570"]] 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", "2015-10-31 16:07:32.780989"], ["updated_at", "2015-10-31 16:07:32.780989"]] 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  (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", "2015-10-31 16:07:32.790816"], ["updated_at", "2015-10-31 16:07:32.790816"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:32.793448"], ["updated_at", "2015-10-31 16:07:32.793448"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:32.796979"], ["updated_at", "2015-10-31 16:07:32.796979"]] 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", "2015-10-31 16:07:32.798448"], ["updated_at", "2015-10-31 16:07:32.798448"]] 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  (0.9ms) 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", "2015-10-31 16:07:32.811960"], ["updated_at", "2015-10-31 16:07:32.811960"]]  (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", "2015-10-31 16:07:32.814674"], ["updated_at", "2015-10-31 16:07:32.814674"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:32.818392"], ["updated_at", "2015-10-31 16:07:32.818392"]] 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", "2015-10-31 16:07:32.820212"], ["updated_at", "2015-10-31 16:07:32.820212"]] 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  (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", "2015-10-31 16:07:32.830371"], ["updated_at", "2015-10-31 16:07:32.830371"]]  (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", "2015-10-31 16:07:32.833525"], ["updated_at", "2015-10-31 16:07:32.833525"]]  (0.0ms) 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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:32.838161"], ["updated_at", "2015-10-31 16:07:32.838161"]] 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", "2015-10-31 16:07:32.839916"], ["updated_at", "2015-10-31 16:07:32.839916"]] 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  (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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-31 16:07:32.848952"], ["updated_at", "2015-10-31 16:07:32.848952"]]  (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", "2015-10-31 16:07:32.852429"], ["updated_at", "2015-10-31 16:07:32.852429"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:32.856378"], ["updated_at", "2015-10-31 16:07:32.856378"]] 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", "2015-10-31 16:07:32.857762"], ["updated_at", "2015-10-31 16:07:32.857762"]] 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  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-31 16:07:32.867112"], ["updated_at", "2015-10-31 16:07:32.867112"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:32.871605"], ["updated_at", "2015-10-31 16:07:32.871605"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:32.877379"], ["updated_at", "2015-10-31 16:07:32.877379"]] 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", "2015-10-31 16:07:32.879329"], ["updated_at", "2015-10-31 16:07:32.879329"]] 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  (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.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-31 16:07:32.893785"], ["updated_at", "2015-10-31 16:07:32.893785"]]  (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", "2015-10-31 16:07:32.899193"], ["updated_at", "2015-10-31 16:07:32.899193"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-31 16:07:32.903999"], ["updated_at", "2015-10-31 16:07:32.903999"]]  (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", "2015-10-31 16:07:32.906857"], ["updated_at", "2015-10-31 16:07:32.906857"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:32.910652"], ["updated_at", "2015-10-31 16:07:32.910652"]] 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", "2015-10-31 16:07:32.912111"], ["updated_at", "2015-10-31 16:07:32.912111"]] 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  (1.1ms) 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$g./.NS5ccpBo3dBO5wMV2OFmgFR7dQUoCTWSJBCHmnXOTB8TeIuO2"], ["remember_token", "6wqPrMM4tX1U-4Dva4b0lQ"], ["created_at", "2015-10-31 16:07:32.929348"], ["updated_at", "2015-10-31 16:07:32.929348"]]  (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", "2015-10-31 16:07:32.933831"], ["updated_at", "2015-10-31 16:07:32.933831"]]  (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", "2015-10-31 16:07:32.937424"], ["updated_at", "2015-10-31 16:07:32.937424"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:32.941474"], ["updated_at", "2015-10-31 16:07:32.941474"]] 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", "2015-10-31 16:07:32.943473"], ["updated_at", "2015-10-31 16:07:32.943473"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "6wqPrMM4tX1U-4Dva4b0lQ"]] 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 20ms (Views: 13.6ms | ActiveRecord: 0.7ms)  (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$X6emuUn20UDGqe1ue8OtOe.mAQ9RRoGp3l2TBeVRE5ecv4rbyqwry"], ["remember_token", "nvNFs0wM4H-HO5z1MQKKCg"], ["created_at", "2015-10-31 16:07:32.981784"], ["updated_at", "2015-10-31 16:07:32.981784"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-31 16:07:32.985195"], ["updated_at", "2015-10-31 16:07:32.985195"]]  (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", "2015-10-31 16:07:32.988220"], ["updated_at", "2015-10-31 16:07:32.988220"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:32.991570"], ["updated_at", "2015-10-31 16:07:32.991570"]] 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", "2015-10-31 16:07:32.992847"], ["updated_at", "2015-10-31 16:07:32.992847"]] 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", "nvNFs0wM4H-HO5z1MQKKCg"]] 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.4ms)  (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$nFnycejRAIYqqAG1JyNIY.LNiGDHolhfhEAcMR1JVGqscThIToJmG"], ["remember_token", "4hLwmDbba-9fprqrzuEBnw"], ["created_at", "2015-10-31 16:07:33.006931"], ["updated_at", "2015-10-31 16:07:33.006931"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-31 16:07:33.011952"], ["updated_at", "2015-10-31 16:07:33.011952"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:33.017324"], ["updated_at", "2015-10-31 16:07:33.017324"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:33.022070"], ["updated_at", "2015-10-31 16:07:33.022070"]] 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", "2015-10-31 16:07:33.023918"], ["updated_at", "2015-10-31 16:07:33.023918"]] 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.2ms) 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$q9zhmw30myZLFBGPRuGvIuIGIzicPj0wB9hBTmASM/ZSQVMz55vDW"], ["remember_token", "kWYNFdDPVAxfl1XJRMKfhA"], ["created_at", "2015-10-31 16:07:33.040525"], ["updated_at", "2015-10-31 16:07:33.040525"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (2.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", 2], ["created_at", "2015-10-31 16:07:33.043067"], ["updated_at", "2015-10-31 16:07:33.043067"]]  (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", "2015-10-31 16:07:33.048130"], ["updated_at", "2015-10-31 16:07:33.048130"]]  (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", "2015-10-31 16:07:33.050114"], ["updated_at", "2015-10-31 16:07:33.050114"]]  (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.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", "2015-10-31 16:07:33.052493"], ["updated_at", "2015-10-31 16:07:33.052493"]]  (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", "2015-10-31 16:07:33.056106"], ["updated_at", "2015-10-31 16:07:33.056106"]]  (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", "4hLwmDbba-9fprqrzuEBnw"]] 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: 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$rAN.KEd1XaF66/cOj.pUgeNljbRROjRyIm168wITZLIpJmLxzmhsK"], ["remember_token", "uHlq7oJAow8OkMu-OG194A"], ["created_at", "2015-10-31 16:07:33.073180"], ["updated_at", "2015-10-31 16:07:33.073180"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-31 16:07:33.076442"], ["updated_at", "2015-10-31 16:07:33.076442"]]  (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", "2015-10-31 16:07:33.079200"], ["updated_at", "2015-10-31 16:07:33.079200"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:33.083646"], ["updated_at", "2015-10-31 16:07:33.083646"]] 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", "2015-10-31 16:07:33.085069"], ["updated_at", "2015-10-31 16:07:33.085069"]] 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 "articles" ("title", "content", "user_id", "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", "2015-10-31 16:07:33.090698"], ["updated_at", "2015-10-31 16:07:33.090698"]]  (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", "2015-10-31 16:07:33.093569"], ["updated_at", "2015-10-31 16:07:33.093569"]]  (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", "2015-10-31 16:07:33.095696"], ["updated_at", "2015-10-31 16:07:33.095696"]]  (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", "2015-10-31 16:07:33.097752"], ["updated_at", "2015-10-31 16:07:33.097752"]]  (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", "2015-10-31 16:07:33.099713"], ["updated_at", "2015-10-31 16:07:33.099713"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$dSe/4YEaDgrtqgtGwxPLou8Qtevs2fCyV/r7x404AQXRV8613ZrkS"], ["remember_token", "Vwps1wijMaO0jp8-7xEzVA"], ["created_at", "2015-10-31 16:07:33.103892"], ["updated_at", "2015-10-31 16:07:33.103892"]]  (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", "2015-10-31 16:07:33.106087"], ["updated_at", "2015-10-31 16:07:33.106087"]]  (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", "2015-10-31 16:07:33.109166"], ["updated_at", "2015-10-31 16:07:33.109166"]]  (0.0ms) 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", "2015-10-31 16:07:33.111221"], ["updated_at", "2015-10-31 16:07:33.111221"]]  (0.0ms) 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", "2015-10-31 16:07:33.113138"], ["updated_at", "2015-10-31 16:07:33.113138"]]  (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", "2015-10-31 16:07:33.115113"], ["updated_at", "2015-10-31 16:07:33.115113"]]  (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", "uHlq7oJAow8OkMu-OG194A"]] 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.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 8ms (Views: 1.3ms | ActiveRecord: 0.8ms) 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$xI.tDzw.LLKVzU2BOEHEyuydgr1yBbcwdXcQrkIMcFP54gTvuB7fW"], ["remember_token", "eQuyW_QdRm7Sth114k-qRg"], ["created_at", "2015-10-31 16:07:33.133420"], ["updated_at", "2015-10-31 16:07:33.133420"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-31 16:07:33.136959"], ["updated_at", "2015-10-31 16:07:33.136959"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:33.140237"], ["updated_at", "2015-10-31 16:07:33.140237"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:33.143578"], ["updated_at", "2015-10-31 16:07:33.143578"]] 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", "2015-10-31 16:07:33.144957"], ["updated_at", "2015-10-31 16:07:33.144957"]] 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", "2015-10-31 16:07:33.148745"], ["updated_at", "2015-10-31 16:07:33.148745"]]  (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", "2015-10-31 16:07:33.150741"], ["updated_at", "2015-10-31 16:07:33.150741"]]  (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", "2015-10-31 16:07:33.152610"], ["updated_at", "2015-10-31 16:07:33.152610"]]  (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", "2015-10-31 16:07:33.154211"], ["updated_at", "2015-10-31 16:07:33.154211"]]  (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", "2015-10-31 16:07:33.155902"], ["updated_at", "2015-10-31 16:07:33.155902"]]  (0.0ms) 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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$tOKEH0oc5FXHSmW.tejg2upIEHHSIuSs5ws.r1t2//aKLY4DJkApK"], ["remember_token", "ao1kG0wh73WHh03aiiWqEg"], ["created_at", "2015-10-31 16:07:33.159939"], ["updated_at", "2015-10-31 16:07:33.159939"]]  (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", "2015-10-31 16:07:33.161449"], ["updated_at", "2015-10-31 16:07:33.161449"]]  (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", "2015-10-31 16:07:33.163327"], ["updated_at", "2015-10-31 16:07:33.163327"]]  (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", "2015-10-31 16:07:33.165779"], ["updated_at", "2015-10-31 16:07:33.165779"]]  (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", "2015-10-31 16:07:33.168803"], ["updated_at", "2015-10-31 16:07:33.168803"]]  (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", "2015-10-31 16:07:33.170718"], ["updated_at", "2015-10-31 16:07:33.170718"]]  (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", "2015-10-31 16:07:33.172497"], ["updated_at", "2015-10-31 16:07:33.172497"]]  (0.0ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:33.178881"], ["updated_at", "2015-10-31 16:07:33.178881"]] 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", "2015-10-31 16:07:33.181409"], ["updated_at", "2015-10-31 16:07:33.181409"]] 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", "eQuyW_QdRm7Sth114k-qRg"]] 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 7ms (Views: 1.1ms | ActiveRecord: 0.6ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (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$3ag0KHLqz5nFHzI/gEQxMO3UEoYuVAHJT8Zs8gcp5lHkQ3g1OaOj2"], ["remember_token", "IpJG8jJajKkqKPhcACnPJQ"], ["created_at", "2015-10-31 16:07:33.203842"], ["updated_at", "2015-10-31 16:07:33.203842"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$g0G1q.M7teThKToZVOP.Ne82GHbMHFUBGWgbNlIwa0BNMGABwTz4K"], ["remember_token", "On1Bh3nlUnZAVH5YUKcNjQ"], ["created_at", "2015-10-31 16:07:33.210440"], ["updated_at", "2015-10-31 16:07:33.210440"]]  (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", "2015-10-31 16:07:33.212749"], ["updated_at", "2015-10-31 16:07:33.212749"]]  (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", "2015-10-31 16:07:33.214894"], ["updated_at", "2015-10-31 16:07:33.214894"]]  (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", "2015-10-31 16:07:33.217028"], ["updated_at", "2015-10-31 16:07:33.217028"]]  (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", "2015-10-31 16:07:33.219245"], ["updated_at", "2015-10-31 16:07:33.219245"]]  (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", "2015-10-31 16:07:33.221323"], ["updated_at", "2015-10-31 16:07:33.221323"]]  (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", "2015-10-31 16:07:33.223885"], ["updated_at", "2015-10-31 16:07:33.223885"]]  (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", "2015-10-31 16:07:33.226045"], ["updated_at", "2015-10-31 16:07:33.226045"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-31 16:07:33.228933"], ["updated_at", "2015-10-31 16:07:33.228933"]]  (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", "2015-10-31 16:07:33.231261"], ["updated_at", "2015-10-31 16:07:33.231261"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:33.235221"], ["updated_at", "2015-10-31 16:07:33.235221"]] 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", "2015-10-31 16:07:33.237724"], ["updated_at", "2015-10-31 16:07:33.237724"]] 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.0ms) 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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:33.251079"], ["updated_at", "2015-10-31 16:07:33.251079"]] 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", "2015-10-31 16:07:33.252757"], ["updated_at", "2015-10-31 16:07:33.252757"]] 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", "IpJG8jJajKkqKPhcACnPJQ"]] 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.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (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$iDpODA8RgZlizLU62iwUNetxvx6sy4s/KJL0B6/2C9YFvn0IPpen2"], ["remember_token", "6vCuu5bD88YJrTmfylYrpg"], ["created_at", "2015-10-31 16:07:33.268227"], ["updated_at", "2015-10-31 16:07:33.268227"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-31 16:07:33.272547"], ["updated_at", "2015-10-31 16:07:33.272547"]]  (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", "2015-10-31 16:07:33.276347"], ["updated_at", "2015-10-31 16:07:33.276347"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:33.279318"], ["updated_at", "2015-10-31 16:07:33.279318"]] 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", "2015-10-31 16:07:33.280571"], ["updated_at", "2015-10-31 16:07:33.280571"]] 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.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$jSrX3iY0/y6.ak0naY79MOIvgb3adgY/gt4fkgwDNGzpdYoK2ZO3G"], ["remember_token", "lxiPgRzXcMRtTXPICV8iDw"], ["created_at", "2015-10-31 16:07:33.286323"], ["updated_at", "2015-10-31 16:07:33.286323"]]  (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", "2015-10-31 16:07:33.287961"], ["updated_at", "2015-10-31 16:07:33.287961"]]  (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", "6vCuu5bD88YJrTmfylYrpg"]] 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 Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.3ms)  (1.3ms) rollback transaction  (0.2ms) 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$aPaxivuHTqQ1k6YkSmVybOfEAQVehJIk79pPoAOVNGCQjKD0kHz4K"], ["remember_token", "jeYXOlYjVm3Gmarkm4jTgA"], ["created_at", "2015-10-31 16:07:33.298795"], ["updated_at", "2015-10-31 16:07:33.298795"]]  (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", "2015-10-31 16:07:33.303055"], ["updated_at", "2015-10-31 16:07:33.303055"]]  (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", "2015-10-31 16:07:33.306462"], ["updated_at", "2015-10-31 16:07:33.306462"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:33.309569"], ["updated_at", "2015-10-31 16:07:33.309569"]] 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", "2015-10-31 16:07:33.310826"], ["updated_at", "2015-10-31 16:07:33.310826"]] 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.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$/jpHCXxpCVTQeOWJCzesbOIKwpEvqGX4hTgSRKliVK2YWjAC0OW46"], ["remember_token", "J5OzQxT7xhsw59Zqq4yXGg"], ["created_at", "2015-10-31 16:07:33.316607"], ["updated_at", "2015-10-31 16:07:33.316607"]]  (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", "2015-10-31 16:07:33.318454"], ["updated_at", "2015-10-31 16:07:33.318454"]]  (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 1 [["remember_token", "jeYXOlYjVm3Gmarkm4jTgA"]] 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 Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.2ms)  (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$OF0KN8P57Fr0AMkCWxRcMu.8vchXP91c.yZmV1NW/LvpcpYOxvmvu"], ["remember_token", "3i8QcLW6MoXb-M_Ho8o5Qg"], ["created_at", "2015-10-31 16:07:33.329027"], ["updated_at", "2015-10-31 16:07:33.329027"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-31 16:07:33.331992"], ["updated_at", "2015-10-31 16:07:33.331992"]]  (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", "2015-10-31 16:07:33.334926"], ["updated_at", "2015-10-31 16:07:33.334926"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:33.341229"], ["updated_at", "2015-10-31 16:07:33.341229"]] 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", "2015-10-31 16:07:33.344455"], ["updated_at", "2015-10-31 16:07:33.344455"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "3i8QcLW6MoXb-M_Ho8o5Qg"]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.2ms)  (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$gT75mCDYa.mcZ2j52lu5VuGtN4IpT4KJ6MgU1sOLN4ncbdm7.6vw6"], ["remember_token", "q-vMnSG3898pGR_HrcEAHA"], ["created_at", "2015-10-31 16:07:33.357663"], ["updated_at", "2015-10-31 16:07:33.357663"]]  (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", "2015-10-31 16:07:33.361063"], ["updated_at", "2015-10-31 16:07:33.361063"]]  (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", "2015-10-31 16:07:33.364675"], ["updated_at", "2015-10-31 16:07:33.364675"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:33.367826"], ["updated_at", "2015-10-31 16:07:33.367826"]] 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", "2015-10-31 16:07:33.369436"], ["updated_at", "2015-10-31 16:07:33.369436"]] 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.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$0rWz/8dvYCQN3DEa0UvFSupl4ghIlMn3Hl.noBeT//jSGDH74pgNu"], ["remember_token", "IbMtvFbQCxXNz9yJohCSNQ"], ["created_at", "2015-10-31 16:07:33.375561"], ["updated_at", "2015-10-31 16:07:33.375561"]]  (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", "2015-10-31 16:07:33.377159"], ["updated_at", "2015-10-31 16:07:33.377159"]]  (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", "q-vMnSG3898pGR_HrcEAHA"]] 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 Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.2ms)  (1.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$JIXPHjXZksiTRY40I71DKuKjbbL6lgix7QTv6jjhHNFVmUKfW8WAS"], ["remember_token", "A1F_U_F9tC24lGlBjiplrA"], ["created_at", "2015-10-31 16:07:33.389756"], ["updated_at", "2015-10-31 16:07:33.389756"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-31 16:07:33.395780"], ["updated_at", "2015-10-31 16:07:33.395780"]]  (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", "2015-10-31 16:07:33.399693"], ["updated_at", "2015-10-31 16:07:33.399693"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:33.403792"], ["updated_at", "2015-10-31 16:07:33.403792"]] 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", "2015-10-31 16:07:33.405536"], ["updated_at", "2015-10-31 16:07:33.405536"]] 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.1ms) 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$dw69laJVyV9jZJeNP5I5EeQTKTzbWJPrJjVe.6YShJxEW/jtVXW5."], ["remember_token", "fGWwbbH7x6o5EFvVcJcIyg"], ["created_at", "2015-10-31 16:07:33.412199"], ["updated_at", "2015-10-31 16:07:33.412199"]]  (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", "2015-10-31 16:07:33.413914"], ["updated_at", "2015-10-31 16:07:33.413914"]]  (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", "A1F_U_F9tC24lGlBjiplrA"]] 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 Completed 500 Internal Server Error in 3ms (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$j0XnyEnSNdI2elyDAEnGte7ovE7czfnbFWPPWP0Sj3CalYD5sKhw."], ["remember_token", "LgStq8MPdDfsGa8jmYGLdA"], ["created_at", "2015-10-31 16:07:33.424103"], ["updated_at", "2015-10-31 16:07:33.424103"]]  (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$Ujtb19jMy3vvUHcuQCwXpOrNF5xMl8SYuLBj4fpG/HLLxZ9/25i5S"], ["remember_token", "SKWQCzw_utou9I9qHXJcVw"], ["created_at", "2015-10-31 16:07:33.430285"], ["updated_at", "2015-10-31 16:07:33.430285"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#create as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"2"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "LgStq8MPdDfsGa8jmYGLdA"]] Unpermitted parameter: user  (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", "2015-10-31 16:07:33.434924"], ["updated_at", "2015-10-31 16:07:33.434924"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/articles/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms)  (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$ny.2oLnSmaMEmI42ofUE1eC4hD82YIYuNy3zrcrkA5gUw1pv5H9Ea"], ["remember_token", "1f3DpuejNY2-Cb_VEYpS4A"], ["created_at", "2015-10-31 16:07:33.443018"], ["updated_at", "2015-10-31 16:07:33.443018"]]  (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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$yPySEcMyoswLXnBVA9nFZurS5aEbdf5cRFCAAz/XH56Q/Um0Of/C2"], ["remember_token", "YArXeCHt5EzlPGRnuJEaWA"], ["created_at", "2015-10-31 16:07:33.447458"], ["updated_at", "2015-10-31 16:07:33.447458"]]  (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", "2015-10-31 16:07:33.449196"], ["updated_at", "2015-10-31 16:07:33.449196"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]] Processing by ArticlesController#update as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"2"}, "id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "1f3DpuejNY2-Cb_VEYpS4A"]] Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: user  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/articles/1 Completed 302 Found in 2ms (ActiveRecord: 0.2ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction User Load (0.1ms) 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$F4wZeLkw.9TKL6qpDhSP/eDgDPjgomwB6WQHTMUg9HWwmr7ivEz0u"], ["remember_token", "_B4diYg44Ocj8dfY6FtqeA"], ["created_at", "2015-10-31 16:07:33.461048"], ["updated_at", "2015-10-31 16:07:33.461048"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#create as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"1"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction 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$1EeXXOJgw9JTpkbSrgK83eRfk4HN9hE3XatDdOCLnTb6aA.ti1ru2"], ["remember_token", "fz8YyWvNLU6J_443ZZngRw"], ["created_at", "2015-10-31 16:07:33.484718"], ["updated_at", "2015-10-31 16:07:33.484718"]]  (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", "2015-10-31 16:07:33.487034"], ["updated_at", "2015-10-31 16:07:33.487034"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]] Processing by ArticlesController#update as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"1"}, "id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.2ms)  (1.4ms) 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", "2015-10-31 16:07:33.498365"], ["updated_at", "2015-10-31 16:07:33.498365"]]  (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", "2015-10-31 16:07:33.500557"], ["updated_at", "2015-10-31 16:07:33.500557"]]  (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", "2015-10-31 16:07:33.503133"], ["updated_at", "2015-10-31 16:07:33.503133"]]  (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 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", "2015-10-31 16:07:33.509860"], ["updated_at", "2015-10-31 16:07:33.509860"]]  (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", "2015-10-31 16:07:33.513007"], ["updated_at", "2015-10-31 16:07:33.513007"]]  (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 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", "2015-10-31 16:07:33.522852"], ["updated_at", "2015-10-31 16:07:33.522852"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:33.526130"], ["updated_at", "2015-10-31 16:07:33.526130"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-31 16:07:33.533047"], ["updated_at", "2015-10-31 16:07:33.533047"]]  (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", "2015-10-31 16:07:33.535182"], ["updated_at", "2015-10-31 16:07:33.535182"]]  (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", "2015-10-31 16:07:33.538395"], ["updated_at", "2015-10-31 16:07:33.538395"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-31 16:07:33.545737"], ["updated_at", "2015-10-31 16:07:33.545737"]]  (0.0ms) 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", "2015-10-31 16:07:33.547788"], ["updated_at", "2015-10-31 16:07:33.547788"]]  (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", "2015-10-31 16:07:33.550371"], ["updated_at", "2015-10-31 16:07:33.550371"]]  (0.1ms) 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", "2015-10-31 16:07:33.557343"], ["updated_at", "2015-10-31 16:07:33.557343"]]  (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", "2015-10-31 16:07:33.559685"], ["updated_at", "2015-10-31 16:07:33.559685"]]  (0.1ms) RELEASE SAVEPOINT active_record_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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.9ms) 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", "2015-10-31 16:07:54.280699"], ["updated_at", "2015-10-31 16:07:54.280699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-31 16:07:54.316773"], ["updated_at", "2015-10-31 16:07:54.316773"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-31 16:07:54.331520"], ["updated_at", "2015-10-31 16:07:54.331520"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:54.358970"], ["updated_at", "2015-10-31 16:07:54.358970"]] 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", "2015-10-31 16:07:54.361856"], ["updated_at", "2015-10-31 16:07:54.361856"]] 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", "ugYKVzc0CJfLtk6ISljgdw"], ["is_valid", "t"], ["exp_at", "2015-11-30"], ["adeia_permission_id", 1], ["created_at", "2015-10-31 16:07:54.379937"], ["updated_at", "2015-10-31 16:07:54.379937"]]  (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", "ugYKVzc0CJfLtk6ISljgdw"]]  (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"."id" = ? AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_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"."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.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_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.1ms) 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.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" = 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"."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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-31 16:07:54.416752"], ["updated_at", "2015-10-31 16:07:54.416752"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:54.419696"], ["updated_at", "2015-10-31 16:07:54.419696"]]  (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", "create_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"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "t"], ["created_at", "2015-10-31 16:07:54.423486"], ["updated_at", "2015-10-31 16:07:54.423486"]] 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", "2015-10-31 16:07:54.424847"], ["updated_at", "2015-10-31 16:07:54.424847"]] 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 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" = 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"]]  (0.9ms) 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", "2015-10-31 16:07:54.437084"], ["updated_at", "2015-10-31 16:07:54.437084"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:54.439782"], ["updated_at", "2015-10-31 16:07:54.439782"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:54.444406"], ["updated_at", "2015-10-31 16:07:54.444406"]] 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", "2015-10-31 16:07:54.446811"], ["updated_at", "2015-10-31 16:07:54.446811"]] 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" = 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"."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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-31 16:07:54.457961"], ["updated_at", "2015-10-31 16:07:54.457961"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:54.460661"], ["updated_at", "2015-10-31 16:07:54.460661"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:54.463942"], ["updated_at", "2015-10-31 16:07:54.463942"]] 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", "2015-10-31 16:07:54.465777"], ["updated_at", "2015-10-31 16:07:54.465777"]] 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-31 16:07:54.477286"], ["updated_at", "2015-10-31 16:07:54.477286"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:54.480813"], ["updated_at", "2015-10-31 16:07:54.480813"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1005], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:54.486127"], ["updated_at", "2015-10-31 16:07:54.486127"]] 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", "2015-10-31 16:07:54.487546"], ["updated_at", "2015-10-31 16:07:54.487546"]] 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.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" = 1005 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", "2015-10-31 16:07:54.498884"], ["updated_at", "2015-10-31 16:07:54.498884"]]  (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", "2015-10-31 16:07:54.503002"], ["updated_at", "2015-10-31 16:07:54.503002"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1006], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:54.508291"], ["updated_at", "2015-10-31 16:07:54.508291"]] 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", "2015-10-31 16:07:54.509972"], ["updated_at", "2015-10-31 16:07:54.509972"]] 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.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", "2015-10-31 16:07:54.520916"], ["updated_at", "2015-10-31 16:07:54.520916"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:54.523710"], ["updated_at", "2015-10-31 16:07:54.523710"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1007], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:54.527946"], ["updated_at", "2015-10-31 16:07:54.527946"]] 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", "2015-10-31 16:07:54.529704"], ["updated_at", "2015-10-31 16:07:54.529704"]] 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" = 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"."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.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" = 1007 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", "2015-10-31 16:07:54.541149"], ["updated_at", "2015-10-31 16:07:54.541149"]]  (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", "2015-10-31 16:07:54.544140"], ["updated_at", "2015-10-31 16:07:54.544140"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1008], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:54.547839"], ["updated_at", "2015-10-31 16:07:54.547839"]] 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", "2015-10-31 16:07:54.549461"], ["updated_at", "2015-10-31 16:07:54.549461"]] 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" = 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"."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.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" = 1008 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-31 16:07:54.560647"], ["updated_at", "2015-10-31 16:07:54.560647"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:54.563245"], ["updated_at", "2015-10-31 16:07:54.563245"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1009], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "t"], ["created_at", "2015-10-31 16:07:54.573818"], ["updated_at", "2015-10-31 16:07:54.573818"]] 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", "2015-10-31 16:07:54.575340"], ["updated_at", "2015-10-31 16:07:54.575340"]] 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" = 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"."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"]]  (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", "2015-10-31 16:07:54.587049"], ["updated_at", "2015-10-31 16:07:54.587049"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:54.590115"], ["updated_at", "2015-10-31 16:07:54.590115"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1010], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:54.593754"], ["updated_at", "2015-10-31 16:07:54.593754"]] 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", "2015-10-31 16:07:54.595133"], ["updated_at", "2015-10-31 16:07:54.595133"]] 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" = 1010  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."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 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", "2015-10-31 16:07:54.606178"], ["updated_at", "2015-10-31 16:07:54.606178"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:54.608752"], ["updated_at", "2015-10-31 16:07:54.608752"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1011], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:54.612615"], ["updated_at", "2015-10-31 16:07:54.612615"]] 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", "2015-10-31 16:07:54.614255"], ["updated_at", "2015-10-31 16:07:54.614255"]] 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", "Vg-kunKfhdjujA_IDMv4Rg"], ["is_valid", "t"], ["exp_at", "2015-11-30"], ["adeia_permission_id", 1], ["created_at", "2015-10-31 16:07:54.618577"], ["updated_at", "2015-10-31 16:07:54.618577"]]  (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", "Vg-kunKfhdjujA_IDMv4Rg"]]  (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.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"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-31 16:07:54.630336"], ["updated_at", "2015-10-31 16:07:54.630336"]]  (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", "2015-10-31 16:07:54.633987"], ["updated_at", "2015-10-31 16:07:54.633987"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1012], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:54.638174"], ["updated_at", "2015-10-31 16:07:54.638174"]] 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", "2015-10-31 16:07:54.639602"], ["updated_at", "2015-10-31 16:07:54.639602"]] 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" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1012 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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", "2015-10-31 16:07:54.650518"], ["updated_at", "2015-10-31 16:07:54.650518"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:54.653103"], ["updated_at", "2015-10-31 16:07:54.653103"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1013], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:54.657571"], ["updated_at", "2015-10-31 16:07:54.657571"]] 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", "2015-10-31 16:07:54.659086"], ["updated_at", "2015-10-31 16:07:54.659086"]] 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" = 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"."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.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" = 1013 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-31 16:07:54.674403"], ["updated_at", "2015-10-31 16:07:54.674403"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:54.677108"], ["updated_at", "2015-10-31 16:07:54.677108"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1016], ["owner_type", "User"], ["permission_type", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:54.680735"], ["updated_at", "2015-10-31 16:07:54.680735"]] 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", "2015-10-31 16:07:54.683044"], ["updated_at", "2015-10-31 16:07:54.683044"]] 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" = 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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-10-31 16:07:54.695183"], ["updated_at", "2015-10-31 16:07:54.695183"]]  (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", "2015-10-31 16:07:54.698513"], ["updated_at", "2015-10-31 16:07:54.698513"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:54.702294"], ["updated_at", "2015-10-31 16:07:54.702294"]] 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", "2015-10-31 16:07:54.703830"], ["updated_at", "2015-10-31 16:07:54.703830"]] 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" = 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.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" = 1018 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) 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", "2015-10-31 16:07:54.717835"], ["updated_at", "2015-10-31 16:07:54.717835"]]  (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", "2015-10-31 16:07:54.722615"], ["updated_at", "2015-10-31 16:07:54.722615"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:54.726913"], ["updated_at", "2015-10-31 16:07:54.726913"]] 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", "2015-10-31 16:07:54.730044"], ["updated_at", "2015-10-31 16:07:54.730044"]] 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" = 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"."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.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" = 1020 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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", "2015-10-31 16:07:54.745220"], ["updated_at", "2015-10-31 16:07:54.745220"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:54.748157"], ["updated_at", "2015-10-31 16:07:54.748157"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:54.752426"], ["updated_at", "2015-10-31 16:07:54.752426"]] 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", "2015-10-31 16:07:54.753940"], ["updated_at", "2015-10-31 16:07:54.753940"]] 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.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" = 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", "2015-10-31 16:07:54.768937"], ["updated_at", "2015-10-31 16:07:54.768937"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", "2015-10-31 16:07:54.774424"], ["updated_at", "2015-10-31 16:07:54.774424"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-31 16:07:54.779361"], ["updated_at", "2015-10-31 16:07:54.779361"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:54.782370"], ["updated_at", "2015-10-31 16:07:54.782370"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:54.786347"], ["updated_at", "2015-10-31 16:07:54.786347"]] 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", "2015-10-31 16:07:54.788067"], ["updated_at", "2015-10-31 16:07:54.788067"]] 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" = 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"."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  (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$gx4SIWQn80Wn9CWEAnjl3u93QJoBIPi/QEVPplg73bkV55PhJbAcS"], ["remember_token", "XCtp2OGJXlngQmGG8sScuA"], ["created_at", "2015-10-31 16:07:54.807506"], ["updated_at", "2015-10-31 16:07:54.807506"]]  (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", "2015-10-31 16:07:54.811716"], ["updated_at", "2015-10-31 16:07:54.811716"]]  (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", "2015-10-31 16:07:54.814417"], ["updated_at", "2015-10-31 16:07:54.814417"]]  (0.1ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:54.817691"], ["updated_at", "2015-10-31 16:07:54.817691"]] 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", "2015-10-31 16:07:54.818993"], ["updated_at", "2015-10-31 16:07:54.818993"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "XCtp2OGJXlngQmGG8sScuA"]] 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 (6.5ms) 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 33ms (Views: 20.1ms | ActiveRecord: 7.2ms)  (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$dJ/UXKB96g6fvMzLJEmlyOwmDHo5op9DgMbk6lLgHbTdigZCRHfGG"], ["remember_token", "dZuEADt6zcu_ZBgUt9bzcg"], ["created_at", "2015-10-31 16:07:54.865056"], ["updated_at", "2015-10-31 16:07:54.865056"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-31 16:07:54.868761"], ["updated_at", "2015-10-31 16:07:54.868761"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:54.871771"], ["updated_at", "2015-10-31 16:07:54.871771"]]  (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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:54.874895"], ["updated_at", "2015-10-31 16:07:54.874895"]] 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", "2015-10-31 16:07:54.876109"], ["updated_at", "2015-10-31 16:07:54.876109"]] 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 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "dZuEADt6zcu_ZBgUt9bzcg"]] 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" = 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 9ms (Views: 1.3ms | ActiveRecord: 0.8ms)  (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$RNe8WBoCvBYabdce.8WnyuHJSXuHe0rOIR4NxbIbuT6avxtepduMa"], ["remember_token", "8KQD3RBZeOsWI_n1K5XLzg"], ["created_at", "2015-10-31 16:07:54.895601"], ["updated_at", "2015-10-31 16:07:54.895601"]]  (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", "2015-10-31 16:07:54.900103"], ["updated_at", "2015-10-31 16:07:54.900103"]]  (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", "2015-10-31 16:07:54.903483"], ["updated_at", "2015-10-31 16:07:54.903483"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:54.906957"], ["updated_at", "2015-10-31 16:07:54.906957"]] 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", "2015-10-31 16:07:54.908244"], ["updated_at", "2015-10-31 16:07:54.908244"]] 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.2ms) 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$zzk0nrbn/cK9wMJcElPkLe2H2wusMun/IhvO9cfUlbamoU3d4ZFfq"], ["remember_token", "CN8Gtxs_aizbrvDHQ3vpQA"], ["created_at", "2015-10-31 16:07:54.920672"], ["updated_at", "2015-10-31 16:07:54.920672"]]  (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", "2015-10-31 16:07:54.924675"], ["updated_at", "2015-10-31 16:07:54.924675"]]  (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.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", "2015-10-31 16:07:54.928919"], ["updated_at", "2015-10-31 16:07:54.928919"]]  (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", "2015-10-31 16:07:54.931469"], ["updated_at", "2015-10-31 16:07:54.931469"]]  (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", "2015-10-31 16:07:54.933578"], ["updated_at", "2015-10-31 16:07:54.933578"]]  (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", "2015-10-31 16:07:54.935518"], ["updated_at", "2015-10-31 16:07:54.935518"]]  (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", "8KQD3RBZeOsWI_n1K5XLzg"]] 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"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (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$T5DPuwjvou5ifkMAXMoaX.pf0GbsUny.b5LaqeiiUWhf7XpN5Fbu."], ["remember_token", "5xf-ZP2EdDyNRpRB3HoKUQ"], ["created_at", "2015-10-31 16:07:54.950714"], ["updated_at", "2015-10-31 16:07:54.950714"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-31 16:07:54.954142"], ["updated_at", "2015-10-31 16:07:54.954142"]]  (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", "2015-10-31 16:07:54.957875"], ["updated_at", "2015-10-31 16:07:54.957875"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:54.961181"], ["updated_at", "2015-10-31 16:07:54.961181"]] 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", "2015-10-31 16:07:54.962504"], ["updated_at", "2015-10-31 16:07:54.962504"]] 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", "2015-10-31 16:07:54.965721"], ["updated_at", "2015-10-31 16:07:54.965721"]]  (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", "2015-10-31 16:07:54.967465"], ["updated_at", "2015-10-31 16:07:54.967465"]]  (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", "2015-10-31 16:07:54.969088"], ["updated_at", "2015-10-31 16:07:54.969088"]]  (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", "2015-10-31 16:07:54.970662"], ["updated_at", "2015-10-31 16:07:54.970662"]]  (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", "2015-10-31 16:07:54.972385"], ["updated_at", "2015-10-31 16:07:54.972385"]]  (0.2ms) 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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$yjExcdIvd1IzsYv00uuPeuyS.lhf0bYyr0swgPJ/wUlorjHUy0j2."], ["remember_token", "3jctXRtduyR7nk3wI1ee9Q"], ["created_at", "2015-10-31 16:07:54.979121"], ["updated_at", "2015-10-31 16:07:54.979121"]]  (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", "2015-10-31 16:07:54.981032"], ["updated_at", "2015-10-31 16:07:54.981032"]]  (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", "2015-10-31 16:07:54.984309"], ["updated_at", "2015-10-31 16:07:54.984309"]]  (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", "2015-10-31 16:07:54.986306"], ["updated_at", "2015-10-31 16:07:54.986306"]]  (0.0ms) 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", "2015-10-31 16:07:54.988235"], ["updated_at", "2015-10-31 16:07:54.988235"]]  (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", "2015-10-31 16:07:54.990183"], ["updated_at", "2015-10-31 16:07:54.990183"]]  (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", "5xf-ZP2EdDyNRpRB3HoKUQ"]] 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" = 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (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$CJ1mw/tuwcFsBObSYoxpauxVAXoN1FpPDhSdxsnyCZIY0Fqgrsldy"], ["remember_token", "buGFjdQTbPKLJMnFh2Iatw"], ["created_at", "2015-10-31 16:07:55.004156"], ["updated_at", "2015-10-31 16:07:55.004156"]]  (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", "2015-10-31 16:07:55.008313"], ["updated_at", "2015-10-31 16:07:55.008313"]]  (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", "2015-10-31 16:07:55.011650"], ["updated_at", "2015-10-31 16:07:55.011650"]]  (0.0ms) 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", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 1], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:55.016788"], ["updated_at", "2015-10-31 16:07:55.016788"]] 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", "2015-10-31 16:07:55.019662"], ["updated_at", "2015-10-31 16:07:55.019662"]] 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.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", "2015-10-31 16:07:55.024056"], ["updated_at", "2015-10-31 16:07:55.024056"]]  (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", "2015-10-31 16:07:55.025849"], ["updated_at", "2015-10-31 16:07:55.025849"]]  (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", "2015-10-31 16:07:55.027463"], ["updated_at", "2015-10-31 16:07:55.027463"]]  (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", "2015-10-31 16:07:55.029110"], ["updated_at", "2015-10-31 16:07:55.029110"]]  (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", "2015-10-31 16:07:55.030966"], ["updated_at", "2015-10-31 16:07:55.030966"]]  (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$PiWok/M0J1Yf/THrLZd/IeiR6EC5ZXIXjds3ZzJv101pia3KJUkhq"], ["remember_token", "uR0YqTNb6fLIYJYn0YWiUg"], ["created_at", "2015-10-31 16:07:55.035183"], ["updated_at", "2015-10-31 16:07:55.035183"]]  (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", "2015-10-31 16:07:55.037506"], ["updated_at", "2015-10-31 16:07:55.037506"]]  (0.0ms) 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", "2015-10-31 16:07:55.039592"], ["updated_at", "2015-10-31 16:07:55.039592"]]  (0.0ms) 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", "2015-10-31 16:07:55.041399"], ["updated_at", "2015-10-31 16:07:55.041399"]]  (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", "2015-10-31 16:07:55.043163"], ["updated_at", "2015-10-31 16:07:55.043163"]]  (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", "2015-10-31 16:07:55.045162"], ["updated_at", "2015-10-31 16:07:55.045162"]]  (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", "2015-10-31 16:07:55.046971"], ["updated_at", "2015-10-31 16:07:55.046971"]]  (0.0ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:55.055044"], ["updated_at", "2015-10-31 16:07:55.055044"]] 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", "2015-10-31 16:07:55.056879"], ["updated_at", "2015-10-31 16:07:55.056879"]] 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", "buGFjdQTbPKLJMnFh2Iatw"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.6ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (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$YS2Cad8beZN1Wl83r4a6CeonwD6rFPsqNEPrQ433akUt.DZEU74eK"], ["remember_token", "5MksPsopHEWrZdSP6nDKYA"], ["created_at", "2015-10-31 16:07:55.072480"], ["updated_at", "2015-10-31 16:07:55.072480"]]  (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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$HZoABahMm1CFflme5bnqf.o40LQwF5HDpemHApGndtVAB07/ugG36"], ["remember_token", "nu92wRJ-PmOaEf0nhJtigA"], ["created_at", "2015-10-31 16:07:55.077193"], ["updated_at", "2015-10-31 16:07:55.077193"]]  (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", "2015-10-31 16:07:55.079794"], ["updated_at", "2015-10-31 16:07:55.079794"]]  (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", "2015-10-31 16:07:55.082326"], ["updated_at", "2015-10-31 16:07:55.082326"]]  (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", "2015-10-31 16:07:55.084789"], ["updated_at", "2015-10-31 16:07:55.084789"]]  (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", "2015-10-31 16:07:55.086761"], ["updated_at", "2015-10-31 16:07:55.086761"]]  (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", "2015-10-31 16:07:55.090352"], ["updated_at", "2015-10-31 16:07:55.090352"]]  (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", "2015-10-31 16:07:55.093603"], ["updated_at", "2015-10-31 16:07:55.093603"]]  (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", "2015-10-31 16:07:55.096484"], ["updated_at", "2015-10-31 16:07:55.096484"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-31 16:07:55.100057"], ["updated_at", "2015-10-31 16:07:55.100057"]]  (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", "2015-10-31 16:07:55.103064"], ["updated_at", "2015-10-31 16:07:55.103064"]]  (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", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:55.107677"], ["updated_at", "2015-10-31 16:07:55.107677"]] 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", "2015-10-31 16:07:55.109185"], ["updated_at", "2015-10-31 16:07:55.109185"]] 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 (6.1ms) INSERT INTO "adeia_permissions" ("adeia_element_id", "owner_id", "owner_type", "permission_type", "resource_id", "read_right", "create_right", "update_right", "destroy_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"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:55.116206"], ["updated_at", "2015-10-31 16:07:55.116206"]] 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", "2015-10-31 16:07:55.123802"], ["updated_at", "2015-10-31 16:07:55.123802"]] 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", "5MksPsopHEWrZdSP6nDKYA"]] 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" = 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 7ms (Views: 1.0ms | ActiveRecord: 0.6ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (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$d/Kk/3NNkm2UpyKSTcN/E.bitN7WF9DOYiYLJAu6klHpdPATQV1jm"], ["remember_token", "pU2zyKCRBfXdH9uDVeViEA"], ["created_at", "2015-10-31 16:07:55.140680"], ["updated_at", "2015-10-31 16:07:55.140680"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-31 16:07:55.143648"], ["updated_at", "2015-10-31 16:07:55.143648"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:55.146175"], ["updated_at", "2015-10-31 16:07:55.146175"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:55.149832"], ["updated_at", "2015-10-31 16:07:55.149832"]] 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", "2015-10-31 16:07:55.151192"], ["updated_at", "2015-10-31 16:07:55.151192"]] 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.1ms) 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$QoPkzL43zPPj2HilBkb20.7dDqh7WQ6aI1AHdT9vVslFB0l8o6/0C"], ["remember_token", "cEq0jOEHIYHHdyJaaZW7-Q"], ["created_at", "2015-10-31 16:07:55.157101"], ["updated_at", "2015-10-31 16:07:55.157101"]]  (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", "2015-10-31 16:07:55.158933"], ["updated_at", "2015-10-31 16:07:55.158933"]]  (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 1 [["remember_token", "pU2zyKCRBfXdH9uDVeViEA"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 7ms (Views: 3.2ms | 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$eTvw8PszcPEsGdG3PU62w.yDL3VtnHFGrwo1CaCSiJr14XNWThUI."], ["remember_token", "j1Lk5RpPjfbboSQXoZ_Qig"], ["created_at", "2015-10-31 16:07:55.175038"], ["updated_at", "2015-10-31 16:07:55.175038"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-10-31 16:07:55.178102"], ["updated_at", "2015-10-31 16:07:55.178102"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:55.181423"], ["updated_at", "2015-10-31 16:07:55.181423"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["create_right", "f"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:55.185036"], ["updated_at", "2015-10-31 16:07:55.185036"]] 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", "2015-10-31 16:07:55.186670"], ["updated_at", "2015-10-31 16:07:55.186670"]] 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.0ms) 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$ejZs16ggQnEgnFiOyUIyYOekDKroHmsadV6q13M9gKU5f/tgjbkVy"], ["remember_token", "n-fDtvK7dzH8f8o-U8_F9w"], ["created_at", "2015-10-31 16:07:55.192614"], ["updated_at", "2015-10-31 16:07:55.192614"]]  (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", "2015-10-31 16:07:55.194622"], ["updated_at", "2015-10-31 16:07:55.194622"]]  (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 1 [["remember_token", "j1Lk5RpPjfbboSQXoZ_Qig"]] 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"."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"]] Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 6ms (Views: 1.2ms | 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$vv.ms7G.8jqcyOZFdeiQme0DY8k/ICjmVxdJ1.6Mq.HyYsNHUW.tm"], ["remember_token", "J6xpmVzTX02k_asu4LmD-A"], ["created_at", "2015-10-31 16:07:55.210176"], ["updated_at", "2015-10-31 16:07:55.210176"]]  (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", "2015-10-31 16:07:55.214493"], ["updated_at", "2015-10-31 16:07:55.214493"]]  (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", "2015-10-31 16:07:55.217808"], ["updated_at", "2015-10-31 16:07:55.217808"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "t"], ["update_right", "f"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:55.221947"], ["updated_at", "2015-10-31 16:07:55.221947"]] 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", "2015-10-31 16:07:55.223447"], ["updated_at", "2015-10-31 16:07:55.223447"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "J6xpmVzTX02k_asu4LmD-A"]] 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 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.3ms) Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.4ms)  (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$kWLAn1L9LBQdqOTeGwdeJuszZ9j.hWCNiyYGf8jDWrgmZmwuvrMvu"], ["remember_token", "ShDC4AON-dFV08c637jCRg"], ["created_at", "2015-10-31 16:07:55.239071"], ["updated_at", "2015-10-31 16:07:55.239071"]]  (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", "2015-10-31 16:07:55.242799"], ["updated_at", "2015-10-31 16:07:55.242799"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:55.245840"], ["updated_at", "2015-10-31 16:07:55.245840"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:55.249027"], ["updated_at", "2015-10-31 16:07:55.249027"]] 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", "2015-10-31 16:07:55.250615"], ["updated_at", "2015-10-31 16:07:55.250615"]] 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.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$ucr/0M1r5rWIs9ongcrDQOuRg/52UoMAJ7orSguGy3IL.OxTBT8p2"], ["remember_token", "WV6GRCAjror6eVLEt44Ztg"], ["created_at", "2015-10-31 16:07:55.257527"], ["updated_at", "2015-10-31 16:07:55.257527"]]  (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", "2015-10-31 16:07:55.259299"], ["updated_at", "2015-10-31 16:07:55.259299"]]  (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", "ShDC4AON-dFV08c637jCRg"]] 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.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.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.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" = 1 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] Rendered articles/edit.html.erb within layouts/application (0.4ms) Completed 200 OK in 11ms (Views: 4.2ms | ActiveRecord: 1.0ms)  (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$f2IIYwk9me0sTzFLq5rhs.T8Ri7sfIC6qXXP5ofgzNSxuCUbOfdRW"], ["remember_token", "6f9b56qtTAivV_OMpGhwng"], ["created_at", "2015-10-31 16:07:55.279126"], ["updated_at", "2015-10-31 16:07:55.279126"]]  (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", "2015-10-31 16:07:55.282989"], ["updated_at", "2015-10-31 16:07:55.282989"]]  (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", "2015-10-31 16:07:55.286976"], ["updated_at", "2015-10-31 16:07:55.286976"]]  (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", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "User"], ["permission_type", 0], ["read_right", "f"], ["create_right", "f"], ["update_right", "t"], ["destroy_right", "f"], ["created_at", "2015-10-31 16:07:55.290606"], ["updated_at", "2015-10-31 16:07:55.290606"]] 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", "2015-10-31 16:07:55.291974"], ["updated_at", "2015-10-31 16:07:55.291974"]] 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.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$n3w5/1ruvYttnaXD8en8MecykDCwMPmajlqz3hrywGwSi4rlj3GQO"], ["remember_token", "_HBEQn-v2P-sCU2zsa3spQ"], ["created_at", "2015-10-31 16:07:55.297327"], ["updated_at", "2015-10-31 16:07:55.297327"]]  (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", "2015-10-31 16:07:55.298884"], ["updated_at", "2015-10-31 16:07:55.298884"]]  (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", "6f9b56qtTAivV_OMpGhwng"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (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$1yojUvtauW12TzBzvCHQHOCHTn48Ord1j.QYhslqX4UDudfRE/iXG"], ["remember_token", "PFMJL60W-ucKhW6OMrRDYA"], ["created_at", "2015-10-31 16:07:55.312120"], ["updated_at", "2015-10-31 16:07:55.312120"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$ZjZnA.kSBjwy2DW9FHv96eDXSMbclvZhgg8lsHV3MWkHh758dLzeK"], ["remember_token", "YvsqXIbF8422YbjYWmLZAA"], ["created_at", "2015-10-31 16:07:55.317038"], ["updated_at", "2015-10-31 16:07:55.317038"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#create as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"2"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "PFMJL60W-ucKhW6OMrRDYA"]] Unpermitted parameter: user  (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", "2015-10-31 16:07:55.322459"], ["updated_at", "2015-10-31 16:07:55.322459"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/articles/1 Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (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$SizQrPRJFlZ1H8sryP8wIOLntnXtahqo1hoTwjkaPAx.ayD49sM/."], ["remember_token", "QY0UTV7MLAZxtpy6zFU8nQ"], ["created_at", "2015-10-31 16:07:55.329366"], ["updated_at", "2015-10-31 16:07:55.329366"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$RZk1KoK3DhpsVbtAJyErxu3ymEcPA/OACqLnEX0SHnC.aX6lbPalW"], ["remember_token", "QdvgWyfwbgAGib1WV7pZug"], ["created_at", "2015-10-31 16:07:55.334275"], ["updated_at", "2015-10-31 16:07:55.334275"]]  (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", "2015-10-31 16:07:55.336508"], ["updated_at", "2015-10-31 16:07:55.336508"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]] Processing by ArticlesController#update as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"2"}, "id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "QY0UTV7MLAZxtpy6zFU8nQ"]] Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: user  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/articles/1 Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction 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$8T5o28b927yJa4tW8i3qpugRnwBVYKwPL/aajfUkWxq1373eIZdCq"], ["remember_token", "fxzpK3C2l15X2g7Oakx6OA"], ["created_at", "2015-10-31 16:07:55.349647"], ["updated_at", "2015-10-31 16:07:55.349647"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#create as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"1"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction User Load (0.1ms) 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$I8rMgWtjh9kpEKUezmZ62OaWFhtThll1oNa2Tjie89iOu5IIYIQvq"], ["remember_token", "HHnfiZv3wi2oHR9245khQw"], ["created_at", "2015-10-31 16:07:55.376233"], ["updated_at", "2015-10-31 16:07:55.376233"]]  (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", "2015-10-31 16:07:55.378187"], ["updated_at", "2015-10-31 16:07:55.378187"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]] Processing by ArticlesController#update as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"1"}, "id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)  (0.7ms) 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", "2015-10-31 16:07:55.387217"], ["updated_at", "2015-10-31 16:07:55.387217"]]  (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", "2015-10-31 16:07:55.389666"], ["updated_at", "2015-10-31 16:07:55.389666"]]  (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", "2015-10-31 16:07:55.392351"], ["updated_at", "2015-10-31 16:07:55.392351"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-31 16:07:55.399259"], ["updated_at", "2015-10-31 16:07:55.399259"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:55.401766"], ["updated_at", "2015-10-31 16:07:55.401766"]]  (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 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-31 16:07:55.409573"], ["updated_at", "2015-10-31 16:07:55.409573"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:55.412354"], ["updated_at", "2015-10-31 16:07:55.412354"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-31 16:07:55.426164"], ["updated_at", "2015-10-31 16:07:55.426164"]]  (0.0ms) 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", "2015-10-31 16:07:55.428410"], ["updated_at", "2015-10-31 16:07:55.428410"]]  (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", "2015-10-31 16:07:55.431391"], ["updated_at", "2015-10-31 16:07:55.431391"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-10-31 16:07:55.438806"], ["updated_at", "2015-10-31 16:07:55.438806"]]  (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", "2015-10-31 16:07:55.441177"], ["updated_at", "2015-10-31 16:07:55.441177"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 16:07:55.443924"], ["updated_at", "2015-10-31 16:07:55.443924"]]  (0.3ms) 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 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", "2015-10-31 16:07:55.452772"], ["updated_at", "2015-10-31 16:07:55.452772"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-10-31 16:07:55.455966"], ["updated_at", "2015-10-31 16:07:55.455966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.2ms) select sqlite_version(*)  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateAdeiaElements (20151003144041)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "adeia_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144041"]]  (1.1ms) commit transaction Migrating to CreateAdeiaPermissions (20151003144208)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "adeia_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "owner_type" varchar, "adeia_element_id" integer, "permission_type" integer, "read_right" boolean DEFAULT 'f', "create_right" boolean DEFAULT 'f', "update_right" boolean DEFAULT 'f', "destroy_right" boolean DEFAULT 'f', "resource_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE INDEX "index_adeia_permissions_on_owner_type_and_owner_id" ON "adeia_permissions" ("owner_type", "owner_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_permissions_on_owner_type_and_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_owner_type_and_owner_id' AND type='index'  (0.1ms) CREATE INDEX "index_adeia_permissions_on_adeia_element_id" ON "adeia_permissions" ("adeia_element_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144208"]]  (1.1ms) commit transaction Migrating to CreateAdeiaGroups (20151003144650)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "adeia_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144650"]]  (0.8ms) commit transaction Migrating to CreateAdeiaGroupUsers (20151003144706)  (0.2ms) begin transaction  (1.2ms) CREATE TABLE "adeia_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "adeia_group_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE INDEX "index_adeia_group_users_on_adeia_group_id" ON "adeia_group_users" ("adeia_group_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_group_users_on_adeia_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_group_users_on_adeia_group_id' AND type='index'   (0.2ms) CREATE INDEX "index_adeia_group_users_on_user_id" ON "adeia_group_users" ("user_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003144706"]]  (1.0ms) commit transaction Migrating to CreateAdeiaTokens (20151003150524)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "adeia_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar, "is_valid" boolean, "adeia_permission_id" integer, "exp_at" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE INDEX "index_adeia_tokens_on_adeia_permission_id" ON "adeia_tokens" ("adeia_permission_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003150524"]]  (1.1ms) commit transaction Migrating to CreateAdeiaActions (20151003150747)  (0.2ms) begin transaction  (0.6ms) CREATE TABLE "adeia_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003150747"]]  (0.7ms) commit transaction Migrating to CreateAdeiaActionPermissions (20151003150806)  (0.1ms) begin transaction  (0.4ms) 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.2ms) CREATE INDEX "index_adeia_action_permissions_on_adeia_action_id" ON "adeia_action_permissions" ("adeia_action_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_adeia_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_adeia_action_id' AND type='index'   (0.1ms) CREATE INDEX "index_adeia_action_permissions_on_adeia_permission_id" ON "adeia_action_permissions" ("adeia_permission_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151003150806"]]  (1.0ms) commit transaction Migrating to CreateUsers (20151012185720)  (0.3ms) begin transaction  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "password_digest" varchar, "remember_token" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151012185720"]]  (1.1ms) commit transaction Migrating to CreateArticles (20151012185726)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_articles_on_user_id" ON "articles" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151012185726"]]  (1.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) 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.3ms) 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.4ms)  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_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.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.4ms) 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.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$5gL6lorQlZzy6dbb/kpmKeQlam8V4ixTDOY4OMuGwSOBtEF2U65Vy"], ["remember_token", "KGreS1BeEGgnrKTiPZ46Ag"], ["created_at", "2015-10-31 22:36:15.891389"], ["updated_at", "2015-10-31 22:36:15.891389"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$4LU0Cv.AOTvAyVAdnd9nSOaOL7LW2K4aAWIu4fh.Rpb5U8fLWWtiq"], ["remember_token", "Fk8mPf9QeS4V46vQBF8Ajw"], ["created_at", "2015-10-31 22:36:55.723849"], ["updated_at", "2015-10-31 22:36:55.723849"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.8ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 22:36:55.756827"], ["updated_at", "2015-10-31 22:36:55.756827"]]  (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", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["created_at", "2015-10-31 22:36:55.788626"], ["updated_at", "2015-10-31 22:36:55.788626"]] Adeia::Action Load (0.8ms) 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 ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) begin transaction  (0.8ms) 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$X.MP3ZX8jXctp8AtQh2h5ugdR4eTQTi8HJLz55aZ5hjqSKp0KzyTW"], ["remember_token", "ONdjpHF15l66acGyy4QHlQ"], ["created_at", "2015-10-31 22:37:25.352888"], ["updated_at", "2015-10-31 22:37:25.352888"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.6ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 22:37:25.407337"], ["updated_at", "2015-10-31 22:37:25.407337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["created_at", "2015-10-31 22:37:25.447654"], ["updated_at", "2015-10-31 22:37:25.447654"]] Adeia::Action Load (0.6ms) 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.7ms) rollback transaction ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.2ms) 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$5FNYnviGJv74eeG8hcC/mujrDsSftW96kPoyAAhZoDMfXPYnmpDAG"], ["remember_token", "mMzWwXvL9ygL43TN-0Si8g"], ["created_at", "2015-10-31 22:37:42.987947"], ["updated_at", "2015-10-31 22:37:42.987947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 22:37:43.048559"], ["updated_at", "2015-10-31 22:37:43.048559"]]  (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", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["created_at", "2015-10-31 22:37:43.081303"], ["updated_at", "2015-10-31 22:37:43.081303"]] Adeia::Action Load (0.6ms) 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 ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$c6ot3kmyyOF5GHbFvAe2..rgUmsnlznV4rzCKoqncQ3Y98Kco8wU2"], ["remember_token", "XuYoYG7IDDYkkwPrerhblg"], ["created_at", "2015-10-31 22:37:55.722671"], ["updated_at", "2015-10-31 22:37:55.722671"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 22:37:55.748304"], ["updated_at", "2015-10-31 22:37:55.748304"]]  (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", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["created_at", "2015-10-31 22:37:55.776275"], ["updated_at", "2015-10-31 22:37:55.776275"]] Adeia::Action Load (0.7ms) 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 ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$iPMGcp6pod1MIykF1RXjxOhq76kvGx.12tIafivsQ.3IRWGwQ2x.."], ["remember_token", "dcihf5GMBG7VU14u8x11Sg"], ["created_at", "2015-10-31 22:40:35.157828"], ["updated_at", "2015-10-31 22:40:35.157828"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 22:40:35.194006"], ["updated_at", "2015-10-31 22:40:35.194006"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 22:40:35.213790"], ["updated_at", "2015-10-31 22:40:35.213790"]]  (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", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["resource_id", 1], ["created_at", "2015-10-31 22:40:35.311315"], ["updated_at", "2015-10-31 22:40:35.311315"]] 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", "2015-10-31 22:40:35.315398"], ["updated_at", "2015-10-31 22:40:35.315398"]] 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  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$ClfykK31nTfDfRRSGP4qHewCEgeNeaqx7Kwe8VOI2IsF2UQRH1l.K"], ["remember_token", "TFs_xO0dIs1b4J08XBBLOA"], ["created_at", "2015-10-31 22:40:59.296795"], ["updated_at", "2015-10-31 22:40:59.296795"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (1.0ms) 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", "2015-10-31 22:40:59.326820"], ["updated_at", "2015-10-31 22:40:59.326820"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 22:40:59.342552"], ["updated_at", "2015-10-31 22:40:59.342552"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (1.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", "t"], ["resource_id", 1], ["created_at", "2015-10-31 22:40:59.412044"], ["updated_at", "2015-10-31 22:40:59.412044"]] 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", "2015-10-31 22:40:59.415599"], ["updated_at", "2015-10-31 22:40:59.415599"]] 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.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$O2e4t2Aah3ZjoAemiL4XTOBYzw9Si2fdxWyhp9JBZhO6gzC7LqJ/6"], ["remember_token", "usKVQ8wlysVndEaJJKUQFQ"], ["created_at", "2015-10-31 22:44:31.577047"], ["updated_at", "2015-10-31 22:44:31.577047"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 22:44:31.602783"], ["updated_at", "2015-10-31 22:44:31.602783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["created_at", "2015-10-31 22:44:31.633646"], ["updated_at", "2015-10-31 22:44:31.633646"]] Adeia::Action Load (0.7ms) 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 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]] Adeia::Permission Load (0.2ms) 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 [["permission_type", 0]]  (1.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$KyMzIoecfS/3pPKA88FPbOo1UGZoNfpWz7ZtfS2yb/4c.mJLMcQ6e"], ["remember_token", "nIosURPyBYB4jEgUVG2rFQ"], ["created_at", "2015-10-31 22:45:03.137436"], ["updated_at", "2015-10-31 22:45:03.137436"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.8ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 22:45:03.166522"], ["updated_at", "2015-10-31 22:45:03.166522"]]  (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", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["created_at", "2015-10-31 22:45:03.204154"], ["updated_at", "2015-10-31 22:45:03.204154"]] Adeia::Action Load (0.6ms) 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 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]] Adeia::Permission Load (0.2ms) 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 [["permission_type", 0]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$ZPPn.7PjfKEGfHsU0L51LukKCEVJZNK3dL1wNIoDwR1A.PePHDKxC"], ["remember_token", "_MTjidWpMLVfAATfVEOZYg"], ["created_at", "2015-10-31 22:46:34.074608"], ["updated_at", "2015-10-31 22:46:34.074608"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 22:46:34.118973"], ["updated_at", "2015-10-31 22:46:34.118973"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["created_at", "2015-10-31 22:46:34.145015"], ["updated_at", "2015-10-31 22:46:34.145015"]] Adeia::Action Load (0.7ms) 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 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]] Adeia::Permission Load (0.2ms) 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", 0]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$Su7qXHmwERS75F6Ys0K//uWbouxOUNKafcKqUpbJGt/1VN4.zDREC"], ["remember_token", "C20M-wMlDKLyElgu2V4R9Q"], ["created_at", "2015-10-31 22:47:21.280679"], ["updated_at", "2015-10-31 22:47:21.280679"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 22:47:21.307727"], ["updated_at", "2015-10-31 22:47:21.307727"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO 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.8ms) 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", 0]] Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["created_at", "2015-10-31 22:47:21.366664"], ["updated_at", "2015-10-31 22:47:21.366664"]] Adeia::Action Load (0.8ms) 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.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$gbMLbPT6CxHJj1pL3ppxue7tdlQHkrQW22Sih.5Dxdr80cQwlOhaa"], ["remember_token", "cFThPbzwkgoQIGhM8UD7hA"], ["created_at", "2015-10-31 22:48:52.386380"], ["updated_at", "2015-10-31 22:48:52.386380"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 22:48:52.411171"], ["updated_at", "2015-10-31 22:48:52.411171"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO 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 (1.5ms) 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", 0]] Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["created_at", "2015-10-31 22:48:52.470793"], ["updated_at", "2015-10-31 22:48:52.470793"]] Adeia::Action Load (0.8ms) 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 ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) 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$lwmtMck2/.ahtiEMzpz7HuqtLuwWWtVSOGy.iQ1TEI35QMIlF/2t."], ["remember_token", "ZGArNXyizIWe1LXQYSMg5A"], ["created_at", "2015-10-31 22:49:11.601692"], ["updated_at", "2015-10-31 22:49:11.601692"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 22:49:11.628623"], ["updated_at", "2015-10-31 22:49:11.628623"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$8dMsWlQmGUBEYrzVwC6UFuOMYdFxOpld4gbEF6ga9rplQqFCAu086"], ["remember_token", "lnqgaZbmqz9S_jl-ol7fNQ"], ["created_at", "2015-10-31 22:49:37.461396"], ["updated_at", "2015-10-31 22:49:37.461396"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 22:49:37.485861"], ["updated_at", "2015-10-31 22:49:37.485861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) 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", "2015-10-31 22:49:37.514667"], ["updated_at", "2015-10-31 22:49:37.514667"]] Adeia::Action Load (0.6ms) 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 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]] Adeia::Permission Load (0.2ms) 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", 0]] 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.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["created_at", "2015-10-31 22:49:37.561777"], ["updated_at", "2015-10-31 22:49:37.561777"]] 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", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) 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$qJJaZYhtHanyOiaRwva4pu5nKz8dYi5h5T35rKwlEBgFUBAwJbsB6"], ["remember_token", "vUMhIYuXbbTzej1Esh9wkw"], ["created_at", "2015-10-31 22:50:12.109026"], ["updated_at", "2015-10-31 22:50:12.109026"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 22:50:12.136021"], ["updated_at", "2015-10-31 22:50:12.136021"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", "t"], ["resource_id", 1], ["created_at", "2015-10-31 22:50:12.168228"], ["updated_at", "2015-10-31 22:50:12.168228"]] Adeia::Action Load (0.6ms) 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 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]] Adeia::Permission Load (0.3ms) 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", 0]] Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$.c50GD.3vVbFvVkIdGOrqOEKOjjxn5QW/OPU9LqwM1IIzEtonSyCW"], ["remember_token", "RHPt2oBdzp2V7yfSM0nUKQ"], ["created_at", "2015-10-31 22:50:54.188392"], ["updated_at", "2015-10-31 22:50:54.188392"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 22:50:54.213898"], ["updated_at", "2015-10-31 22:50:54.213898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", 1], ["read_right", "t"], ["created_at", "2015-10-31 22:50:54.247045"], ["updated_at", "2015-10-31 22:50:54.247045"]] Adeia::Action Load (0.8ms) 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 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]] Adeia::Permission Load (0.2ms) 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", 0]] Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$EpUq.iOvQ8570R0bp5jYEOsLeJTZfPVWKxiWRpyXc6KawomBCwIdG"], ["remember_token", "7exidi_gg_7J0LYGqz7sWg"], ["created_at", "2015-10-31 22:51:38.310727"], ["updated_at", "2015-10-31 22:51:38.310727"]]  (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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 22:51:38.334171"], ["updated_at", "2015-10-31 22:51:38.334171"]]  (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", "t"], ["created_at", "2015-10-31 22:51:38.359967"], ["updated_at", "2015-10-31 22:51:38.359967"]] 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 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]] Adeia::Permission Load (0.2ms) 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", 0]] Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$Fnir/HfviJoI5eOCOzSL0uB11s6AYBs9CBQoWPOp/zX3tcMmfbOkK"], ["remember_token", "yKcZ2ntMxCpEkEHSWM0xyQ"], ["created_at", "2015-10-31 22:55:48.965550"], ["updated_at", "2015-10-31 22:55:48.965550"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 22:55:48.991271"], ["updated_at", "2015-10-31 22:55:48.991271"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", "t"], ["created_at", "2015-10-31 22:55:49.021236"], ["updated_at", "2015-10-31 22:55:49.021236"]] Adeia::Action Load (0.7ms) 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 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]] Adeia::Permission Load (0.2ms) 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", 0]] Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$CtxWlyuOJwbqhqd9aBmPLOvBWutiBH2ZC/bb4QXqRXJAPTVShvQ7y"], ["remember_token", "mLiIOwzKh9Rf3652j5OQzw"], ["created_at", "2015-10-31 22:58:58.671158"], ["updated_at", "2015-10-31 22:58:58.671158"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 22:58:58.695762"], ["updated_at", "2015-10-31 22:58:58.695762"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", "t"], ["created_at", "2015-10-31 22:58:58.723869"], ["updated_at", "2015-10-31 22:58:58.723869"]] Adeia::Action Load (0.7ms) 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 Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]] Adeia::Permission Load (0.2ms) 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", 1]]  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$THj/X/MR/Yu5ETY8ntPyzOBED7n85BHoWqqr4Psl.7hKeh77K9Jwy"], ["remember_token", "l8BlDzwUoGHJR1P7ecp3gA"], ["created_at", "2015-10-31 22:59:38.726418"], ["updated_at", "2015-10-31 22:59:38.726418"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 22:59:38.753108"], ["updated_at", "2015-10-31 22:59:38.753108"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 22:59:38.765438"], ["updated_at", "2015-10-31 22:59:38.765438"]]  (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", "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", "2015-10-31 22:59:38.826753"], ["updated_at", "2015-10-31 22:59:38.826753"]] 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", "2015-10-31 22:59:38.830538"], ["updated_at", "2015-10-31 22:59:38.830538"]] 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.2ms) 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.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$GtVMFPnafGmv.zAOy5dF6.ICSMYldDp0dr9qmUyIkpKJoK2wuqW/S"], ["remember_token", "Ir8jJ16vNJPw-VqlOcMOLA"], ["created_at", "2015-10-31 23:01:47.695487"], ["updated_at", "2015-10-31 23:01:47.695487"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 23:01:47.720758"], ["updated_at", "2015-10-31 23:01:47.720758"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO 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$gjMCfMef8umftZfSAdIlhujt6OlMAPFinNdtMWYBZryd/8E8zChqG"], ["remember_token", "dGbxCLBPhqdf1DWMuh12-w"], ["created_at", "2015-10-31 23:01:47.824555"], ["updated_at", "2015-10-31 23:01:47.824555"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-31 23:01:47.831264"], ["updated_at", "2015-10-31 23:01:47.831264"]]  (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", "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", "2015-10-31 23:01:47.834254"], ["updated_at", "2015-10-31 23:01:47.834254"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", "t"], ["resource_id", 1], ["created_at", "2015-10-31 23:01:47.842543"], ["updated_at", "2015-10-31 23:01:47.842543"]] 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", "2015-10-31 23:01:47.845566"], ["updated_at", "2015-10-31 23:01:47.845566"]] 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.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$xQeYnshQuXTfmJeJTwK7Weaz12NaILQAVCpanevn4xI.6ly0ZicA2"], ["remember_token", "Cz8U0Cwjc2S3dw0XGNOfug"], ["created_at", "2015-10-31 23:01:47.865477"], ["updated_at", "2015-10-31 23:01:47.865477"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 23:01:47.868484"], ["updated_at", "2015-10-31 23:01:47.868484"]]  (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", "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", "2015-10-31 23:01:47.871169"], ["updated_at", "2015-10-31 23:01:47.871169"]]  (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", "t"], ["resource_id", 1], ["created_at", "2015-10-31 23:01:47.875255"], ["updated_at", "2015-10-31 23:01:47.875255"]] 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", "2015-10-31 23:01:47.876740"], ["updated_at", "2015-10-31 23:01:47.876740"]] 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.2ms) 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 (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$oRmQzszBcrfWsqjMlggBCuMrXATlGobWkorHNdjA2MdWRkQ6GFRYi"], ["remember_token", "TaTQK-Z8BBocdcnvggGPsQ"], ["created_at", "2015-10-31 23:01:58.501500"], ["updated_at", "2015-10-31 23:01:58.501500"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 23:01:58.527600"], ["updated_at", "2015-10-31 23:01:58.527600"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO 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$SXhij8pSYmz2fJl..h6hA.I2O0JrSQ9TREH7ovlBta/ku69wPKz0S"], ["remember_token", "6Gz5uXQas5J0_stxSt5Skg"], ["created_at", "2015-10-31 23:01:58.616615"], ["updated_at", "2015-10-31 23:01:58.616615"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-31 23:01:58.622766"], ["updated_at", "2015-10-31 23:01:58.622766"]]  (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", "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", "2015-10-31 23:01:58.625771"], ["updated_at", "2015-10-31 23:01:58.625771"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.6ms) 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", "2015-10-31 23:01:58.636441"], ["updated_at", "2015-10-31 23:01:58.636441"]] 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", "2015-10-31 23:01:58.640468"], ["updated_at", "2015-10-31 23:01:58.640468"]] 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.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$xk7hKHIwBrCzaV2benbWquzei7zdyoU/gDA8Joa/zFUMSbuLJHnzK"], ["remember_token", "0LYcL18DNMFPNI6WGT7B2A"], ["created_at", "2015-10-31 23:01:58.660627"], ["updated_at", "2015-10-31 23:01:58.660627"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 23:01:58.663228"], ["updated_at", "2015-10-31 23:01:58.663228"]]  (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", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 23:01:58.665413"], ["updated_at", "2015-10-31 23:01:58.665413"]]  (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", "2015-10-31 23:01:58.671723"], ["updated_at", "2015-10-31 23:01:58.671723"]] 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", "2015-10-31 23:01:58.673839"], ["updated_at", "2015-10-31 23:01:58.673839"]] 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.2ms) 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.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$DaxOBX8A1RzFlhhjdCpnXO6gMFMN1DIIAQ8PwY1igsfC2APk9yHxy"], ["remember_token", "IT144_VErTfEKjOBtEdwyw"], ["created_at", "2015-10-31 23:02:28.020426"], ["updated_at", "2015-10-31 23:02:28.020426"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-10-31 23:02:28.044448"], ["updated_at", "2015-10-31 23:02:28.044448"]]  (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", "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", "2015-10-31 23:02:28.071955"], ["updated_at", "2015-10-31 23:02:28.071955"]] Adeia::Action Load (0.8ms) 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.3ms) 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$.e/j84b8qIDgl6ZYeL6uneJgIhsXFlT0gw9CC7OLgb7hTgbjriuAi"], ["remember_token", "6KXT7N6E8Id8OCQe5ii3xg"], ["created_at", "2015-10-31 23:02:28.124953"], ["updated_at", "2015-10-31 23:02:28.124953"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-10-31 23:02:28.142239"], ["updated_at", "2015-10-31 23:02:28.142239"]]  (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", "2015-10-31 23:02:28.144655"], ["updated_at", "2015-10-31 23:02:28.144655"]]  (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", "t"], ["resource_id", 1], ["created_at", "2015-10-31 23:02:28.153166"], ["updated_at", "2015-10-31 23:02:28.153166"]] 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", "2015-10-31 23:02:28.155588"], ["updated_at", "2015-10-31 23:02:28.155588"]] 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  (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$SkXHkjHZVNDAMqkfPJmc6.RP2w5bA9O3ikCbIywRubGQ5s6gguK8m"], ["remember_token", "mJhpOqLAm_3-v7VM1_Tyfw"], ["created_at", "2015-10-31 23:02:28.165869"], ["updated_at", "2015-10-31 23:02:28.165869"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-10-31 23:02:28.168546"], ["updated_at", "2015-10-31 23:02:28.168546"]]  (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", "2015-10-31 23:02:28.170763"], ["updated_at", "2015-10-31 23:02:28.170763"]]  (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", "2015-10-31 23:02:28.175328"], ["updated_at", "2015-10-31 23:02:28.175328"]] 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", "2015-10-31 23:02:28.176841"], ["updated_at", "2015-10-31 23:02:28.176841"]] 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.2ms) 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]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$hIlheFK4JK13c/TwBE/neebRgnAwQiduGOY.W8pfDJ01Q39/3AQl6"], ["remember_token", "-Bxu3n5h3E-hTtJ1eLEWBQ"], ["created_at", "2015-11-01 15:51:07.475630"], ["updated_at", "2015-11-01 15:51:07.475630"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.8ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]]  (0.4ms) SAVEPOINT active_record_1 SQL (3.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-11-01 15:51:07.499856"], ["updated_at", "2015-11-01 15:51:07.499856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", "t"], ["created_at", "2015-11-01 15:51:07.534414"], ["updated_at", "2015-11-01 15:51:07.534414"]] Adeia::Action Load (0.7ms) 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.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$GuQT..kVAtaq01bYIrm4..Gy8HVM1Hpr6EPPS.CLvtiepwGb6JiRK"], ["remember_token", "VugQ5Wth9tPoAPs74_iXcg"], ["created_at", "2015-11-01 15:51:07.592621"], ["updated_at", "2015-11-01 15:51:07.592621"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-01 15:51:07.599122"], ["updated_at", "2015-11-01 15:51:07.599122"]]  (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", "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", "2015-11-01 15:51:07.602467"], ["updated_at", "2015-11-01 15:51:07.602467"]]  (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", "2015-11-01 15:51:07.612161"], ["updated_at", "2015-11-01 15:51:07.612161"]] 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", "2015-11-01 15:51:07.614087"], ["updated_at", "2015-11-01 15:51:07.614087"]] 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  (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$a/O3zJrlU3A2gAnnNtlt.OVuh8IaQ0lu6I7UZv15XgYTDgCKwfDZO"], ["remember_token", "zG0YaKIxhe_F7HPuhJciSw"], ["created_at", "2015-11-01 15:51:07.625291"], ["updated_at", "2015-11-01 15:51:07.625291"]]  (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", "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", "2015-11-01 15:51:07.640444"], ["updated_at", "2015-11-01 15:51:07.640444"]]  (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", "2015-11-01 15:51:07.642893"], ["updated_at", "2015-11-01 15:51:07.642893"]] 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.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$PRphb4/hw4yAL4AECgeP9ePxRTzTu2ikKELQ8p0LxvpIqXYV1GsAe"], ["remember_token", "qxXZksrow_ZNBnF7tJ7j6w"], ["created_at", "2015-11-01 15:51:07.651492"], ["updated_at", "2015-11-01 15:51:07.651492"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-01 15:51:07.654218"], ["updated_at", "2015-11-01 15:51:07.654218"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-11-01 15:51:07.656456"], ["updated_at", "2015-11-01 15:51:07.656456"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) 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", "2015-11-01 15:51:07.659961"], ["updated_at", "2015-11-01 15:51:07.659961"]] 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", "2015-11-01 15:51:07.661279"], ["updated_at", "2015-11-01 15:51:07.661279"]] 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.2ms) 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]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 23ms (ActiveRecord: 1.7ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 User Load (0.3ms) 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 Completed 500 Internal Server Error in 38ms (ActiveRecord: 2.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."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 37ms (Views: 10.0ms | ActiveRecord: 1.9ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Adeia::Token Load (0.5ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."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 40ms (Views: 9.4ms | ActiveRecord: 1.6ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."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 41ms (Views: 11.6ms | ActiveRecord: 1.8ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."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.5ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.1ms) Completed 200 OK in 49ms (Views: 21.5ms | ActiveRecord: 2.6ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."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 44ms (Views: 19.5ms | ActiveRecord: 1.8ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."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 43ms (Views: 8.9ms | ActiveRecord: 2.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."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 45ms (Views: 11.9ms | ActiveRecord: 1.9ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 Adeia::Token Load (0.5ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."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 40ms (Views: 10.8ms | ActiveRecord: 1.9ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."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 37ms (Views: 8.9ms | ActiveRecord: 2.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."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 43ms (Views: 9.9ms | ActiveRecord: 2.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Adeia::Token Load (0.8ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."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 44ms (Views: 11.5ms | ActiveRecord: 2.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."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 44ms (Views: 9.4ms | ActiveRecord: 1.9ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.9ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Adeia::Token Load (0.9ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."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 35ms (Views: 8.7ms | ActiveRecord: 2.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) 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.2ms) SELECT sql FROM sqlite_master WHERE name='index_adeia_action_permissions_on_adeia_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_action_permissions_on_adeia_action_id' AND type='index'  (0.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_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_permissions_on_owner_type_and_owner_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_permissions_on_owner_type_and_owner_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_adeia_tokens_on_adeia_permission_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_adeia_tokens_on_adeia_permission_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_articles_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_articles_on_user_id' AND type='index' ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Adeia::Token Load (0.5ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."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 29ms (Views: 11.1ms | ActiveRecord: 1.5ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."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 26ms (Views: 9.7ms | ActiveRecord: 2.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."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 26ms (Views: 8.9ms | ActiveRecord: 1.8ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Adeia::Token Load (0.8ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."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 35ms (Views: 8.7ms | ActiveRecord: 2.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."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 47ms (Views: 21.9ms | ActiveRecord: 2.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."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 36ms (Views: 7.9ms | ActiveRecord: 2.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."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.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 33ms (Views: 6.8ms | ActiveRecord: 1.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 6ms (ActiveRecord: 0.3ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 10ms (ActiveRecord: 1.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.6ms) 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 Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.9ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Rendered text template (0.0ms) Completed 200 OK in 17ms (Views: 8.3ms | ActiveRecord: 0.9ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Rendered text template (0.0ms) Completed 200 OK in 17ms (Views: 7.6ms | ActiveRecord: 0.9ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 17ms (ActiveRecord: 1.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 18ms (ActiveRecord: 1.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 24ms (Views: 7.6ms | ActiveRecord: 1.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 10ms (ActiveRecord: 1.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 18ms (ActiveRecord: 1.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 16ms (ActiveRecord: 1.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.6ms) 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 Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.9ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 18ms (ActiveRecord: 1.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 18ms (Views: 8.6ms | ActiveRecord: 1.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 10ms (ActiveRecord: 1.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.6ms) 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 Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.9ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.6ms) 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 Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.9ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (1.0ms) 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 Completed 500 Internal Server Error in 11ms (ActiveRecord: 1.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.6ms) 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 Rendered text template (0.0ms) Completed 200 OK in 23ms (Views: 7.5ms | ActiveRecord: 0.9ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 13ms (ActiveRecord: 1.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 19ms (ActiveRecord: 1.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 21ms (ActiveRecord: 0.9ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 13ms (ActiveRecord: 1.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 22ms (ActiveRecord: 1.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 14ms (ActiveRecord: 1.1ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.4ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.9ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 18ms (ActiveRecord: 1.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 29ms (Views: 12.6ms | ActiveRecord: 0.8ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.9ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Rendered text template (0.0ms) Completed 200 OK in 25ms (Views: 8.2ms | ActiveRecord: 1.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Rendered text template (0.0ms) Completed 200 OK in 17ms (Views: 7.6ms | ActiveRecord: 0.9ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Rendered text template (0.0ms) Completed 200 OK in 24ms (Views: 7.9ms | ActiveRecord: 0.9ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Rendered text template (0.1ms) Completed 200 OK in 18ms (Views: 8.4ms | ActiveRecord: 1.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (3.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 29ms (Views: 18.0ms | ActiveRecord: 3.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Rendered text template (0.0ms) Completed 200 OK in 17ms (Views: 8.2ms | ActiveRecord: 0.7ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 Rendered text template (0.0ms) Completed 200 OK in 26ms (Views: 16.8ms | ActiveRecord: 1.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."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 50ms (Views: 9.7ms | ActiveRecord: 1.8ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$27PgeWaHUaSIRFnY9HUDr.KHgxdmnSp22K5iDL44vfFq1GmZPjgPm"], ["remember_token", "RTkuYDRe6DWMv0fMC73AXA"], ["created_at", "2015-11-04 16:59:19.455981"], ["updated_at", "2015-11-04 16:59:19.455981"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 16:59:19.514598"], ["updated_at", "2015-11-04 16:59:19.514598"]]  (0.0ms) 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", "2015-11-04 16:59:19.535098"], ["updated_at", "2015-11-04 16:59:19.535098"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) 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", "2015-11-04 16:59:19.566374"], ["updated_at", "2015-11-04 16:59:19.566374"]] 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", "2015-11-04 16:59:19.569364"], ["updated_at", "2015-11-04 16:59:19.569364"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "RTkuYDRe6DWMv0fMC73AXA"]] Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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" = 'anonymous' [["read_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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'anonymous' [["read_right", "t"]] Completed 500 Internal Server Error in 41ms (ActiveRecord: 2.3ms)  (1.8ms) rollback transaction  (0.8ms) 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$GNhY73wLJjrM7xlGudMd../.bZaHez9zCXwLfbRhQdPUANtkCwsj6"], ["remember_token", "HuwZVsvcdQ7cIj3MZZG0pA"], ["created_at", "2015-11-04 16:59:19.632996"], ["updated_at", "2015-11-04 16:59:19.632996"]]  (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", "2015-11-04 16:59:19.645466"], ["updated_at", "2015-11-04 16:59:19.645466"]]  (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", "2015-11-04 16:59:19.650557"], ["updated_at", "2015-11-04 16:59:19.650557"]]  (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", "2015-11-04 16:59:19.656608"], ["updated_at", "2015-11-04 16:59:19.656608"]] 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", "2015-11-04 16:59:19.658390"], ["updated_at", "2015-11-04 16:59:19.658390"]] 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", "HuwZVsvcdQ7cIj3MZZG0pA"]] 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" = 'anonymous' [["read_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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'anonymous' [["read_right", "t"]] Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.6ms)  (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$u2oVSWZNukAHLco.rueb0OlFmOHWjHzfMspruol1oS7pYVSyvUaf2"], ["remember_token", "yqjbDOP_rRTvOwUp_dQ1ig"], ["created_at", "2015-11-04 16:59:19.676606"], ["updated_at", "2015-11-04 16:59:19.676606"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 16:59:19.691701"], ["updated_at", "2015-11-04 16:59:19.691701"]]  (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", "2015-11-04 16:59:19.695512"], ["updated_at", "2015-11-04 16:59:19.695512"]]  (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", "2015-11-04 16:59:19.700503"], ["updated_at", "2015-11-04 16:59:19.700503"]] 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", "2015-11-04 16:59:19.702197"], ["updated_at", "2015-11-04 16:59:19.702197"]] 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.2ms) 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$noljfTJIxywpJoEqAERkM.numrX5irc88cDDjp5wwtVrq896lN4PS"], ["remember_token", "3JB-0LesjeiHgmjPpagUrA"], ["created_at", "2015-11-04 16:59:19.723135"], ["updated_at", "2015-11-04 16:59:19.723135"]]  (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", 2], ["created_at", "2015-11-04 16:59:19.726609"], ["updated_at", "2015-11-04 16:59:19.726609"]]  (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", "2015-11-04 16:59:19.731727"], ["updated_at", "2015-11-04 16:59:19.731727"]]  (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", "2015-11-04 16:59:19.735030"], ["updated_at", "2015-11-04 16:59:19.735030"]]  (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", "2015-11-04 16:59:19.737561"], ["updated_at", "2015-11-04 16:59:19.737561"]]  (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", "2015-11-04 16:59:19.740439"], ["updated_at", "2015-11-04 16:59:19.740439"]]  (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", "yqjbDOP_rRTvOwUp_dQ1ig"]] 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" = 'anonymous' [["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" = 'anonymous' [["read_right", "t"]] Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.4ms)  (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$DrQ2NjdIgNzNGZG8cEvv.u66dyGwGJT0uBXwmglkW/RYeiQK6oIJe"], ["remember_token", "DACoBi5ngQmwu9XGOHm2uA"], ["created_at", "2015-11-04 16:59:19.758190"], ["updated_at", "2015-11-04 16:59:19.758190"]]  (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.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 16:59:19.769929"], ["updated_at", "2015-11-04 16:59:19.769929"]]  (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", "2015-11-04 16:59:19.775723"], ["updated_at", "2015-11-04 16:59:19.775723"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", "2015-11-04 16:59:19.779411"], ["updated_at", "2015-11-04 16:59:19.779411"]] 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", "2015-11-04 16:59:19.781845"], ["updated_at", "2015-11-04 16:59:19.781845"]] 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.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", "2015-11-04 16:59:19.786766"], ["updated_at", "2015-11-04 16:59:19.786766"]]  (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", "2015-11-04 16:59:19.789302"], ["updated_at", "2015-11-04 16:59:19.789302"]]  (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", "2015-11-04 16:59:19.791608"], ["updated_at", "2015-11-04 16:59:19.791608"]]  (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", "2015-11-04 16:59:19.793812"], ["updated_at", "2015-11-04 16:59:19.793812"]]  (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", "2015-11-04 16:59:19.796472"], ["updated_at", "2015-11-04 16:59:19.796472"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$lkGzCi9q3PT91aEeHxUpsu9jnlGAmk76dGnKBx1JxMb1dgAtvJbKm"], ["remember_token", "_ivZ0fTbQF57hBepDg_Saw"], ["created_at", "2015-11-04 16:59:19.801841"], ["updated_at", "2015-11-04 16:59:19.801841"]]  (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", "2015-11-04 16:59:19.803833"], ["updated_at", "2015-11-04 16:59:19.803833"]]  (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", "2015-11-04 16:59:19.806292"], ["updated_at", "2015-11-04 16:59:19.806292"]]  (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", "2015-11-04 16:59:19.808695"], ["updated_at", "2015-11-04 16:59:19.808695"]]  (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 "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-11-04 16:59:19.821298"], ["updated_at", "2015-11-04 16:59:19.821298"]]  (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", "2015-11-04 16:59:19.824826"], ["updated_at", "2015-11-04 16:59:19.824826"]]  (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", "DACoBi5ngQmwu9XGOHm2uA"]] 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" = 'anonymous' [["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" = 'anonymous' [["read_right", "t"]] Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.5ms)  (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$47yx.4F9yat.FZWJ4r602OaQ95ytiEsUNt.7zkiv4e1PyuLqwWnMS"], ["remember_token", "MGXGIdK6ZtCGyQ0aH2VWbw"], ["created_at", "2015-11-04 16:59:19.837621"], ["updated_at", "2015-11-04 16:59:19.837621"]]  (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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 16:59:19.848715"], ["updated_at", "2015-11-04 16:59:19.848715"]]  (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", "2015-11-04 16:59:19.852584"], ["updated_at", "2015-11-04 16:59:19.852584"]]  (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", "2015-11-04 16:59:19.856616"], ["updated_at", "2015-11-04 16:59:19.856616"]] 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", "2015-11-04 16:59:19.858279"], ["updated_at", "2015-11-04 16:59:19.858279"]] 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 "articles" ("title", "content", "user_id", "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", "2015-11-04 16:59:19.863490"], ["updated_at", "2015-11-04 16:59:19.863490"]]  (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", "2015-11-04 16:59:19.866418"], ["updated_at", "2015-11-04 16:59:19.866418"]]  (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", "2015-11-04 16:59:19.870282"], ["updated_at", "2015-11-04 16:59:19.870282"]]  (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", "2015-11-04 16:59:19.873698"], ["updated_at", "2015-11-04 16:59:19.873698"]]  (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", "2015-11-04 16:59:19.876981"], ["updated_at", "2015-11-04 16:59:19.876981"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$qvngzualKFj4P/3EyKMkkeeJ5u0BVEKC2jlP1PnVyFyLX3E6Z7XY."], ["remember_token", "PSD_UwinDnlwYZ7wgAf9Gg"], ["created_at", "2015-11-04 16:59:19.885216"], ["updated_at", "2015-11-04 16:59:19.885216"]]  (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", "2015-11-04 16:59:19.889156"], ["updated_at", "2015-11-04 16:59:19.889156"]]  (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.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", "2015-11-04 16:59:19.893773"], ["updated_at", "2015-11-04 16:59:19.893773"]]  (0.2ms) 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.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", "2015-11-04 16:59:19.898111"], ["updated_at", "2015-11-04 16:59:19.898111"]]  (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", "2015-11-04 16:59:19.902108"], ["updated_at", "2015-11-04 16:59:19.902108"]]  (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", "2015-11-04 16:59:19.904733"], ["updated_at", "2015-11-04 16:59:19.904733"]]  (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", "2015-11-04 16:59:19.907001"], ["updated_at", "2015-11-04 16:59:19.907001"]]  (0.0ms) 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", "2015-11-04 16:59:19.912853"], ["updated_at", "2015-11-04 16:59:19.912853"]] 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", "2015-11-04 16:59:19.914321"], ["updated_at", "2015-11-04 16:59:19.914321"]] 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", "MGXGIdK6ZtCGyQ0aH2VWbw"]] 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" = 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" = 'anonymous' [["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" = 'anonymous' [["read_right", "t"]] Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.5ms)  (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$w7UZ6iqtoOXj36llTz6dEeFBppGjqAxh3Qyy6yZHi4axN/c2xiHbu"], ["remember_token", "bQ5ZZyUQ-eA7jbal7c3c4Q"], ["created_at", "2015-11-04 16:59:19.930277"], ["updated_at", "2015-11-04 16:59:19.930277"]]  (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$m/D.Hn/jAc1lMb34zwyxeuDzlRygNm6pWpxdxH7qpe/WWYV145XMu"], ["remember_token", "HgYRwHXFX7iN-MeHoVBWhg"], ["created_at", "2015-11-04 16:59:19.940267"], ["updated_at", "2015-11-04 16:59:19.940267"]]  (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", 2], ["created_at", "2015-11-04 16:59:19.942080"], ["updated_at", "2015-11-04 16:59:19.942080"]]  (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", "2015-11-04 16:59:19.943987"], ["updated_at", "2015-11-04 16:59:19.943987"]]  (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.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", "2015-11-04 16:59:19.946103"], ["updated_at", "2015-11-04 16:59:19.946103"]]  (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", "2015-11-04 16:59:19.949873"], ["updated_at", "2015-11-04 16:59:19.949873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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", "2015-11-04 16:59:19.952920"], ["updated_at", "2015-11-04 16:59:19.952920"]]  (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", "2015-11-04 16:59:19.954893"], ["updated_at", "2015-11-04 16:59:19.954893"]]  (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", "2015-11-04 16:59:19.956880"], ["updated_at", "2015-11-04 16:59:19.956880"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 16:59:19.959694"], ["updated_at", "2015-11-04 16:59:19.959694"]]  (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", "2015-11-04 16:59:19.963317"], ["updated_at", "2015-11-04 16:59:19.963317"]]  (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", "2015-11-04 16:59:19.967727"], ["updated_at", "2015-11-04 16:59:19.967727"]] 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", "2015-11-04 16:59:19.969401"], ["updated_at", "2015-11-04 16:59:19.969401"]] 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", "2015-11-04 16:59:19.981111"], ["updated_at", "2015-11-04 16:59:19.981111"]] 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", "2015-11-04 16:59:19.982848"], ["updated_at", "2015-11-04 16:59:19.982848"]] 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", "bQ5ZZyUQ-eA7jbal7c3c4Q"]] 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" = 'anonymous' [["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" = 'anonymous' [["read_right", "t"]] Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.5ms)  (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$D55Gw3jHsjldX5Zps/qMB.4S/xqRvBtLRZX6MSoo5b75Ce84C1UHu"], ["remember_token", "BMkfBzgYxQ8VjHjnuXWcHA"], ["created_at", "2015-11-04 16:59:19.997686"], ["updated_at", "2015-11-04 16:59:19.997686"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 16:59:20.001155"], ["updated_at", "2015-11-04 16:59:20.001155"]]  (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", "2015-11-04 16:59:20.004655"], ["updated_at", "2015-11-04 16:59:20.004655"]]  (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", 0], ["read_right", "t"], ["created_at", "2015-11-04 16:59:20.007756"], ["updated_at", "2015-11-04 16:59:20.007756"]] 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", "2015-11-04 16:59:20.009322"], ["updated_at", "2015-11-04 16:59:20.009322"]] 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.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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$9n5aIIYksq.aJqnB9Q7NWu3QfPgK7YmJZ88p90v7HRrUBq0wNx6SC"], ["remember_token", "OmRX7jj0dON7VznsUUxO3w"], ["created_at", "2015-11-04 16:59:20.015151"], ["updated_at", "2015-11-04 16:59:20.015151"]]  (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", "2015-11-04 16:59:20.017388"], ["updated_at", "2015-11-04 16:59:20.017388"]]  (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$46N.sqdWYXvJfC1QdsHUb..ZP6v8zFYgj.O4Pkd7B9E4MIz/2i2G."], ["remember_token", "mSi_Bs2IX9kQosPLYa3uUw"], ["created_at", "2015-11-04 16:59:20.024115"], ["updated_at", "2015-11-04 16:59:20.024115"]]  (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", "2015-11-04 16:59:20.028017"], ["updated_at", "2015-11-04 16:59:20.028017"]]  (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", "2015-11-04 16:59:20.031816"], ["updated_at", "2015-11-04 16:59:20.031816"]]  (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", "2015-11-04 16:59:20.035483"], ["updated_at", "2015-11-04 16:59:20.035483"]] 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", "2015-11-04 16:59:20.036809"], ["updated_at", "2015-11-04 16:59:20.036809"]] 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.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$WdPVuHLGNZARwrCcoGa5OeXU3trxQ4HsNGomHGjgKlPsUkh.TI6iC"], ["remember_token", "3CTPeHKRWjdw1cbJg6aP9g"], ["created_at", "2015-11-04 16:59:20.043017"], ["updated_at", "2015-11-04 16:59:20.043017"]]  (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", "2015-11-04 16:59:20.044676"], ["updated_at", "2015-11-04 16:59:20.044676"]]  (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$5RhEQUEb3ryPGxVxdAODzetiEUS45ksGbxy6R7p/amje1OVuvokVS"], ["remember_token", "IHrnl5bFqColmeNFha-6VQ"], ["created_at", "2015-11-04 16:59:20.051219"], ["updated_at", "2015-11-04 16:59:20.051219"]]  (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", "2015-11-04 16:59:20.055898"], ["updated_at", "2015-11-04 16:59:20.055898"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-04 16:59:20.059818"], ["updated_at", "2015-11-04 16:59:20.059818"]]  (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", "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", "2015-11-04 16:59:20.064161"], ["updated_at", "2015-11-04 16:59:20.064161"]] 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", "2015-11-04 16:59:20.065812"], ["updated_at", "2015-11-04 16:59:20.065812"]] 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.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$HFGsViE0HqsLsojOZZBPm.iSXtXnBZwNhWhSF3Uc4u69E6kA40xMK"], ["remember_token", "DQJ4n_5OoeAHMoP55nJ5vQ"], ["created_at", "2015-11-04 16:59:20.074851"], ["updated_at", "2015-11-04 16:59:20.074851"]]  (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", "2015-11-04 16:59:20.078592"], ["updated_at", "2015-11-04 16:59:20.078592"]]  (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", "2015-11-04 16:59:20.082036"], ["updated_at", "2015-11-04 16:59:20.082036"]]  (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", 1], ["owner_type", "User"], ["permission_type", 0], ["update_right", "t"], ["created_at", "2015-11-04 16:59:20.086933"], ["updated_at", "2015-11-04 16:59:20.086933"]] 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", "2015-11-04 16:59:20.088392"], ["updated_at", "2015-11-04 16:59:20.088392"]] 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.1ms) 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$ye/8ZmdB1EeX0AeT5Krp0u0lZ9EJvFbvoS0kftZYCgamu/R.LQbGy"], ["remember_token", "F99aXqcqWyzloztUTJRbBg"], ["created_at", "2015-11-04 16:59:20.095041"], ["updated_at", "2015-11-04 16:59:20.095041"]]  (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", "2015-11-04 16:59:20.097361"], ["updated_at", "2015-11-04 16:59:20.097361"]]  (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$a6u.wRKxqEj.P7E39fEfIuj.XmnpiTXZ.ei20QH7D3NL1vn7Q/U7C"], ["remember_token", "XKnLYJbBltLF6-KI2m_hVA"], ["created_at", "2015-11-04 16:59:20.105118"], ["updated_at", "2015-11-04 16:59:20.105118"]]  (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", "2015-11-04 16:59:20.109258"], ["updated_at", "2015-11-04 16:59:20.109258"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-04 16:59:20.114141"], ["updated_at", "2015-11-04 16:59:20.114141"]]  (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", "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", "2015-11-04 16:59:20.120963"], ["updated_at", "2015-11-04 16:59:20.120963"]] 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", "2015-11-04 16:59:20.123758"], ["updated_at", "2015-11-04 16:59:20.123758"]] 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 User Load (0.1ms) 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$9ql6PDFjT.ja.VhWsbM4YuIeT6NTywnYnwtypSazJkn5P2IeGEj86"], ["remember_token", "fnj7VU2Yyhcm-zfouZ954Q"], ["created_at", "2015-11-04 16:59:20.134759"], ["updated_at", "2015-11-04 16:59:20.134759"]]  (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", "2015-11-04 16:59:20.139363"], ["updated_at", "2015-11-04 16:59:20.139363"]]  (0.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$uumB.xHGLHKMhYfawK55nu8oyURugDHjRWx0bQfhxa0NsraPJbh7W"], ["remember_token", "LKEOEMuE67AQ0lgGUm__fw"], ["created_at", "2015-11-04 16:59:20.149195"], ["updated_at", "2015-11-04 16:59:20.149195"]]  (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.5ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$41q7/z3czmA6AhluNrCXBucyu.CZzc/41SHzg842T2K0UHeqvbvTS"], ["remember_token", "kTKYJtLCKXf-HKtU8s8yPw"], ["created_at", "2015-11-04 16:59:20.163047"], ["updated_at", "2015-11-04 16:59:20.163047"]]  (0.2ms) 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$kkDgWTI/ed2V6aPhzyn7zOTlBY3uuTpXle8ImikgOOb0FiPdvGLxy"], ["remember_token", "nBgTWc8g8RNFfD-uSDZqtw"], ["created_at", "2015-11-04 16:59:20.218900"], ["updated_at", "2015-11-04 16:59:20.218900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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$c5YFTbqA0pg/bA5j.ibTXe8MjIeUw6dtMsSbiFyHR8v98XReufaJe"], ["remember_token", "8zHS0-17G3Gs7lwD2k2GOg"], ["created_at", "2015-11-04 16:59:20.226475"], ["updated_at", "2015-11-04 16:59:20.226475"]]  (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", "2015-11-04 16:59:20.229140"], ["updated_at", "2015-11-04 16:59:20.229140"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction 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$lznsTe0CJ7Lj3XFu3Cr3q.MOFo4i.nBB/jOsxkZJdQ5AzmYKkGt/W"], ["remember_token", "qowVCXkX8qkB52wOvYYfZw"], ["created_at", "2015-11-04 16:59:20.240142"], ["updated_at", "2015-11-04 16:59:20.240142"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction 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$wzGSuwzZ1slH6B7wz/WdwO6iuetJtjZDsn5P2G.I5IpzFaBwP4pGC"], ["remember_token", "eExs3GtflDXF15hkLDAIng"], ["created_at", "2015-11-04 16:59:20.249831"], ["updated_at", "2015-11-04 16:59:20.249831"]]  (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", "2015-11-04 16:59:20.253082"], ["updated_at", "2015-11-04 16:59:20.253082"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$AwKzfknrLA2a/YZ4sBlLgeQ/CjMTXUy.PZLfC4ezWL98R9Oqw0aaa"], ["remember_token", "TJWiDq3pU63zxT_JCUtLNA"], ["created_at", "2015-11-04 17:02:49.011384"], ["updated_at", "2015-11-04 17:02:49.011384"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) 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", "2015-11-04 17:02:49.062202"], ["updated_at", "2015-11-04 17:02:49.062202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-11-04 17:02:49.088285"], ["updated_at", "2015-11-04 17:02:49.088285"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.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", "2015-11-04 17:02:49.130777"], ["updated_at", "2015-11-04 17:02:49.130777"]] SQL (2.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", "2015-11-04 17:02:49.136009"], ["updated_at", "2015-11-04 17:02:49.136009"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "TJWiDq3pU63zxT_JCUtLNA"]] Adeia::Token Load (0.8ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.8ms) SELECT "adeia_groups".* 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" = 'anonymous' [["read_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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'anonymous' [["read_right", "t"]] Completed 500 Internal Server Error in 47ms (ActiveRecord: 2.9ms)  (1.0ms) 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$sCeZ.pPjaQJPaXmkEGLiiu8KtSIhtmaqPij3cOBacZk1WDNcdgaz."], ["remember_token", "QnrWFFYiZCxDQ2NZb0K3-A"], ["created_at", "2015-11-04 17:02:49.212736"], ["updated_at", "2015-11-04 17:02:49.212736"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:02:49.226872"], ["updated_at", "2015-11-04 17:02:49.226872"]]  (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", "2015-11-04 17:02:49.231525"], ["updated_at", "2015-11-04 17:02:49.231525"]]  (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", "2015-11-04 17:02:49.235901"], ["updated_at", "2015-11-04 17:02:49.235901"]] 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", "2015-11-04 17:02:49.237562"], ["updated_at", "2015-11-04 17:02:49.237562"]] Adeia::Action Load (0.3ms) 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", "QnrWFFYiZCxDQ2NZb0K3-A"]] 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" = 'anonymous' [["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" = 'anonymous' [["read_right", "t"]] Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.5ms)  (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$PeNk7W4.IApY4KVUQuCJrOKHiZQrPo2Hrqd9UtnI4lVKKK6V2rz8G"], ["remember_token", "PYYBcTVBa_9gGwvvWMlTvA"], ["created_at", "2015-11-04 17:02:49.253691"], ["updated_at", "2015-11-04 17:02:49.253691"]]  (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", "2015-11-04 17:02:49.276323"], ["updated_at", "2015-11-04 17:02:49.276323"]]  (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", "2015-11-04 17:02:49.279136"], ["updated_at", "2015-11-04 17:02:49.279136"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", "2015-11-04 17:02:49.284619"], ["updated_at", "2015-11-04 17:02:49.284619"]] 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", "2015-11-04 17:02:49.287710"], ["updated_at", "2015-11-04 17:02:49.287710"]] 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.2ms) 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$AbLhTYP1AtQzfbaOP7tzD.02hThIaZPuuAWdPzr6Q9.q5hXDt/uSq"], ["remember_token", "JuB3iPdP9Fc86sn6A48lfg"], ["created_at", "2015-11-04 17:02:49.303368"], ["updated_at", "2015-11-04 17:02:49.303368"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", "2015-11-04 17:02:49.305979"], ["updated_at", "2015-11-04 17:02:49.305979"]]  (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", "2015-11-04 17:02:49.309226"], ["updated_at", "2015-11-04 17:02:49.309226"]]  (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", "2015-11-04 17:02:49.311187"], ["updated_at", "2015-11-04 17:02:49.311187"]]  (0.2ms) 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", "2015-11-04 17:02:49.313448"], ["updated_at", "2015-11-04 17:02:49.313448"]]  (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", "2015-11-04 17:02:49.315298"], ["updated_at", "2015-11-04 17:02:49.315298"]]  (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 1 [["remember_token", "PYYBcTVBa_9gGwvvWMlTvA"]] 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" = 'anonymous' [["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" = 'anonymous' [["read_right", "t"]] Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.4ms)  (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$TX7UqDG1tiQ2E8HHGgWWZ.RbGH/xQn9WABSPLCKSh9PqPlX48FJ72"], ["remember_token", "ZGDFtFX4b_lwOVyxSqCuzw"], ["created_at", "2015-11-04 17:02:49.327100"], ["updated_at", "2015-11-04 17:02:49.327100"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:02:49.336571"], ["updated_at", "2015-11-04 17:02:49.336571"]]  (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", "2015-11-04 17:02:49.339356"], ["updated_at", "2015-11-04 17:02:49.339356"]]  (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", "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", "2015-11-04 17:02:49.342532"], ["updated_at", "2015-11-04 17:02:49.342532"]] 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", "2015-11-04 17:02:49.344143"], ["updated_at", "2015-11-04 17:02:49.344143"]] 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", "2015-11-04 17:02:49.347630"], ["updated_at", "2015-11-04 17:02:49.347630"]]  (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", "2015-11-04 17:02:49.349984"], ["updated_at", "2015-11-04 17:02:49.349984"]]  (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", "2015-11-04 17:02:49.351729"], ["updated_at", "2015-11-04 17:02:49.351729"]]  (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", "2015-11-04 17:02:49.353460"], ["updated_at", "2015-11-04 17:02:49.353460"]]  (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", "2015-11-04 17:02:49.355027"], ["updated_at", "2015-11-04 17:02:49.355027"]]  (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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$TKVZRNIx.XtBWXZCroJuteFS3shzUJlRAJtMf.ClpIrVLdxGSPTW."], ["remember_token", "SKf6dzS0LspZ673CdnGPsQ"], ["created_at", "2015-11-04 17:02:49.359457"], ["updated_at", "2015-11-04 17:02:49.359457"]]  (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", "2015-11-04 17:02:49.362794"], ["updated_at", "2015-11-04 17:02:49.362794"]]  (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", "2015-11-04 17:02:49.366058"], ["updated_at", "2015-11-04 17:02:49.366058"]]  (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", "2015-11-04 17:02:49.368591"], ["updated_at", "2015-11-04 17:02:49.368591"]]  (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", "2015-11-04 17:02:49.370774"], ["updated_at", "2015-11-04 17:02:49.370774"]]  (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", "2015-11-04 17:02:49.372890"], ["updated_at", "2015-11-04 17:02:49.372890"]]  (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", "ZGDFtFX4b_lwOVyxSqCuzw"]] 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.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" = 'anonymous' [["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" = 'anonymous' [["read_right", "t"]] Completed 500 Internal Server Error in 7ms (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$KvOdOLa1JBM4cdBIwFcpUeoY6/5Ow9Wez0hafzfFitDnbalXOJ2em"], ["remember_token", "fhM6VzbQdSEyHIptmwSYcQ"], ["created_at", "2015-11-04 17:02:49.388927"], ["updated_at", "2015-11-04 17:02:49.388927"]]  (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", "2015-11-04 17:02:49.397699"], ["updated_at", "2015-11-04 17:02:49.397699"]]  (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", "2015-11-04 17:02:49.400480"], ["updated_at", "2015-11-04 17:02:49.400480"]]  (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", 1], ["read_right", "t"], ["created_at", "2015-11-04 17:02:49.403669"], ["updated_at", "2015-11-04 17:02:49.403669"]] 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", "2015-11-04 17:02:49.404948"], ["updated_at", "2015-11-04 17:02:49.404948"]] 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.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", "2015-11-04 17:02:49.408887"], ["updated_at", "2015-11-04 17:02:49.408887"]]  (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", "2015-11-04 17:02:49.411238"], ["updated_at", "2015-11-04 17:02:49.411238"]]  (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", "2015-11-04 17:02:49.413362"], ["updated_at", "2015-11-04 17:02:49.413362"]]  (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", "2015-11-04 17:02:49.415200"], ["updated_at", "2015-11-04 17:02:49.415200"]]  (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", "2015-11-04 17:02:49.416764"], ["updated_at", "2015-11-04 17:02:49.416764"]]  (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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$a.r4gsTa8i2HAaEAt7uQvunivMoMgY2CB2turQ8iwE3wwHCU3MaKy"], ["remember_token", "wyAAUvR13mXb91y2cXJv1g"], ["created_at", "2015-11-04 17:02:49.421523"], ["updated_at", "2015-11-04 17:02:49.421523"]]  (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", "2015-11-04 17:02:49.424690"], ["updated_at", "2015-11-04 17:02:49.424690"]]  (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.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", "2015-11-04 17:02:49.427908"], ["updated_at", "2015-11-04 17:02:49.427908"]]  (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", "2015-11-04 17:02:49.431445"], ["updated_at", "2015-11-04 17:02:49.431445"]]  (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", "2015-11-04 17:02:49.433905"], ["updated_at", "2015-11-04 17:02:49.433905"]]  (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.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", "2015-11-04 17:02:49.436289"], ["updated_at", "2015-11-04 17:02:49.436289"]]  (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", "2015-11-04 17:02:49.438992"], ["updated_at", "2015-11-04 17:02:49.438992"]]  (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.0ms) 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", "2015-11-04 17:02:49.444165"], ["updated_at", "2015-11-04 17:02:49.444165"]] 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", "2015-11-04 17:02:49.445919"], ["updated_at", "2015-11-04 17:02:49.445919"]] 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", "fhM6VzbQdSEyHIptmwSYcQ"]] 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" = 'anonymous' [["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" = 'anonymous' [["read_right", "t"]] Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.4ms)  (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$U8g3w22JDFlOpka5iIJfROdwzZUU6T2YotCwG2fpueMx3GXV/iYSS"], ["remember_token", "o2MLT5vDdiglfjQ_aOXgxA"], ["created_at", "2015-11-04 17:02:49.461282"], ["updated_at", "2015-11-04 17:02:49.461282"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$/2EqaFZBWmYGXAAOh26L.ue4teAZxh28tiPwuQd1PZZnc79MyR/EG"], ["remember_token", "3R275VjzivQud1jKUiQXmg"], ["created_at", "2015-11-04 17:02:49.473876"], ["updated_at", "2015-11-04 17:02:49.473876"]]  (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", "2015-11-04 17:02:49.475896"], ["updated_at", "2015-11-04 17:02:49.475896"]]  (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", "2015-11-04 17:02:49.478234"], ["updated_at", "2015-11-04 17:02:49.478234"]]  (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", "2015-11-04 17:02:49.480492"], ["updated_at", "2015-11-04 17:02:49.480492"]]  (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", "2015-11-04 17:02:49.482483"], ["updated_at", "2015-11-04 17:02:49.482483"]]  (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.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", "2015-11-04 17:02:49.484311"], ["updated_at", "2015-11-04 17:02:49.484311"]]  (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", "2015-11-04 17:02:49.487255"], ["updated_at", "2015-11-04 17:02:49.487255"]]  (0.0ms) 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", "2015-11-04 17:02:49.489400"], ["updated_at", "2015-11-04 17:02:49.489400"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:02:49.493124"], ["updated_at", "2015-11-04 17:02:49.493124"]]  (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", "2015-11-04 17:02:49.496198"], ["updated_at", "2015-11-04 17:02:49.496198"]]  (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", "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", "2015-11-04 17:02:49.499688"], ["updated_at", "2015-11-04 17:02:49.499688"]] 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", "2015-11-04 17:02:49.501274"], ["updated_at", "2015-11-04 17:02:49.501274"]] 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.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_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", "2015-11-04 17:02:49.508279"], ["updated_at", "2015-11-04 17:02:49.508279"]] 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", "2015-11-04 17:02:49.509533"], ["updated_at", "2015-11-04 17:02:49.509533"]] 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", "o2MLT5vDdiglfjQ_aOXgxA"]] 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" = 'anonymous' [["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" = 'anonymous' [["read_right", "t"]] Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.4ms)  (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$u.fuA.M03X7s4eLitGzymOWZueyiznFsNSH5TYwTIMgk7uLx18NQe"], ["remember_token", "csXIsRt9QgfKyG6bJpH83w"], ["created_at", "2015-11-04 17:02:49.522638"], ["updated_at", "2015-11-04 17:02:49.522638"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:02:49.525706"], ["updated_at", "2015-11-04 17:02:49.525706"]]  (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", "2015-11-04 17:02:49.528418"], ["updated_at", "2015-11-04 17:02:49.528418"]]  (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", "2015-11-04 17:02:49.532477"], ["updated_at", "2015-11-04 17:02:49.532477"]] 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", "2015-11-04 17:02:49.533851"], ["updated_at", "2015-11-04 17:02:49.533851"]] 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.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$80xpGEE8pXJFoJ7PMtvayuNEzeSvGOYI8m/HkHyI1YY0/nq7I7Wla"], ["remember_token", "n-xNDTuKgpzWuW67n_zJng"], ["created_at", "2015-11-04 17:02:49.546700"], ["updated_at", "2015-11-04 17:02:49.546700"]]  (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", "2015-11-04 17:02:49.548531"], ["updated_at", "2015-11-04 17:02:49.548531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "csXIsRt9QgfKyG6bJpH83w"]] Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)  (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$niHkJ02PibfC89FEIoNxKuCIk3A.WHlaPKs9WeHkDau/759wQVr0q"], ["remember_token", "hEcH7noBMcjOFuw0TrhiPQ"], ["created_at", "2015-11-04 17:02:49.564640"], ["updated_at", "2015-11-04 17:02:49.564640"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:02:49.567959"], ["updated_at", "2015-11-04 17:02:49.567959"]]  (0.0ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-04 17:02:49.572254"], ["updated_at", "2015-11-04 17:02:49.572254"]]  (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", "2015-11-04 17:02:49.578321"], ["updated_at", "2015-11-04 17:02:49.578321"]] 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", "2015-11-04 17:02:49.580468"], ["updated_at", "2015-11-04 17:02:49.580468"]] 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.1ms) 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$2DHQ0E0355m0szE44mOlp.7N8s/5HWcVNk5YJqIAzEssLyT9/sY2i"], ["remember_token", "yXCKP_IajAX1RfEq8Q4Z0Q"], ["created_at", "2015-11-04 17:02:49.587679"], ["updated_at", "2015-11-04 17:02:49.587679"]]  (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", "2015-11-04 17:02:49.589529"], ["updated_at", "2015-11-04 17:02:49.589529"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "hEcH7noBMcjOFuw0TrhiPQ"]] Completed 500 Internal Server Error in 2ms (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$mf08Il.hXmyV5TAIyreWeedr1HXh/gg8CFR877ZUkz1pEMEydRcM2"], ["remember_token", "2_CJuzsljvL65zJO2hohLA"], ["created_at", "2015-11-04 17:02:49.604117"], ["updated_at", "2015-11-04 17:02:49.604117"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:02:49.607379"], ["updated_at", "2015-11-04 17:02:49.607379"]]  (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", "2015-11-04 17:02:49.610016"], ["updated_at", "2015-11-04 17:02:49.610016"]]  (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", 1], ["owner_type", "User"], ["permission_type", 0], ["create_right", "t"], ["created_at", "2015-11-04 17:02:49.615266"], ["updated_at", "2015-11-04 17:02:49.615266"]] 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", "2015-11-04 17:02:49.616791"], ["updated_at", "2015-11-04 17:02:49.616791"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "2_CJuzsljvL65zJO2hohLA"]] 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 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"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'anonymous' [["create_right", "t"]] Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.4ms)  (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$pbtUJblNHeQVIvJiSY6/LOZZHgAkMGKe4ue0TT6L0DQBI.nkzFTx2"], ["remember_token", "zFqWfKgbOIB39j1Uy951Gw"], ["created_at", "2015-11-04 17:02:49.634410"], ["updated_at", "2015-11-04 17:02:49.634410"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:02:49.637588"], ["updated_at", "2015-11-04 17:02:49.637588"]]  (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", "2015-11-04 17:02:49.640128"], ["updated_at", "2015-11-04 17:02:49.640128"]]  (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", 1], ["owner_type", "User"], ["permission_type", 0], ["update_right", "t"], ["created_at", "2015-11-04 17:02:49.644264"], ["updated_at", "2015-11-04 17:02:49.644264"]] 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", "2015-11-04 17:02:49.645596"], ["updated_at", "2015-11-04 17:02:49.645596"]] 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.1ms) 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$zIX7rNoOJ6x9g79u5WZ1Qu5ldxlCgvOojixLyKzAFWYPnJTHXHBBy"], ["remember_token", "ene6ISdGph04TPYWJDoQkA"], ["created_at", "2015-11-04 17:02:49.651740"], ["updated_at", "2015-11-04 17:02:49.651740"]]  (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", "2015-11-04 17:02:49.653621"], ["updated_at", "2015-11-04 17:02:49.653621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "zFqWfKgbOIB39j1Uy951Gw"]] Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)  (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$9/HOHiBqEInBzT4LP8HJqOA4dIhOalNPP6IwulGnBe1A76Aig10xu"], ["remember_token", "b9e3cKTzPN894UWSJt8LTw"], ["created_at", "2015-11-04 17:02:49.668906"], ["updated_at", "2015-11-04 17:02:49.668906"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:02:49.672098"], ["updated_at", "2015-11-04 17:02:49.672098"]]  (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", "2015-11-04 17:02:49.674691"], ["updated_at", "2015-11-04 17:02:49.674691"]]  (0.1ms) 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", "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", "2015-11-04 17:02:49.678716"], ["updated_at", "2015-11-04 17:02:49.678716"]] 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", "2015-11-04 17:02:49.679985"], ["updated_at", "2015-11-04 17:02:49.679985"]] 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.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$kSX9DcPNhG0TSZfOWZV6xuM5UaHdMrfLMROv90sNwK7xP3iB7RZNy"], ["remember_token", "GEdgUMAk-OweVgBRp9a46A"], ["created_at", "2015-11-04 17:02:49.685373"], ["updated_at", "2015-11-04 17:02:49.685373"]]  (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", "2015-11-04 17:02:49.686964"], ["updated_at", "2015-11-04 17:02:49.686964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "b9e3cKTzPN894UWSJt8LTw"]] Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)  (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$vNJpBP2oz5.5I9BAu8UGrefcETwyF0MF.cnvIl4wmu9yujShCxypC"], ["remember_token", "kw6E-AA1_PYHSg03R3EAgg"], ["created_at", "2015-11-04 17:02:49.705212"], ["updated_at", "2015-11-04 17:02:49.705212"]]  (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$ubw.MmXyBFHeku7fSevsgeINmL/VVoywIEVAvQ9UlvHNXC2dB6qni"], ["remember_token", "FowBqUIoBqy-09Pgu7NnnA"], ["created_at", "2015-11-04 17:02:49.718033"], ["updated_at", "2015-11-04 17:02:49.718033"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#create as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"2"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "kw6E-AA1_PYHSg03R3EAgg"]] Rendered text template (0.0ms) Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.1ms)  (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$nHJwYezVd9o6pIQiVyXS1ukL22WVn8.zEFmskbnPPO76B/88UP1iq"], ["remember_token", "mPPnuTogJSWGNz_A6x4d3g"], ["created_at", "2015-11-04 17:02:49.739029"], ["updated_at", "2015-11-04 17:02:49.739029"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$lGLP3o3g3xcOEAMEzA7swOgDA4l/ceeVF7/6m7ArEkjqf5IXHryyq"], ["remember_token", "6mGPe_Iz_Z8RLMTQzNcthQ"], ["created_at", "2015-11-04 17:02:49.751508"], ["updated_at", "2015-11-04 17:02:49.751508"]]  (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", "2015-11-04 17:02:49.753527"], ["updated_at", "2015-11-04 17:02:49.753527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]] Processing by AnonymousController#update as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"2"}, "id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "mPPnuTogJSWGNz_A6x4d3g"]] Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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$.2wpvWHQeNKRUr9BUf6deuPgUagqaqVuM2eB9jnKmavswrEq.KalW"], ["remember_token", "rSDemFDlbVt-nKCjjcBHwQ"], ["created_at", "2015-11-04 17:02:49.772084"], ["updated_at", "2015-11-04 17:02:49.772084"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by AnonymousController#create as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"1"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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$evPefEPhIT/WHz2M6DWDr.Yu3SbQ5yNWBELWr1zeaAw7N4xBNHikC"], ["remember_token", "HJ4aQna008ZNma7O5Esdcw"], ["created_at", "2015-11-04 17:02:49.791780"], ["updated_at", "2015-11-04 17:02:49.791780"]]  (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", 1], ["created_at", "2015-11-04 17:02:49.794090"], ["updated_at", "2015-11-04 17:02:49.794090"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]] Processing by AnonymousController#update as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"1"}, "id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$db5O9BQ2DmQOuaccBduScu8DWtg0TMI3sBmKxJBA36jfdPmonNOFe"], ["remember_token", "mtd-YpyuiFhXGHYdGN8Njg"], ["created_at", "2015-11-04 17:05:44.570923"], ["updated_at", "2015-11-04 17:05:44.570923"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:05:44.632542"], ["updated_at", "2015-11-04 17:05:44.632542"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-11-04 17:05:44.653952"], ["updated_at", "2015-11-04 17:05:44.653952"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) 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", "2015-11-04 17:05:44.685858"], ["updated_at", "2015-11-04 17:05:44.685858"]] SQL (1.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", "2015-11-04 17:05:44.689322"], ["updated_at", "2015-11-04 17:05:44.689322"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "mtd-YpyuiFhXGHYdGN8Njg"]] Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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" = 'anonymous' [["read_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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'anonymous' [["read_right", "t"]] Completed 500 Internal Server Error in 40ms (ActiveRecord: 2.3ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$RPN.Kw7hvt1sJtSeleCVYO.qsPjKLEaT6bKnqSJIGjb0ertdDbcGy"], ["remember_token", "O37eaNb0IiqCJPtC6V9iKA"], ["created_at", "2015-11-04 17:05:55.981280"], ["updated_at", "2015-11-04 17:05:55.981280"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:05:56.046489"], ["updated_at", "2015-11-04 17:05:56.046489"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-11-04 17:05:56.068227"], ["updated_at", "2015-11-04 17:05:56.068227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) 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", "2015-11-04 17:05:56.099359"], ["updated_at", "2015-11-04 17:05:56.099359"]] 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", "2015-11-04 17:05:56.102677"], ["updated_at", "2015-11-04 17:05:56.102677"]] 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 Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms)  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$Jq9XQHBF/Z1cToj5i7fr1ekY.acO9IfjmOjvuujtDxhxn/K8Na1mO"], ["remember_token", "y8N9h3s3_w6cQZ3sf3vz-g"], ["created_at", "2015-11-04 17:06:09.594789"], ["updated_at", "2015-11-04 17:06:09.594789"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:06:09.649132"], ["updated_at", "2015-11-04 17:06:09.649132"]]  (0.0ms) 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", "2015-11-04 17:06:09.668229"], ["updated_at", "2015-11-04 17:06:09.668229"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) 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", "2015-11-04 17:06:09.698174"], ["updated_at", "2015-11-04 17:06:09.698174"]] 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", "2015-11-04 17:06:09.701422"], ["updated_at", "2015-11-04 17:06:09.701422"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "y8N9h3s3_w6cQZ3sf3vz-g"]] Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.8ms) SELECT "adeia_groups".* 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" = 'articles' [["read_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"."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 44ms (Views: 14.7ms | ActiveRecord: 2.7ms)  (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$LubTbOar52rCrYDUAEl2kukAAhYpH09o4SLEGRSy.izhlGUjIMHWu"], ["remember_token", "brfZXSuHd9CLBbHFagPOBw"], ["created_at", "2015-11-04 17:06:09.766557"], ["updated_at", "2015-11-04 17:06:09.766557"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:06:09.770137"], ["updated_at", "2015-11-04 17:06:09.770137"]]  (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", "2015-11-04 17:06:09.774574"], ["updated_at", "2015-11-04 17:06:09.774574"]]  (0.1ms) 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", "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", "2015-11-04 17:06:09.778009"], ["updated_at", "2015-11-04 17:06:09.778009"]] 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", "2015-11-04 17:06:09.779380"], ["updated_at", "2015-11-04 17:06:09.779380"]] 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", "brfZXSuHd9CLBbHFagPOBw"]] 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 10ms (Views: 1.4ms | ActiveRecord: 0.7ms)  (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$dtDh4wO.An6WPn0YQG6Oe.faz0UjCDi4SIlrAf7SJlH4.i6uBeRdu"], ["remember_token", "ScYEFBj6Ba_Hgz8hHKlr8w"], ["created_at", "2015-11-04 17:06:09.802511"], ["updated_at", "2015-11-04 17:06:09.802511"]]  (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.4ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:06:09.807230"], ["updated_at", "2015-11-04 17:06:09.807230"]]  (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", "2015-11-04 17:06:09.811530"], ["updated_at", "2015-11-04 17:06:09.811530"]]  (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", "2015-11-04 17:06:09.815598"], ["updated_at", "2015-11-04 17:06:09.815598"]] 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", "2015-11-04 17:06:09.817140"], ["updated_at", "2015-11-04 17:06:09.817140"]] 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.2ms) 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$ukOuWgnGExuX8Dr5lnxqMOfr7NjFzpVgAZMO/jFlQuIbzMTO1scrK"], ["remember_token", "6zOBz7k7p1PtYQZEiRQ_LA"], ["created_at", "2015-11-04 17:06:09.833018"], ["updated_at", "2015-11-04 17:06:09.833018"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", "2015-11-04 17:06:09.836189"], ["updated_at", "2015-11-04 17:06:09.836189"]]  (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.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", "2015-11-04 17:06:09.841427"], ["updated_at", "2015-11-04 17:06:09.841427"]]  (0.7ms) 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", "2015-11-04 17:06:09.846298"], ["updated_at", "2015-11-04 17:06:09.846298"]]  (0.6ms) 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", "2015-11-04 17:06:09.849761"], ["updated_at", "2015-11-04 17:06:09.849761"]]  (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", "2015-11-04 17:06:09.851986"], ["updated_at", "2015-11-04 17:06:09.851986"]]  (0.5ms) 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", "ScYEFBj6Ba_Hgz8hHKlr8w"]] 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 8ms (Views: 1.4ms | 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$wflbpG0lVrJ3w9o1RuowfezyzFHEiAWlKmPPDLWMvFICk6Uj8ua9m"], ["remember_token", "H3k5JsvvfCtouSnhrUZPwQ"], ["created_at", "2015-11-04 17:06:09.874144"], ["updated_at", "2015-11-04 17:06:09.874144"]]  (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", "2015-11-04 17:06:09.880903"], ["updated_at", "2015-11-04 17:06:09.880903"]]  (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", "2015-11-04 17:06:09.885057"], ["updated_at", "2015-11-04 17:06:09.885057"]]  (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", "2015-11-04 17:06:09.890113"], ["updated_at", "2015-11-04 17:06:09.890113"]] 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", "2015-11-04 17:06:09.893143"], ["updated_at", "2015-11-04 17:06:09.893143"]] 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 "articles" ("title", "content", "user_id", "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", "2015-11-04 17:06:09.901719"], ["updated_at", "2015-11-04 17:06:09.901719"]]  (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", "2015-11-04 17:06:09.904548"], ["updated_at", "2015-11-04 17:06:09.904548"]]  (0.4ms) 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", "2015-11-04 17:06:09.907084"], ["updated_at", "2015-11-04 17:06:09.907084"]]  (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", "2015-11-04 17:06:09.909946"], ["updated_at", "2015-11-04 17:06:09.909946"]]  (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", "2015-11-04 17:06:09.913431"], ["updated_at", "2015-11-04 17:06:09.913431"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$emoDvSrYOYn4BPHCgOOsyOcqqj7DUHd1dBiZ7ek4AvOY/mg0KhKPi"], ["remember_token", "Bsqg9wJ2MTYSnSHCr3jLTw"], ["created_at", "2015-11-04 17:06:09.921000"], ["updated_at", "2015-11-04 17:06:09.921000"]]  (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", "2015-11-04 17:06:09.923492"], ["updated_at", "2015-11-04 17:06:09.923492"]]  (0.0ms) 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 "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-11-04 17:06:09.926229"], ["updated_at", "2015-11-04 17:06:09.926229"]]  (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", "2015-11-04 17:06:09.928154"], ["updated_at", "2015-11-04 17:06:09.928154"]]  (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", "2015-11-04 17:06:09.930001"], ["updated_at", "2015-11-04 17:06:09.930001"]]  (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", "2015-11-04 17:06:09.932005"], ["updated_at", "2015-11-04 17:06:09.932005"]]  (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", "H3k5JsvvfCtouSnhrUZPwQ"]] Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.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" = 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 10ms (Views: 1.4ms | ActiveRecord: 1.1ms) Article Load (0.3ms) 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$bvq3sV5D70x3o6TJA5UWMOYeL5ae.lFHDyMfBvbD4zmDpcCQFMjKK"], ["remember_token", "7mNqyDMBC8V7xdDv0UzNNQ"], ["created_at", "2015-11-04 17:06:09.952343"], ["updated_at", "2015-11-04 17:06:09.952343"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:06:09.956300"], ["updated_at", "2015-11-04 17:06:09.956300"]]  (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", "2015-11-04 17:06:09.959835"], ["updated_at", "2015-11-04 17:06:09.959835"]]  (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", "2015-11-04 17:06:09.963454"], ["updated_at", "2015-11-04 17:06:09.963454"]] 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", "2015-11-04 17:06:09.964963"], ["updated_at", "2015-11-04 17:06:09.964963"]] 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 "articles" ("title", "content", "user_id", "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", "2015-11-04 17:06:09.969672"], ["updated_at", "2015-11-04 17:06:09.969672"]]  (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", "2015-11-04 17:06:09.972610"], ["updated_at", "2015-11-04 17:06:09.972610"]]  (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", "2015-11-04 17:06:09.974571"], ["updated_at", "2015-11-04 17:06:09.974571"]]  (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", "2015-11-04 17:06:09.976268"], ["updated_at", "2015-11-04 17:06:09.976268"]]  (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", 1], ["created_at", "2015-11-04 17:06:09.991545"], ["updated_at", "2015-11-04 17:06:09.991545"]]  (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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$VQibB03ETj7ZWCj9r1EW5Os7eEelza1BrAknDLQSsC/fJg09x55FG"], ["remember_token", "u1ffT6tWlHzRPkXumsqSuw"], ["created_at", "2015-11-04 17:06:09.998622"], ["updated_at", "2015-11-04 17:06:09.998622"]]  (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", "2015-11-04 17:06:10.001084"], ["updated_at", "2015-11-04 17:06:10.001084"]]  (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", "2015-11-04 17:06:10.004604"], ["updated_at", "2015-11-04 17:06:10.004604"]]  (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", "2015-11-04 17:06:10.006817"], ["updated_at", "2015-11-04 17:06:10.006817"]]  (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", "2015-11-04 17:06:10.008882"], ["updated_at", "2015-11-04 17:06:10.008882"]]  (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", "2015-11-04 17:06:10.010945"], ["updated_at", "2015-11-04 17:06:10.010945"]]  (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", "2015-11-04 17:06:10.013390"], ["updated_at", "2015-11-04 17:06:10.013390"]]  (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.0ms) 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", "2015-11-04 17:06:10.019214"], ["updated_at", "2015-11-04 17:06:10.019214"]] 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", "2015-11-04 17:06:10.020489"], ["updated_at", "2015-11-04 17:06:10.020489"]] 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 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "7mNqyDMBC8V7xdDv0UzNNQ"]] 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.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" = '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.4ms) Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.7ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (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$LZLYNC.oJpRkxMVCc6cn3uJlnG8wARf2i7EjPksj1itLIs9Aoes0."], ["remember_token", "2n5m0WqGIXxsQ4JMl-iKmg"], ["created_at", "2015-11-04 17:06:10.040056"], ["updated_at", "2015-11-04 17:06:10.040056"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$ly3Krwilq0Q9voXOglxCSerekCvX0iDqkrTemd.s/143vaAF6/IRa"], ["remember_token", "AgpHrzGDk_1gvTfuDh26Cg"], ["created_at", "2015-11-04 17:06:10.045642"], ["updated_at", "2015-11-04 17:06:10.045642"]]  (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", "2015-11-04 17:06:10.047984"], ["updated_at", "2015-11-04 17:06:10.047984"]]  (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", "2015-11-04 17:06:10.050583"], ["updated_at", "2015-11-04 17:06:10.050583"]]  (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", "2015-11-04 17:06:10.052859"], ["updated_at", "2015-11-04 17:06:10.052859"]]  (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", "2015-11-04 17:06:10.054846"], ["updated_at", "2015-11-04 17:06:10.054846"]]  (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.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", "2015-11-04 17:06:10.056554"], ["updated_at", "2015-11-04 17:06:10.056554"]]  (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", "2015-11-04 17:06:10.058797"], ["updated_at", "2015-11-04 17:06:10.058797"]]  (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", "2015-11-04 17:06:10.060635"], ["updated_at", "2015-11-04 17:06:10.060635"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:06:10.063507"], ["updated_at", "2015-11-04 17:06:10.063507"]]  (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", "2015-11-04 17:06:10.066374"], ["updated_at", "2015-11-04 17:06:10.066374"]]  (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", "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", "2015-11-04 17:06:10.069348"], ["updated_at", "2015-11-04 17:06:10.069348"]] 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", "2015-11-04 17:06:10.070984"], ["updated_at", "2015-11-04 17:06:10.070984"]] 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.0ms) 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", "2015-11-04 17:06:10.079399"], ["updated_at", "2015-11-04 17:06:10.079399"]] 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", "2015-11-04 17:06:10.080877"], ["updated_at", "2015-11-04 17:06:10.080877"]] 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", "2n5m0WqGIXxsQ4JMl-iKmg"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.4ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (1.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$ptSxmz88PntvOl77SKP29.e1q2CGWsVAdAAZ54jrpFtjo.r4jdpn2"], ["remember_token", "5b7xRThy_JFiwhOuNQtBEQ"], ["created_at", "2015-11-04 17:06:10.096615"], ["updated_at", "2015-11-04 17:06:10.096615"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:06:10.099988"], ["updated_at", "2015-11-04 17:06:10.099988"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-04 17:06:10.103039"], ["updated_at", "2015-11-04 17:06:10.103039"]]  (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", "2015-11-04 17:06:10.106240"], ["updated_at", "2015-11-04 17:06:10.106240"]] 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", "2015-11-04 17:06:10.107508"], ["updated_at", "2015-11-04 17:06:10.107508"]] 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.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$MI8j5uiHkvk.zJPAJk1ImO3lk6WsdpLQ15s3Nlo4wRSNl03ID2oKO"], ["remember_token", "nPr048PqbRYqRtXA-j96OQ"], ["created_at", "2015-11-04 17:06:10.113175"], ["updated_at", "2015-11-04 17:06:10.113175"]]  (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", "2015-11-04 17:06:10.115002"], ["updated_at", "2015-11-04 17:06:10.115002"]]  (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 1 [["remember_token", "5b7xRThy_JFiwhOuNQtBEQ"]] 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.3ms) Completed 200 OK in 7ms (Views: 3.0ms | 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$Dtie3aIY8CcRUnUJS3UroOxIn3vrb94PEt6Y3RF.gxgSjH0PenU6S"], ["remember_token", "-eRTfUg4M5qVQwRZB5dQqQ"], ["created_at", "2015-11-04 17:06:10.130281"], ["updated_at", "2015-11-04 17:06:10.130281"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:06:10.133696"], ["updated_at", "2015-11-04 17:06:10.133696"]]  (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", "2015-11-04 17:06:10.136917"], ["updated_at", "2015-11-04 17:06:10.136917"]]  (0.1ms) 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", "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", "2015-11-04 17:06:10.140303"], ["updated_at", "2015-11-04 17:06:10.140303"]] 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", "2015-11-04 17:06:10.141495"], ["updated_at", "2015-11-04 17:06:10.141495"]] 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.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$q1ZP6PHkXz9lDLuhszcl4.EYg9EcgHd7gkdDuo6i5v4ctXasWqhfK"], ["remember_token", "Oy6ivQ0ccOGJMuy_J-JX_g"], ["created_at", "2015-11-04 17:06:10.147666"], ["updated_at", "2015-11-04 17:06:10.147666"]]  (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", "2015-11-04 17:06:10.149478"], ["updated_at", "2015-11-04 17:06:10.149478"]]  (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", "-eRTfUg4M5qVQwRZB5dQqQ"]] 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"."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"]] Rendered articles/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (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$a4DJKTK.MjysmbURg1LBaeehLkTOXHF9oO12Wa.cyxj1CLg2cR0/u"], ["remember_token", "vLAVksZwujKOSwLimWRtwA"], ["created_at", "2015-11-04 17:06:10.162672"], ["updated_at", "2015-11-04 17:06:10.162672"]]  (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", "2015-11-04 17:06:10.165832"], ["updated_at", "2015-11-04 17:06:10.165832"]]  (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", "2015-11-04 17:06:10.170123"], ["updated_at", "2015-11-04 17:06:10.170123"]]  (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", 1], ["owner_type", "User"], ["permission_type", 0], ["create_right", "t"], ["created_at", "2015-11-04 17:06:10.173576"], ["updated_at", "2015-11-04 17:06:10.173576"]] 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", "2015-11-04 17:06:10.174836"], ["updated_at", "2015-11-04 17:06:10.174836"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "vLAVksZwujKOSwLimWRtwA"]] 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 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"."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.2ms) Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.4ms)  (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$0sSctJ5p/eBy9QTDDyOmB.p4D6kK9lH5XNOMrAs9NcZggO8lLN07O"], ["remember_token", "pquopsWRhAvhe1xASx6N4g"], ["created_at", "2015-11-04 17:06:10.190959"], ["updated_at", "2015-11-04 17:06:10.190959"]]  (0.0ms) 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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:06:10.194528"], ["updated_at", "2015-11-04 17:06:10.194528"]]  (0.2ms) 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", "2015-11-04 17:06:10.198370"], ["updated_at", "2015-11-04 17:06:10.198370"]]  (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", "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", "2015-11-04 17:06:10.202187"], ["updated_at", "2015-11-04 17:06:10.202187"]] 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", "2015-11-04 17:06:10.204689"], ["updated_at", "2015-11-04 17:06:10.204689"]] 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.1ms) 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$bysETuDTuTq7ubnZQQgtbusBD2aicsT/1ScpNlLFxTSGiID7eQolK"], ["remember_token", "-2WpooLp16fvMetIcFpRgw"], ["created_at", "2015-11-04 17:06:10.211582"], ["updated_at", "2015-11-04 17:06:10.211582"]]  (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", "2015-11-04 17:06:10.213798"], ["updated_at", "2015-11-04 17:06:10.213798"]]  (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", "pquopsWRhAvhe1xASx6N4g"]] 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"."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 7ms (Views: 3.0ms | ActiveRecord: 0.6ms)  (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$RzRnXi2z9..YG4pJz6jHOugWUnu5b65MB4NJ8Ta9Rv86Kv5vyETHS"], ["remember_token", "5Y0wmHGk8zJ6EOocpM0WaA"], ["created_at", "2015-11-04 17:06:10.231218"], ["updated_at", "2015-11-04 17:06:10.231218"]]  (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", "2015-11-04 17:06:10.234708"], ["updated_at", "2015-11-04 17:06:10.234708"]]  (0.2ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-04 17:06:10.240095"], ["updated_at", "2015-11-04 17:06:10.240095"]]  (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", 1], ["owner_type", "User"], ["permission_type", 0], ["update_right", "t"], ["created_at", "2015-11-04 17:06:10.245360"], ["updated_at", "2015-11-04 17:06:10.245360"]] 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", "2015-11-04 17:06:10.247399"], ["updated_at", "2015-11-04 17:06:10.247399"]] 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.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$MEEbb94KQuAr4iZnNtx2vu2Jx2dvhya3IyEhqEP6/Q0ALJJWVzmRC"], ["remember_token", "hNo660xzw3mv7xDoMeLRBg"], ["created_at", "2015-11-04 17:06:10.254856"], ["updated_at", "2015-11-04 17:06:10.254856"]]  (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", "2015-11-04 17:06:10.256829"], ["updated_at", "2015-11-04 17:06:10.256829"]]  (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", "5Y0wmHGk8zJ6EOocpM0WaA"]] Article Load (0.0ms) 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.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.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (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$xatvYYc1Fqlh3mz.r6aGq.W0bYPMlxM8WkeIZzlTz2akQ0hwBOb9u"], ["remember_token", "Z4DgZO8iFwIc8OMN6zEWRw"], ["created_at", "2015-11-04 17:06:10.270224"], ["updated_at", "2015-11-04 17:06:10.270224"]]  (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.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$kdFgrBLDnpgSqP4Q/0xl5.Tjdfu/SYNvieW7KUJQmZtWfBCU2452S"], ["remember_token", "DbGyBz_YC4AvYwF3vHycsQ"], ["created_at", "2015-11-04 17:06:10.278073"], ["updated_at", "2015-11-04 17:06:10.278073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#create as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"2"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "Z4DgZO8iFwIc8OMN6zEWRw"]] Unpermitted parameter: user  (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", "2015-11-04 17:06:10.283495"], ["updated_at", "2015-11-04 17:06:10.283495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/articles/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms)  (0.8ms) 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$8x.qvrGWdNHdYv9XweLXMu.yToegIfo3tw7D/Z4t.dNWEkQYjCs9S"], ["remember_token", "598G6qGKFxS4VbARa0byLg"], ["created_at", "2015-11-04 17:06:10.290705"], ["updated_at", "2015-11-04 17:06:10.290705"]]  (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$chhNLXL6cmsMVe8.dIjqoeSUtvTZAosCj6900C2Bbtl3IpTz/HnxO"], ["remember_token", "u8AV4Ed6yAvID2mzegQ8Rw"], ["created_at", "2015-11-04 17:06:10.300995"], ["updated_at", "2015-11-04 17:06:10.300995"]]  (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", "2015-11-04 17:06:10.302881"], ["updated_at", "2015-11-04 17:06:10.302881"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]] Processing by ArticlesController#update as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"2"}, "id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "598G6qGKFxS4VbARa0byLg"]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: user  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/articles/1 Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction User Load (0.2ms) 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$f4qtq.I9v9t2cy3aY2lwDOYHMiDhn6CvrBbKF6bBHzmUJiMzRsreS"], ["remember_token", "jvhklKikXP6GfmdLFcMO2w"], ["created_at", "2015-11-04 17:06:10.320361"], ["updated_at", "2015-11-04 17:06:10.320361"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#create as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"1"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 20ms (ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction User Load (0.1ms) 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$ANd47ebQ17uo/hLzzfEWxu5OFtIYHS5AHbTvPd0RRwDUu3OFRMnay"], ["remember_token", "FUYm0vSQE1THnCN0SJTY0g"], ["created_at", "2015-11-04 17:06:10.348852"], ["updated_at", "2015-11-04 17:06:10.348852"]]  (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", "2015-11-04 17:06:10.350691"], ["updated_at", "2015-11-04 17:06:10.350691"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]] Processing by ArticlesController#update as HTML Parameters: {"article"=>{"title"=>"Des ours meurt chaque année", "content"=>"Chaque année, plus de 1000 ourse blancs meurt", "user"=>"1"}, "id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$JW5DIXM7E1p46Uvpnyrqie1tDOypw4DU7N99omg4wJ8L8shKxOlt6"], ["remember_token", "9fBJmOlL9OpEAi__fV1UlQ"], ["created_at", "2015-11-04 17:06:18.881876"], ["updated_at", "2015-11-04 17:06:18.881876"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) 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", "2015-11-04 17:06:18.940197"], ["updated_at", "2015-11-04 17:06:18.940197"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.8ms) 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", "2015-11-04 17:06:18.962500"], ["updated_at", "2015-11-04 17:06:18.962500"]]  (0.0ms) 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", "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", "2015-11-04 17:06:18.992140"], ["updated_at", "2015-11-04 17:06:18.992140"]] 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", "2015-11-04 17:06:18.994987"], ["updated_at", "2015-11-04 17:06:18.994987"]] 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 Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$Xf.6zHwg2W8d2LJ4m/GrWuWldEfAsq6u5dMtP5qQkOBdrr4Crmx5O"], ["remember_token", "yieG-8_jy5ro7eAsXCOVUg"], ["created_at", "2015-11-04 17:06:25.942989"], ["updated_at", "2015-11-04 17:06:25.942989"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-11-04 17:06:26.000010"], ["updated_at", "2015-11-04 17:06:26.000010"]]  (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", "2015-11-04 17:06:26.022477"], ["updated_at", "2015-11-04 17:06:26.022477"]]  (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", "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", "2015-11-04 17:06:26.053363"], ["updated_at", "2015-11-04 17:06:26.053363"]] 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", "2015-11-04 17:06:26.056448"], ["updated_at", "2015-11-04 17:06:26.056448"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "yieG-8_jy5ro7eAsXCOVUg"]] Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.8ms) SELECT "adeia_groups".* 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" = 'anonymous' [["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" = 'anonymous' [["read_right", "t"]] Completed 500 Internal Server Error in 37ms (ActiveRecord: 2.3ms)  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$jNf1ItjCiL2vvePfhoTZ3ezHcQclFrYCz0vhX.W1a8hgzMCvq1FM2"], ["remember_token", "7yYYhy7nXZ98mMhU2RA2Hw"], ["created_at", "2015-11-04 17:06:42.296479"], ["updated_at", "2015-11-04 17:06:42.296479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) 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", "2015-11-04 17:06:42.357225"], ["updated_at", "2015-11-04 17:06:42.357225"]]  (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", "2015-11-04 17:06:42.376623"], ["updated_at", "2015-11-04 17:06:42.376623"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) 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", "2015-11-04 17:06:42.406895"], ["updated_at", "2015-11-04 17:06:42.406895"]] 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", "2015-11-04 17:06:42.411134"], ["updated_at", "2015-11-04 17:06:42.411134"]] 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.0ms) 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", "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", "2015-11-04 17:06:42.427681"], ["updated_at", "2015-11-04 17:06:42.427681"]] 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", "2015-11-04 17:06:42.429025"], ["updated_at", "2015-11-04 17:06:42.429025"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "7yYYhy7nXZ98mMhU2RA2Hw"]] Adeia::Token Load (0.8ms) 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" = 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" = 'anonymous' [["read_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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'anonymous' [["read_right", "t"]] Completed 500 Internal Server Error in 47ms (ActiveRecord: 2.6ms)  (1.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:06:59.990589"], ["updated_at", "2015-11-04 17:06:59.990589"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-11-04 17:07:00.010607"], ["updated_at", "2015-11-04 17:07:00.010607"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$EGcGHmgStxacFsSsWunk0eGSRuhiSr7iCoIUw30IrrkOu964MUjSO"], ["remember_token", "M0uE-jWCkhfjx2XRoBpwrg"], ["created_at", "2015-11-04 17:07:13.591145"], ["updated_at", "2015-11-04 17:07:13.591145"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:07:13.642990"], ["updated_at", "2015-11-04 17:07:13.642990"]]  (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", "2015-11-04 17:07:13.662597"], ["updated_at", "2015-11-04 17:07:13.662597"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) 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", "2015-11-04 17:07:13.696696"], ["updated_at", "2015-11-04 17:07:13.696696"]] 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", "2015-11-04 17:07:13.699647"], ["updated_at", "2015-11-04 17:07:13.699647"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "M0uE-jWCkhfjx2XRoBpwrg"]] Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (4.8ms) SELECT "adeia_groups".* 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" = 'anonymous' [["read_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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_elements"."name" = 'anonymous' [["read_right", "t"]] Completed 500 Internal Server Error in 42ms (ActiveRecord: 6.5ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$tz0zXc8ilAWGTkyk2KWuKexqw8oybOEK5/RgylSUBsHox6mgz/0Wu"], ["remember_token", "CTRkmOQIAUACwpBbRyysiA"], ["created_at", "2015-11-04 17:07:37.856540"], ["updated_at", "2015-11-04 17:07:37.856540"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "anonymous"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "anonymous"], ["created_at", "2015-11-04 17:07:37.921636"], ["updated_at", "2015-11-04 17:07:37.921636"]]  (0.0ms) 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", "2015-11-04 17:07:37.941295"], ["updated_at", "2015-11-04 17:07:37.941295"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.0ms) 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", "2015-11-04 17:07:37.970397"], ["updated_at", "2015-11-04 17:07:37.970397"]] 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", "2015-11-04 17:07:37.975009"], ["updated_at", "2015-11-04 17:07:37.975009"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "CTRkmOQIAUACwpBbRyysiA"]] Adeia::Token Load (0.8ms) 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" = 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" = 'anonymous' [["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" = 1 AND "adeia_elements"."name" = 'anonymous' [["read_right", "t"]] Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 28ms (ActiveRecord: 2.8ms)  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 30ms (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 Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.3ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 29ms (ActiveRecord: 0.7ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$MP2kQO6YBYQbvDrAAV.a7uytCE3aGqXmhawwHTyQcw1jFR5IxDqX2"], ["remember_token", "sIKpkR_PQ6ed0PZkmZYo9w"], ["created_at", "2015-11-04 17:19:04.388671"], ["updated_at", "2015-11-04 17:19:04.388671"]]  (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", "sIKpkR_PQ6ed0PZkmZYo9w"]] Rendered text template (0.0ms) Completed 200 OK in 12ms (Views: 8.7ms | 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 1ms (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$GYRT4jFCnfZUMahoY3stkeSXjRrkgoWJXEImk8sp/jyWLOkmPiWl."], ["remember_token", "frODmH_59tI-c7CrBHq4Pw"], ["created_at", "2015-11-04 17:19:04.426613"], ["updated_at", "2015-11-04 17:19:04.426613"]]  (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 1 [["remember_token", "frODmH_59tI-c7CrBHq4Pw"]] Rendered text template (0.0ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$99UB1EOCrdX/0YzwfUGTGOUIfRN2gNWZbE0z7s04y/AZibpMp1fRG"], ["remember_token", "2u0SfK_11n0Qw5bJ9nixwA"], ["created_at", "2015-11-04 17:19:16.352536"], ["updated_at", "2015-11-04 17:19:16.352536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) 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", "2015-11-04 17:19:16.404142"], ["updated_at", "2015-11-04 17:19:16.404142"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-11-04 17:19:16.425043"], ["updated_at", "2015-11-04 17:19:16.425043"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) 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", "2015-11-04 17:19:16.455556"], ["updated_at", "2015-11-04 17:19:16.455556"]] 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", "2015-11-04 17:19:16.458693"], ["updated_at", "2015-11-04 17:19:16.458693"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "2u0SfK_11n0Qw5bJ9nixwA"]] Adeia::Token Load (0.8ms) 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" = 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" = 'articles' [["read_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"."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 47ms (Views: 19.6ms | ActiveRecord: 2.6ms)  (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$i89JAvWRvcRKq/uj9te3kuK1SzZDdADdgxNn/Amohs5foXtkv0NZe"], ["remember_token", "GzrQJF9fhma5vO2s0cdNTg"], ["created_at", "2015-11-04 17:19:16.528122"], ["updated_at", "2015-11-04 17:19:16.528122"]]  (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", "2015-11-04 17:19:16.533414"], ["updated_at", "2015-11-04 17:19:16.533414"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-04 17:19:16.537964"], ["updated_at", "2015-11-04 17:19:16.537964"]]  (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", "2015-11-04 17:19:16.542723"], ["updated_at", "2015-11-04 17:19:16.542723"]] 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", "2015-11-04 17:19:16.544563"], ["updated_at", "2015-11-04 17:19:16.544563"]] 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", "GzrQJF9fhma5vO2s0cdNTg"]] 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.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.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" = 'articles' [["read_right", "t"]] Adeia::Token Load (0.4ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered articles/index.html.erb within layouts/application (1.1ms) Completed 200 OK in 18ms (Views: 2.4ms | ActiveRecord: 1.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$4vkCAOnhsDC8Zysc3PMvzOmwHU7BDaBtUaREJKA290Eka55LfQkIK"], ["remember_token", "_9Wk0eFxqXzf9EYBGrX2hg"], ["created_at", "2015-11-04 17:19:16.578358"], ["updated_at", "2015-11-04 17:19:16.578358"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:19:16.584853"], ["updated_at", "2015-11-04 17:19:16.584853"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-04 17:19:16.589858"], ["updated_at", "2015-11-04 17:19:16.589858"]]  (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", "2015-11-04 17:19:16.595755"], ["updated_at", "2015-11-04 17:19:16.595755"]] 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", "2015-11-04 17:19:16.598496"], ["updated_at", "2015-11-04 17:19:16.598496"]] 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.8ms) 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$PnHAChSEf.FBccOwcoI0IO09SBD9Pyt.lXwJbfTz1KWHvktxCpWxy"], ["remember_token", "6X1ADk1GLePzqLs4WMjCsw"], ["created_at", "2015-11-04 17:19:16.620640"], ["updated_at", "2015-11-04 17:19:16.620640"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.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", "2015-11-04 17:19:16.626331"], ["updated_at", "2015-11-04 17:19:16.626331"]]  (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.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", "2015-11-04 17:19:16.632509"], ["updated_at", "2015-11-04 17:19:16.632509"]]  (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", "2015-11-04 17:19:16.635846"], ["updated_at", "2015-11-04 17:19:16.635846"]]  (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", "2015-11-04 17:19:16.639553"], ["updated_at", "2015-11-04 17:19:16.639553"]]  (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.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", "2015-11-04 17:19:16.643016"], ["updated_at", "2015-11-04 17:19:16.643016"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by ArticlesController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "_9Wk0eFxqXzf9EYBGrX2hg"]] 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.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 10ms (Views: 1.7ms | ActiveRecord: 1.1ms)  (1.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$zfwX0ar/8fu8TYzJr/r70Oohh6f2O4b78Mus3KdxfBBCMkHgp.IWO"], ["remember_token", "9VJMnOjTrdL9o7eb-mXwqg"], ["created_at", "2015-11-04 17:19:16.668779"], ["updated_at", "2015-11-04 17:19:16.668779"]]  (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", "2015-11-04 17:19:16.676367"], ["updated_at", "2015-11-04 17:19:16.676367"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-04 17:19:16.681630"], ["updated_at", "2015-11-04 17:19:16.681630"]]  (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", "2015-11-04 17:19:16.688187"], ["updated_at", "2015-11-04 17:19:16.688187"]] 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", "2015-11-04 17:19:16.690528"], ["updated_at", "2015-11-04 17:19:16.690528"]] 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 "articles" ("title", "content", "user_id", "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", "2015-11-04 17:19:16.699958"], ["updated_at", "2015-11-04 17:19:16.699958"]]  (0.3ms) 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", "2015-11-04 17:19:16.705094"], ["updated_at", "2015-11-04 17:19:16.705094"]]  (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", "2015-11-04 17:19:16.709579"], ["updated_at", "2015-11-04 17:19:16.709579"]]  (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", "2015-11-04 17:19:16.714411"], ["updated_at", "2015-11-04 17:19:16.714411"]]  (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", "2015-11-04 17:19:16.717815"], ["updated_at", "2015-11-04 17:19:16.717815"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.5ms) 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$kfhu0.bdajJABd.yzWeVIOKcX0Yr6en9qCYsNof56CQrp1ucUaJoi"], ["remember_token", "jnsDNXnU96ZMzhqc6Qj0Ag"], ["created_at", "2015-11-04 17:19:16.723744"], ["updated_at", "2015-11-04 17:19:16.723744"]]  (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", "2015-11-04 17:19:16.726579"], ["updated_at", "2015-11-04 17:19:16.726579"]]  (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", "2015-11-04 17:19:16.730542"], ["updated_at", "2015-11-04 17:19:16.730542"]]  (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", "2015-11-04 17:19:16.733320"], ["updated_at", "2015-11-04 17:19:16.733320"]]  (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", "2015-11-04 17:19:16.736595"], ["updated_at", "2015-11-04 17:19:16.736595"]]  (0.7ms) 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", "2015-11-04 17:19:16.739937"], ["updated_at", "2015-11-04 17:19:16.739937"]]  (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", "9VJMnOjTrdL9o7eb-mXwqg"]] 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.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.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" = '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.5ms) Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 1.0ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (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$oSf8oWruXYsxZrXvCmTC6.gjXMcg.tSM6honEdGQ6crJb5dWo1MKu"], ["remember_token", "xjK6zaiW2Nha2prm6PnTKg"], ["created_at", "2015-11-04 17:19:16.762214"], ["updated_at", "2015-11-04 17:19:16.762214"]]  (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", "2015-11-04 17:19:16.767198"], ["updated_at", "2015-11-04 17:19:16.767198"]]  (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", "2015-11-04 17:19:16.770466"], ["updated_at", "2015-11-04 17:19:16.770466"]]  (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", "2015-11-04 17:19:16.774450"], ["updated_at", "2015-11-04 17:19:16.774450"]] 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", "2015-11-04 17:19:16.776213"], ["updated_at", "2015-11-04 17:19:16.776213"]] 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.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", "2015-11-04 17:19:16.780584"], ["updated_at", "2015-11-04 17:19:16.780584"]]  (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", "2015-11-04 17:19:16.782660"], ["updated_at", "2015-11-04 17:19:16.782660"]]  (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", "2015-11-04 17:19:16.784792"], ["updated_at", "2015-11-04 17:19:16.784792"]]  (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", "2015-11-04 17:19:16.788536"], ["updated_at", "2015-11-04 17:19:16.788536"]]  (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", "2015-11-04 17:19:16.805597"], ["updated_at", "2015-11-04 17:19:16.805597"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$B9RNI.rFhX9gYxIlTvJVGuz0/QDuYKTF4AjIOkwxoSOsjShAObeRW"], ["remember_token", "u7mPJVl7avnrCyx9Si5DRg"], ["created_at", "2015-11-04 17:19:16.810441"], ["updated_at", "2015-11-04 17:19:16.810441"]]  (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", "2015-11-04 17:19:16.812660"], ["updated_at", "2015-11-04 17:19:16.812660"]]  (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", "2015-11-04 17:19:16.815494"], ["updated_at", "2015-11-04 17:19:16.815494"]]  (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", "2015-11-04 17:19:16.817659"], ["updated_at", "2015-11-04 17:19:16.817659"]]  (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", "2015-11-04 17:19:16.819803"], ["updated_at", "2015-11-04 17:19:16.819803"]]  (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", "2015-11-04 17:19:16.822280"], ["updated_at", "2015-11-04 17:19:16.822280"]]  (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", "2015-11-04 17:19:16.824515"], ["updated_at", "2015-11-04 17:19:16.824515"]]  (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", "2015-11-04 17:19:16.831304"], ["updated_at", "2015-11-04 17:19:16.831304"]] 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", "2015-11-04 17:19:16.833045"], ["updated_at", "2015-11-04 17:19:16.833045"]] 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 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "xjK6zaiW2Nha2prm6PnTKg"]] 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.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"]] 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 9ms (Views: 1.3ms | ActiveRecord: 0.9ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (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$ECSUMgxUthr87IdeFZ8aee0zaA9jqt79WCx/yLJeTkskqOnDelFoi"], ["remember_token", "40aHd-TgHE_ODyz_lt11-Q"], ["created_at", "2015-11-04 17:19:16.854135"], ["updated_at", "2015-11-04 17:19:16.854135"]]  (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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$pwakFm0dncqKzJ0elpcMP.5Eu3kE67XFq9ga5FF/E4Wuq3gFQsQUW"], ["remember_token", "B1MXIlHvnNZVaPXL3Fxblg"], ["created_at", "2015-11-04 17:19:16.858630"], ["updated_at", "2015-11-04 17:19:16.858630"]]  (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", "2015-11-04 17:19:16.861638"], ["updated_at", "2015-11-04 17:19:16.861638"]]  (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.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", "2015-11-04 17:19:16.865524"], ["updated_at", "2015-11-04 17:19:16.865524"]]  (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", "2015-11-04 17:19:16.869183"], ["updated_at", "2015-11-04 17:19:16.869183"]]  (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", "2015-11-04 17:19:16.872241"], ["updated_at", "2015-11-04 17:19:16.872241"]]  (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", "2015-11-04 17:19:16.874336"], ["updated_at", "2015-11-04 17:19:16.874336"]]  (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", "2015-11-04 17:19:16.876391"], ["updated_at", "2015-11-04 17:19:16.876391"]]  (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", "2015-11-04 17:19:16.879520"], ["updated_at", "2015-11-04 17:19:16.879520"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:19:16.882963"], ["updated_at", "2015-11-04 17:19:16.882963"]]  (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", "2015-11-04 17:19:16.886618"], ["updated_at", "2015-11-04 17:19:16.886618"]]  (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", "2015-11-04 17:19:16.890189"], ["updated_at", "2015-11-04 17:19:16.890189"]] 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", "2015-11-04 17:19:16.891722"], ["updated_at", "2015-11-04 17:19:16.891722"]] 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", "2015-11-04 17:19:16.900238"], ["updated_at", "2015-11-04 17:19:16.900238"]] 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", "2015-11-04 17:19:16.902027"], ["updated_at", "2015-11-04 17:19:16.902027"]] 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", "40aHd-TgHE_ODyz_lt11-Q"]] 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 7ms (Views: 1.0ms | ActiveRecord: 0.6ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (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$wkK/TQhcvGJbq1AmAxIgae0ldHdlNZKWmTQO0s2Vs9WcR79fEbBvG"], ["remember_token", "KP-MsBLiPSuq-fLiieX0Tg"], ["created_at", "2015-11-04 17:19:16.920099"], ["updated_at", "2015-11-04 17:19:16.920099"]]  (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", "2015-11-04 17:19:16.923781"], ["updated_at", "2015-11-04 17:19:16.923781"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-04 17:19:16.927084"], ["updated_at", "2015-11-04 17:19:16.927084"]]  (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", "2015-11-04 17:19:16.931040"], ["updated_at", "2015-11-04 17:19:16.931040"]] 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", "2015-11-04 17:19:16.932561"], ["updated_at", "2015-11-04 17:19:16.932561"]] 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.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$C7rU3.djieuEXFxx5EesFerzeJaVpWSKTlzKBz0/5vFMphcHHCNd6"], ["remember_token", "5f-ilTA9CV1rj_vLf-HaWg"], ["created_at", "2015-11-04 17:19:16.940130"], ["updated_at", "2015-11-04 17:19:16.940130"]]  (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", "2015-11-04 17:19:16.942949"], ["updated_at", "2015-11-04 17:19:16.942949"]]  (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 1 [["remember_token", "KP-MsBLiPSuq-fLiieX0Tg"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 8ms (Views: 3.4ms | ActiveRecord: 0.6ms)  (4.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$vk4WGXT2TXb19d1Uy2fWne3dDtoGV7gjvw3Mixlqq4r0t57E.G36."], ["remember_token", "7GyRMWlN6AQpgSbxGd9bCg"], ["created_at", "2015-11-04 17:19:16.963755"], ["updated_at", "2015-11-04 17:19:16.963755"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:19:16.968188"], ["updated_at", "2015-11-04 17:19:16.968188"]]  (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", "2015-11-04 17:19:16.971909"], ["updated_at", "2015-11-04 17:19:16.971909"]]  (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", "2015-11-04 17:19:16.975194"], ["updated_at", "2015-11-04 17:19:16.975194"]] 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", "2015-11-04 17:19:16.976400"], ["updated_at", "2015-11-04 17:19:16.976400"]] 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$CnKoni0tfuy62HaUrxtCUuXmAM2rBMDrb.RtZm2xpA4hjqH9MXt.6"], ["remember_token", "eYHgp1OT6jKtjlQcpsPSoA"], ["created_at", "2015-11-04 17:19:16.983572"], ["updated_at", "2015-11-04 17:19:16.983572"]]  (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", "2015-11-04 17:19:16.986094"], ["updated_at", "2015-11-04 17:19:16.986094"]]  (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 1 [["remember_token", "7GyRMWlN6AQpgSbxGd9bCg"]] 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.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::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 articles/show.html.erb within layouts/application (0.4ms) Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.6ms)  (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$0UBBUaKRsoatHQGebSF6PeYrEJR9c/67K3SPdhCi1EHUfVKa83IfG"], ["remember_token", "tlrBNiQZCvHyqZDdgspxVA"], ["created_at", "2015-11-04 17:19:17.002338"], ["updated_at", "2015-11-04 17:19:17.002338"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:19:17.005864"], ["updated_at", "2015-11-04 17:19:17.005864"]]  (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", "2015-11-04 17:19:17.011517"], ["updated_at", "2015-11-04 17:19:17.011517"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", "User"], ["permission_type", 0], ["create_right", "t"], ["created_at", "2015-11-04 17:19:17.016010"], ["updated_at", "2015-11-04 17:19:17.016010"]] 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", "2015-11-04 17:19:17.018458"], ["updated_at", "2015-11-04 17:19:17.018458"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "tlrBNiQZCvHyqZDdgspxVA"]] 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 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.3ms) Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 0.5ms)  (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$MAYZ9VaH8ZA73HLscgtomO9.SbEvxh5oV6cCb.ICLEljKtbRZtK6u"], ["remember_token", "ttbMn2dGRTyrAhqntRNGFQ"], ["created_at", "2015-11-04 17:19:17.035665"], ["updated_at", "2015-11-04 17:19:17.035665"]]  (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", "2015-11-04 17:19:17.039363"], ["updated_at", "2015-11-04 17:19:17.039363"]]  (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", "2015-11-04 17:19:17.042538"], ["updated_at", "2015-11-04 17:19:17.042538"]]  (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", 1], ["owner_type", "User"], ["permission_type", 0], ["update_right", "t"], ["created_at", "2015-11-04 17:19:17.045741"], ["updated_at", "2015-11-04 17:19:17.045741"]] 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", "2015-11-04 17:19:17.046983"], ["updated_at", "2015-11-04 17:19:17.046983"]] 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.1ms) 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$MLZWdZGx70YeeyQ6RFAGyeEq7M6RG5fieoAbCHg1bdBh2bHXID.I2"], ["remember_token", "Y57uwtBnCZP80CPWQZ5GVw"], ["created_at", "2015-11-04 17:19:17.052565"], ["updated_at", "2015-11-04 17:19:17.052565"]]  (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", "2015-11-04 17:19:17.055138"], ["updated_at", "2015-11-04 17:19:17.055138"]]  (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", "ttbMn2dGRTyrAhqntRNGFQ"]] 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"."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.5ms) Completed 200 OK in 9ms (Views: 4.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$HbKKzdv5NHVrI841CLfKQOo5u4bGaoMI4A5L12H/qYtYvIpwyNG0e"], ["remember_token", "QqEPna3XODhioLzjatl15Q"], ["created_at", "2015-11-04 17:19:17.072263"], ["updated_at", "2015-11-04 17:19:17.072263"]]  (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", "2015-11-04 17:19:17.075870"], ["updated_at", "2015-11-04 17:19:17.075870"]]  (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", "2015-11-04 17:19:17.079161"], ["updated_at", "2015-11-04 17:19:17.079161"]]  (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", 1], ["owner_type", "User"], ["permission_type", 0], ["update_right", "t"], ["created_at", "2015-11-04 17:19:17.083554"], ["updated_at", "2015-11-04 17:19:17.083554"]] 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", "2015-11-04 17:19:17.085173"], ["updated_at", "2015-11-04 17:19:17.085173"]] 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.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$h5HT8OaHHlmAPnnBg4JSDOse3mRVwJXI7mbPIyy4U1VTqg/1yRUcK"], ["remember_token", "ufXjeK_wrZn8rQaCsR55ow"], ["created_at", "2015-11-04 17:19:17.091317"], ["updated_at", "2015-11-04 17:19:17.091317"]]  (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", "2015-11-04 17:19:17.092995"], ["updated_at", "2015-11-04 17:19:17.092995"]]  (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", "QqEPna3XODhioLzjatl15Q"]] 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 7ms (Views: 1.0ms | ActiveRecord: 0.6ms)  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$0YNOLBq39EDcLxhloLMbMeliya8aMfjSp8qKgHEk2cloqgGSh52ge"], ["remember_token", "WvRdSDTEnHNN8DGSeG3HmQ"], ["created_at", "2015-11-04 17:23:00.624446"], ["updated_at", "2015-11-04 17:23:00.624446"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) 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", "2015-11-04 17:23:00.681093"], ["updated_at", "2015-11-04 17:23:00.681093"]]  (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", "2015-11-04 17:23:00.700395"], ["updated_at", "2015-11-04 17:23:00.700395"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) 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", "2015-11-04 17:23:00.730616"], ["updated_at", "2015-11-04 17:23:00.730616"]] 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", "2015-11-04 17:23:00.734536"], ["updated_at", "2015-11-04 17:23:00.734536"]] 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 (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", "2015-11-04 17:23:00.760586"], ["updated_at", "2015-11-04 17:23:00.760586"]]  (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", "2015-11-04 17:23:00.764044"], ["updated_at", "2015-11-04 17:23:00.764044"]]  (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", "2015-11-04 17:23:00.765945"], ["updated_at", "2015-11-04 17:23:00.765945"]]  (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", "2015-11-04 17:23:00.767581"], ["updated_at", "2015-11-04 17:23:00.767581"]]  (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", "2015-11-04 17:23:00.769337"], ["updated_at", "2015-11-04 17:23:00.769337"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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$lEygAmU/kSILDS1RKyLSrOND2PSJ5kGd3sATcWDHOXxsivzFch/W6"], ["remember_token", "tWgSB7xZ43l7W5yz5_WQ1g"], ["created_at", "2015-11-04 17:23:00.776208"], ["updated_at", "2015-11-04 17:23:00.776208"]]  (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", "2015-11-04 17:23:00.777950"], ["updated_at", "2015-11-04 17:23:00.777950"]]  (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", "2015-11-04 17:23:00.780138"], ["updated_at", "2015-11-04 17:23:00.780138"]]  (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", "2015-11-04 17:23:00.782147"], ["updated_at", "2015-11-04 17:23:00.782147"]]  (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.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", "2015-11-04 17:23:00.784677"], ["updated_at", "2015-11-04 17:23:00.784677"]]  (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", "2015-11-04 17:23:00.788404"], ["updated_at", "2015-11-04 17:23:00.788404"]]  (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 1 [["remember_token", "WvRdSDTEnHNN8DGSeG3HmQ"]] Adeia::Token Load (0.7ms) 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" = 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" = 'articles' [["read_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"."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 44ms (Views: 16.7ms | ActiveRecord: 2.5ms) Article Load (0.7ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$AvTnUycMeVmjgou/7OQRAeGcghVOzHdJN389Zwi.jEH15mF8FF46C"], ["remember_token", "I5JV-cTIU35IQjbHfYJmbw"], ["created_at", "2015-11-04 17:24:10.617358"], ["updated_at", "2015-11-04 17:24:10.617358"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-11-04 17:24:10.671170"], ["updated_at", "2015-11-04 17:24:10.671170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-11-04 17:24:10.695172"], ["updated_at", "2015-11-04 17:24:10.695172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) 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", "2015-11-04 17:24:10.726007"], ["updated_at", "2015-11-04 17:24:10.726007"]] 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", "2015-11-04 17:24:10.729350"], ["updated_at", "2015-11-04 17:24:10.729350"]] 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.9ms) INSERT INTO "articles" ("title", "content", "user_id", "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", "2015-11-04 17:24:10.751407"], ["updated_at", "2015-11-04 17:24:10.751407"]]  (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", "2015-11-04 17:24:10.754687"], ["updated_at", "2015-11-04 17:24:10.754687"]]  (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", "2015-11-04 17:24:10.756910"], ["updated_at", "2015-11-04 17:24:10.756910"]]  (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", "2015-11-04 17:24:10.759081"], ["updated_at", "2015-11-04 17:24:10.759081"]]  (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", "2015-11-04 17:24:10.760858"], ["updated_at", "2015-11-04 17:24:10.760858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) 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$iKySji.BCZJDpuiN0z6sxe9K9u243hG4sPeELDBCi2D4ZXs37cCdu"], ["remember_token", "9-WB8GSg_XWGNc1D_740MQ"], ["created_at", "2015-11-04 17:24:10.770342"], ["updated_at", "2015-11-04 17:24:10.770342"]]  (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", "2015-11-04 17:24:10.772272"], ["updated_at", "2015-11-04 17:24:10.772272"]]  (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 "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-11-04 17:24:10.774581"], ["updated_at", "2015-11-04 17:24:10.774581"]]  (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", "2015-11-04 17:24:10.779066"], ["updated_at", "2015-11-04 17:24:10.779066"]]  (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", "2015-11-04 17:24:10.782175"], ["updated_at", "2015-11-04 17:24:10.782175"]]  (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", "2015-11-04 17:24:10.784724"], ["updated_at", "2015-11-04 17:24:10.784724"]]  (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 1 [["remember_token", "I5JV-cTIU35IQjbHfYJmbw"]] Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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" = 'articles' [["read_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"."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.8ms) Completed 200 OK in 45ms (Views: 17.9ms | ActiveRecord: 2.0ms) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Completed 500 Internal Server Error in 23ms (ActiveRecord: 0.8ms)  (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$.TFaYCDBye4yuf8vP2oCbeEz0Tu8Psctlib2WNW7Jd6D63Ymce8cC"], ["remember_token", "joEa3mkhviHXj2vzxBfQmw"], ["created_at", "2015-11-04 17:25:03.962502"], ["updated_at", "2015-11-04 17:25:03.962502"]]  (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", "joEa3mkhviHXj2vzxBfQmw"]] Rendered text template (0.1ms) Completed 200 OK in 12ms (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 1ms (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$dHznipwZNq1FwaFwCySqpeUcN3y6IB5e2LFpUmBUoCOWIGrqdHcKy"], ["remember_token", "AmZBMRrqC9v0cX4XcFoedQ"], ["created_at", "2015-11-04 17:25:04.001405"], ["updated_at", "2015-11-04 17:25:04.001405"]]  (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", "AmZBMRrqC9v0cX4XcFoedQ"]] Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)  (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 1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 21ms (ActiveRecord: 1.0ms)  (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 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Adeia::Token Load (0.5ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 39ms (ActiveRecord: 1.4ms)  (0.2ms) 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 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.4ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Adeia::Token Load (0.8ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 34ms (Views: 8.4ms | ActiveRecord: 1.8ms)  (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 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 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 34ms (Views: 8.4ms | ActiveRecord: 1.6ms)  (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 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 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.8ms)  (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 Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 Adeia::Token Load (0.5ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 37ms (Views: 8.6ms | ActiveRecord: 1.6ms)  (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 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.4ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Completed 500 Internal Server Error in 11ms (ActiveRecord: 1.0ms)  (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 Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 39ms (Views: 12.3ms | ActiveRecord: 1.7ms)  (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 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 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 34ms (Views: 7.8ms | ActiveRecord: 1.6ms)  (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 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 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Adeia::Token Load (1.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.1ms) Completed 200 OK in 57ms (Views: 11.3ms | ActiveRecord: 2.1ms)  (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 Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.1ms) Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)  (0.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$lF98kUp4JYGwJOeovc/RWOS778Y.yztYfwwIHtiKOTK5nxZ3tkhAq"], ["remember_token", "l0a-rOPUnzCKIsv_sqU9xg"], ["created_at", "2015-11-04 17:34:22.062690"], ["updated_at", "2015-11-04 17:34:22.062690"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "anonymous"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "anonymous"], ["created_at", "2015-11-04 17:34:22.089642"], ["updated_at", "2015-11-04 17:34:22.089642"]]  (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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-11-04 17:34:22.116236"], ["updated_at", "2015-11-04 17:34:22.116236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-11-04 17:34:22.128857"], ["updated_at", "2015-11-04 17:34:22.128857"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Adeia::Token Load (6.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 40ms (Views: 8.2ms | ActiveRecord: 7.7ms)  (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 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.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$TxgxJz1O8BfwLDkAQihrCuotH0dM7/IKWNkqerY11l71Eb8zhU1Q6"], ["remember_token", "U7X9XzNTFoT-fQpjteA0xw"], ["created_at", "2015-11-04 17:34:34.470243"], ["updated_at", "2015-11-04 17:34:34.470243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "anonymous"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "anonymous"], ["created_at", "2015-11-04 17:34:34.500817"], ["updated_at", "2015-11-04 17:34:34.500817"]]  (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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-11-04 17:34:34.519917"], ["updated_at", "2015-11-04 17:34:34.519917"]]  (0.0ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-04 17:34:34.531013"], ["updated_at", "2015-11-04 17:34:34.531013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) 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", "Adeia::Group"], ["permission_type", 0], ["read_right", "t"], ["created_at", "2015-11-04 17:34:34.556979"], ["updated_at", "2015-11-04 17:34:34.556979"]] 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", "2015-11-04 17:34:34.560182"], ["updated_at", "2015-11-04 17:34:34.560182"]] 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", "U7X9XzNTFoT-fQpjteA0xw"]] Adeia::Group Load (0.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" = 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" = '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 13ms (Views: 0.3ms | ActiveRecord: 1.1ms)  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 39ms (Views: 8.9ms | ActiveRecord: 1.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 Adeia::Token Load (0.2ms) 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.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$qQz7JdA1htsWEhm6.58VtO5LwmECklBGRZAWQwbSdMIpqJdhtpAEK"], ["remember_token", "4E6Hcr11CzUJFLPWwMD_FA"], ["created_at", "2015-11-04 17:35:07.613864"], ["updated_at", "2015-11-04 17:35:07.613864"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) 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", "2015-11-04 17:35:07.642867"], ["updated_at", "2015-11-04 17:35:07.642867"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-11-04 17:35:07.662556"], ["updated_at", "2015-11-04 17:35:07.662556"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.4ms) 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", "2015-11-04 17:35:07.673826"], ["updated_at", "2015-11-04 17:35:07.673826"]]  (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", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["adeia_element_id", 1], ["owner_id", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["read_right", "t"], ["created_at", "2015-11-04 17:35:07.701426"], ["updated_at", "2015-11-04 17:35:07.701426"]] 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", "2015-11-04 17:35:07.705178"], ["updated_at", "2015-11-04 17:35:07.705178"]] 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", "4E6Hcr11CzUJFLPWwMD_FA"]] Adeia::Group Load (0.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" = 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" = '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 11ms (Views: 0.4ms | ActiveRecord: 1.1ms)  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 33ms (Views: 8.5ms | ActiveRecord: 1.6ms)  (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 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 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)  (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$7NX12ci6fD9ey4WEv/cxw.Teqeh51fywZL5I.qCPQGnN12x6heGO2"], ["remember_token", "45eByx9_BO1XNV-LiBAMIg"], ["created_at", "2015-11-04 17:35:33.584030"], ["updated_at", "2015-11-04 17:35:33.584030"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) 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", "2015-11-04 17:35:33.608698"], ["updated_at", "2015-11-04 17:35:33.608698"]]  (0.0ms) 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", "2015-11-04 17:35:33.626851"], ["updated_at", "2015-11-04 17:35:33.626851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) 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", "2015-11-04 17:35:33.653891"], ["updated_at", "2015-11-04 17:35:33.653891"]] 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", "2015-11-04 17:35:33.656914"], ["updated_at", "2015-11-04 17:35:33.656914"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "45eByx9_BO1XNV-LiBAMIg"]] Adeia::Group Load (0.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" = 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 17ms (Views: 0.4ms | ActiveRecord: 1.4ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Completed 500 Internal Server Error in 29ms (ActiveRecord: 0.9ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$e6DKSFpZrYAFpqG8Z2rdpOfJL.cRvH8S/h0QjOI7tP4AeQCmRXdny"], ["remember_token", "Cp120mkgOPC2ovfSXRel_A"], ["created_at", "2015-11-04 17:39:05.569370"], ["updated_at", "2015-11-04 17:39:05.569370"]]  (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", "Cp120mkgOPC2ovfSXRel_A"]] Rendered text template (0.0ms) Completed 200 OK in 12ms (Views: 8.9ms | ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 2ms (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$pBbduIYZEwH6nxyrv.byr.3ttNpCEYyV7QVZ63w3EBTFUG4GCkU4O"], ["remember_token", "Vwkws41r7eoqDsAqNTH-Bw"], ["created_at", "2015-11-04 17:39:05.611884"], ["updated_at", "2015-11-04 17:39:05.611884"]]  (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", "Vwkws41r7eoqDsAqNTH-Bw"]] Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.7ms | 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 Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 23ms (Views: 0.6ms | 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 1 Adeia::Token Load (0.2ms) 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.6ms | ActiveRecord: 0.4ms)  (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$erdIr9lVXRc3/lmUWNr0qeIP8.PAek3ml6ia36rXaNNdaaiiMG0k6"], ["remember_token", "PkbjFI-TI6ipLYnu8KIIWQ"], ["created_at", "2015-11-04 17:39:05.678732"], ["updated_at", "2015-11-04 17:39:05.678732"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:39:05.703907"], ["updated_at", "2015-11-04 17:39:05.703907"]]  (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", "2015-11-04 17:39:05.725344"], ["updated_at", "2015-11-04 17:39:05.725344"]]  (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", "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", "2015-11-04 17:39:05.759785"], ["updated_at", "2015-11-04 17:39:05.759785"]] 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", "2015-11-04 17:39:05.763228"], ["updated_at", "2015-11-04 17:39:05.763228"]] 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", "PkbjFI-TI6ipLYnu8KIIWQ"]] Adeia::Group Load (0.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" = 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" = '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 22ms (Views: 0.7ms | ActiveRecord: 1.6ms)  (1.0ms) 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 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.7ms | ActiveRecord: 0.3ms)  (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 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 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)  (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$2TKIIQbekoqgOcdKa840aeww5fBgZy/cuWB/NXYPILgdyH0OiOdiK"], ["remember_token", "9ZvxEsTA6JTKpjWbT9SiNQ"], ["created_at", "2015-11-04 17:39:05.842594"], ["updated_at", "2015-11-04 17:39:05.842594"]]  (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", "2015-11-04 17:39:05.848116"], ["updated_at", "2015-11-04 17:39:05.848116"]]  (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", "2015-11-04 17:39:05.851664"], ["updated_at", "2015-11-04 17:39:05.851664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", "2015-11-04 17:39:05.856819"], ["updated_at", "2015-11-04 17:39:05.856819"]] 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", "2015-11-04 17:39:05.859124"], ["updated_at", "2015-11-04 17:39:05.859124"]] 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", "9ZvxEsTA6JTKpjWbT9SiNQ"]] 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.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" = 'articles' [["read_right", "t"]] Rendered text template (0.1ms) Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.8ms)  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Completed 500 Internal Server Error in 24ms (ActiveRecord: 0.9ms)  (0.1ms) 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$104UDPb/S6zuuc3x8YLrSemanS7lphdo2TQVVrYJ2ph5WOJMNLyKa"], ["remember_token", "EWzb7tOe_l7jG6td2I-eVA"], ["created_at", "2015-11-04 17:39:18.688493"], ["updated_at", "2015-11-04 17:39:18.688493"]]  (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", "EWzb7tOe_l7jG6td2I-eVA"]] Rendered text template (0.1ms) Completed 200 OK in 12ms (Views: 8.4ms | 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 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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$m1IWXXL3sEy1k4X1PG6N1.mzl5QQG1Y0R.p49n1lq0mowiVTKGuKO"], ["remember_token", "8Q7MHmaQlPHD2TLW3Jm7_g"], ["created_at", "2015-11-04 17:39:18.725805"], ["updated_at", "2015-11-04 17:39:18.725805"]]  (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", "8Q7MHmaQlPHD2TLW3Jm7_g"]] Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | 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 Adeia::Token Load (0.5ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 18ms (Views: 0.6ms | ActiveRecord: 0.8ms)  (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 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 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)  (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$vLAW7RTrTgRpF2KIcpHe.OjiWFPQxAHay40ONiFx.eQ7YU4pDP5Bq"], ["remember_token", "QDPBRN53YFrrKwTDMSHPsA"], ["created_at", "2015-11-04 17:39:18.776338"], ["updated_at", "2015-11-04 17:39:18.776338"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) 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", "2015-11-04 17:39:18.801556"], ["updated_at", "2015-11-04 17:39:18.801556"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-11-04 17:39:18.820170"], ["updated_at", "2015-11-04 17:39:18.820170"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) 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", "2015-11-04 17:39:18.848198"], ["updated_at", "2015-11-04 17:39:18.848198"]] 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", "2015-11-04 17:39:18.851459"], ["updated_at", "2015-11-04 17:39:18.851459"]] 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", "QDPBRN53YFrrKwTDMSHPsA"]] Adeia::Group Load (0.8ms) SELECT "adeia_groups".* 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.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" = 'articles' [["read_right", "t"]] Rendered text template (0.0ms) Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 1.6ms)  (0.8ms) 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 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 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)  (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 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 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)  (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$d4YWNEuJX1I6tle.hmaLXef/XHzxw7PI5QOc50NaC0NtKvjh2uT9K"], ["remember_token", "WDXtuubTyvULVBfOrZQ82Q"], ["created_at", "2015-11-04 17:39:18.913641"], ["updated_at", "2015-11-04 17:39:18.913641"]]  (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", "2015-11-04 17:39:18.918386"], ["updated_at", "2015-11-04 17:39:18.918386"]]  (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", "2015-11-04 17:39:18.922475"], ["updated_at", "2015-11-04 17:39:18.922475"]]  (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", "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", "2015-11-04 17:39:18.926851"], ["updated_at", "2015-11-04 17:39:18.926851"]] 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", "2015-11-04 17:39:18.928700"], ["updated_at", "2015-11-04 17:39:18.928700"]] 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 Processing by AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "WDXtuubTyvULVBfOrZQ82Q"]] 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.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 7ms (Views: 0.4ms | ActiveRecord: 0.6ms)  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Completed 500 Internal Server Error in 27ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$Mz/BI6mbdjkfUWwTaeuuF.yoEOLzuHrUEZcnEZKHh.R/fPV0LbEhC"], ["remember_token", "45FsZEbiWLohnLoTUm90XA"], ["created_at", "2015-11-04 17:58:15.578020"], ["updated_at", "2015-11-04 17:58:15.578020"]]  (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", "45FsZEbiWLohnLoTUm90XA"]] Rendered text template (0.0ms) Completed 200 OK in 13ms (Views: 9.6ms | ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.0ms) 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 1ms (ActiveRecord: 0.2ms)  (0.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$rk89zWNJ6DyFiWxMjkOc0.5vlXD3XM/PkDlAQFu6wSDZiqm1polCy"], ["remember_token", "3pddpwT8J2c6tolXGc-_tQ"], ["created_at", "2015-11-04 17:58:15.617948"], ["updated_at", "2015-11-04 17:58:15.617948"]]  (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 1 [["remember_token", "3pddpwT8J2c6tolXGc-_tQ"]] Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)  (0.8ms) 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 1 Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 16ms (Views: 0.6ms | ActiveRecord: 0.9ms)  (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 Adeia::Token Load (0.2ms) 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.4ms | ActiveRecord: 0.4ms)  (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$BT8xMffnOjNM5gCYpwYvlOyW6dYC7Fvn96kE1FQdFkKtNGad0YPum"], ["remember_token", "jOWm632JTbgrkxt_FBQTXQ"], ["created_at", "2015-11-04 17:58:15.669780"], ["updated_at", "2015-11-04 17:58:15.669780"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-11-04 17:58:15.693288"], ["updated_at", "2015-11-04 17:58:15.693288"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-11-04 17:58:15.712909"], ["updated_at", "2015-11-04 17:58:15.712909"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) 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", "2015-11-04 17:58:15.744551"], ["updated_at", "2015-11-04 17:58:15.744551"]] 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", "2015-11-04 17:58:15.747921"], ["updated_at", "2015-11-04 17:58:15.747921"]] 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", "jOWm632JTbgrkxt_FBQTXQ"]] Adeia::Group Load (0.8ms) SELECT "adeia_groups".* 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" = '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 24ms (Views: 0.4ms | ActiveRecord: 1.6ms)  (1.0ms) 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 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 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.3ms) 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 2ms (Views: 0.3ms | ActiveRecord: 0.4ms)  (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$CQHcPrM9sHnTcOhTMGgzW.II.VjZZwYWmSmHTL18aMmcIdjaLCS1y"], ["remember_token", "iCSChaiS34rQ3cF-m-xgKA"], ["created_at", "2015-11-04 17:58:15.825388"], ["updated_at", "2015-11-04 17:58:15.825388"]]  (0.3ms) 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", "2015-11-04 17:58:15.829992"], ["updated_at", "2015-11-04 17:58:15.829992"]]  (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", "2015-11-04 17:58:15.832978"], ["updated_at", "2015-11-04 17:58:15.832978"]]  (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", 1], ["read_right", "t"], ["created_at", "2015-11-04 17:58:15.836985"], ["updated_at", "2015-11-04 17:58:15.836985"]] 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", "2015-11-04 17:58:15.838428"], ["updated_at", "2015-11-04 17:58:15.838428"]] 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 Processing by AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "iCSChaiS34rQ3cF-m-xgKA"]] 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.2ms) 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.5ms | ActiveRecord: 0.6ms)  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Completed 500 Internal Server Error in 22ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$if/a5QXvHlCL2Z19KoSr3uYbqaRW16PsMcQ7eRuWVQe35.5Sj0w4y"], ["remember_token", "r2RcR6Hjyr90o-oTTTCELw"], ["created_at", "2015-11-04 17:59:56.861959"], ["updated_at", "2015-11-04 17:59:56.861959"]]  (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", "r2RcR6Hjyr90o-oTTTCELw"]] Rendered text template (0.0ms) Completed 200 OK in 12ms (Views: 8.4ms | ActiveRecord: 0.2ms)  (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 1 Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.3ms)  (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$Q//biKLqy0ICb3LG84do8eZJ8CHbY6P.9/bJ3ndhU.nspZy0WaNnO"], ["remember_token", "_J-1ND8LVVbEk-wxYl_dfQ"], ["created_at", "2015-11-04 17:59:56.905545"], ["updated_at", "2015-11-04 17:59:56.905545"]]  (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", "_J-1ND8LVVbEk-wxYl_dfQ"]] Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | 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 Adeia::Token Load (0.8ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 18ms (Views: 0.5ms | ActiveRecord: 1.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 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 2ms (Views: 0.3ms | 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$S.ZFN0KllyC5Pu1sDzaXjuEd30POQ4tZH0qCHQ/KhJ/LFSBMAuaM."], ["remember_token", "0Rb5xWS2HHkFfua0SfRHRg"], ["created_at", "2015-11-04 17:59:56.954303"], ["updated_at", "2015-11-04 17:59:56.954303"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-04 17:59:56.973079"], ["updated_at", "2015-11-04 17:59:56.973079"]]  (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", "2015-11-04 17:59:56.992663"], ["updated_at", "2015-11-04 17:59:56.992663"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) 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", "2015-11-04 17:59:57.022356"], ["updated_at", "2015-11-04 17:59:57.022356"]] 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", "2015-11-04 17:59:57.025536"], ["updated_at", "2015-11-04 17:59:57.025536"]] 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", "0Rb5xWS2HHkFfua0SfRHRg"]] Adeia::Group Load (0.8ms) SELECT "adeia_groups".* 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" = '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" = 'articles' [["read_right", "t"]] Rendered text template (0.0ms) Completed 200 OK in 23ms (Views: 0.4ms | ActiveRecord: 1.7ms)  (1.3ms) 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 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.3ms)  (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 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 2ms (Views: 0.3ms | 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$CIKVWgDSAqQQafPHu1cUpOa.Eh7eD2JDvsCoyr/EA9Zk7KQbZKfqO"], ["remember_token", "hGNN1v7COO9QL4vz2RbutQ"], ["created_at", "2015-11-04 17:59:57.093638"], ["updated_at", "2015-11-04 17:59:57.093638"]]  (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", "2015-11-04 17:59:57.099097"], ["updated_at", "2015-11-04 17:59:57.099097"]]  (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", "2015-11-04 17:59:57.102290"], ["updated_at", "2015-11-04 17:59:57.102290"]]  (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", 1], ["read_right", "t"], ["created_at", "2015-11-04 17:59:57.105243"], ["updated_at", "2015-11-04 17:59:57.105243"]] 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", "2015-11-04 17:59:57.106889"], ["updated_at", "2015-11-04 17:59:57.106889"]] 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 Processing by AnonymousController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "hGNN1v7COO9QL4vz2RbutQ"]] 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.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 5ms (Views: 0.4ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.1ms) Completed 200 OK in 34ms (Views: 8.4ms | ActiveRecord: 1.6ms)  (0.2ms) 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 Adeia::Token Load (9.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 12ms (Views: 0.5ms | ActiveRecord: 9.6ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$gdjQfLlaXrCQJjb8E5Z9Fe/bsBrbInobhWzgqr2qaVyApgaqVNmGi"], ["remember_token", "oweG4RwP_VgTpv03W5HNSQ"], ["created_at", "2015-11-06 16:38:39.137609"], ["updated_at", "2015-11-06 16:38:39.137609"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) 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", "2015-11-06 16:38:39.165710"], ["updated_at", "2015-11-06 16:38:39.165710"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-11-06 16:38:39.189302"], ["updated_at", "2015-11-06 16:38:39.189302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (9.4ms) 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", "2015-11-06 16:38:39.231717"], ["updated_at", "2015-11-06 16:38:39.231717"]] SQL (1.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", "2015-11-06 16:38:39.243425"], ["updated_at", "2015-11-06 16:38:39.243425"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "oweG4RwP_VgTpv03W5HNSQ"]] 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" = 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" = '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" = 'articles' [["read_right", "t"]] Rendered text template (0.0ms) Completed 200 OK in 25ms (Views: 0.5ms | ActiveRecord: 1.5ms)  (1.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$2eyQvbtxraCcmi5FWk6oKucJ80MRQg4yVhfAhXPG8.5slG2vLsDam"], ["remember_token", "kDIU-8Wz-GAyATBgG3kq9A"], ["created_at", "2015-11-06 16:45:39.089259"], ["updated_at", "2015-11-06 16:45:39.089259"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-11-06 16:45:39.155371"], ["updated_at", "2015-11-06 16:45:39.155371"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (2.7ms) 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", "2015-11-06 16:45:39.192552"], ["updated_at", "2015-11-06 16:45:39.192552"]]  (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", "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", "2015-11-06 16:45:39.233365"], ["updated_at", "2015-11-06 16:45:39.233365"]] 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", "2015-11-06 16:45:39.237398"], ["updated_at", "2015-11-06 16:45:39.237398"]] 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 Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$bQrkHGUf6iknCgCGY5RvyOPF5BJJIXotAZCh6JUk5.aSxVkj7TDce"], ["remember_token", "Da1s9gj23H39MK6MOSalRg"], ["created_at", "2015-11-06 16:47:20.372817"], ["updated_at", "2015-11-06 16:47:20.372817"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) 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", "2015-11-06 16:47:20.414316"], ["updated_at", "2015-11-06 16:47:20.414316"]]  (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", "2015-11-06 16:47:20.433478"], ["updated_at", "2015-11-06 16:47:20.433478"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", "2015-11-06 16:47:20.460505"], ["updated_at", "2015-11-06 16:47:20.460505"]] 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", "2015-11-06 16:47:20.463231"], ["updated_at", "2015-11-06 16:47:20.463231"]] 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.1ms) INSERT INTO "articles" ("title", "content", "id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Rspec tests"], ["content", "Lorem ipsum"], ["id", 100], ["created_at", "2015-11-06 16:47:20.485136"], ["updated_at", "2015-11-06 16:47:20.485136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "Da1s9gj23H39MK6MOSalRg"]] Completed 500 Internal Server Error in 14ms (ActiveRecord: 1.6ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$HMC8RKaJ3wb.KIB.WTpfIe4p84MFZm.1Qra2lulSk92eBb/OhKCCa"], ["remember_token", "QUShQPqTEdISL60gviKxHQ"], ["created_at", "2015-11-06 16:47:55.182240"], ["updated_at", "2015-11-06 16:47:55.182240"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) 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", "2015-11-06 16:47:55.245991"], ["updated_at", "2015-11-06 16:47:55.245991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-11-06 16:47:55.268284"], ["updated_at", "2015-11-06 16:47:55.268284"]]  (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", "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", "2015-11-06 16:47:55.300915"], ["updated_at", "2015-11-06 16:47:55.300915"]] 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", "2015-11-06 16:47:55.304629"], ["updated_at", "2015-11-06 16:47:55.304629"]] 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 Processing by AnonymousController#index as HTML  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "articles" ("title", "content", "id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Rspec tests"], ["content", "Lorem ipsum"], ["id", 100], ["created_at", "2015-11-06 16:47:55.331771"], ["updated_at", "2015-11-06 16:47:55.331771"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "QUShQPqTEdISL60gviKxHQ"]] Adeia::Group Load (0.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" = 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"."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.5ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Permission Load (0.7ms) 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"]] Completed 500 Internal Server Error in 81ms (ActiveRecord: 4.3ms)  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (1.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$BRBBDFeiK2/ZzE3YonNFlecIR7ihrJwrge3OZYkUyc9VSX/URLHNS"], ["remember_token", "tcdC6txKrm1Z9T9gw8iUhg"], ["created_at", "2015-11-06 16:48:13.547182"], ["updated_at", "2015-11-06 16:48:13.547182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-06 16:48:13.608940"], ["updated_at", "2015-11-06 16:48:13.608940"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-11-06 16:48:13.631241"], ["updated_at", "2015-11-06 16:48:13.631241"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", "2015-11-06 16:48:13.667447"], ["updated_at", "2015-11-06 16:48:13.667447"]] SQL (3.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", "2015-11-06 16:48:13.670628"], ["updated_at", "2015-11-06 16:48:13.670628"]] 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.9ms) INSERT INTO "articles" ("title", "content", "id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Rspec tests"], ["content", "Lorem ipsum"], ["id", 100], ["created_at", "2015-11-06 16:48:13.701230"], ["updated_at", "2015-11-06 16:48:13.701230"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "tcdC6txKrm1Z9T9gw8iUhg"]] Adeia::Group Load (0.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" = 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" = 'articles' [["read_right", "t"]] Adeia::Token Load (0.6ms) 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 77ms (Views: 14.5ms | ActiveRecord: 3.6ms)  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$EUOCTh6R5QG/0.MAzn5zb.BuBxlct0/zvcw.WcPQfculuSPMlU6w2"], ["remember_token", "qHcPz9q5aeXqiwBIUgLkog"], ["created_at", "2015-11-06 16:50:41.857101"], ["updated_at", "2015-11-06 16:50:41.857101"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-06 16:50:41.914878"], ["updated_at", "2015-11-06 16:50:41.914878"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-11-06 16:50:41.935877"], ["updated_at", "2015-11-06 16:50:41.935877"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) 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", "2015-11-06 16:50:41.969291"], ["updated_at", "2015-11-06 16:50:41.969291"]] 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", "2015-11-06 16:50:41.972666"], ["updated_at", "2015-11-06 16:50:41.972666"]] 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 Processing by AnonymousController#index as HTML  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "articles" ("title", "content", "id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Rspec tests"], ["content", "Lorem ipsum"], ["id", 100], ["created_at", "2015-11-06 16:50:41.998511"], ["updated_at", "2015-11-06 16:50:41.998511"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "qHcPz9q5aeXqiwBIUgLkog"]] Completed 500 Internal Server Error in 16ms (ActiveRecord: 1.7ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$RsLKJ0L5.iIumZ7pvFCwOOgivExU3tVpzxO3ufcd0C0FFcgTZy4R6"], ["remember_token", "Gk8JR-Y3OERm01HKHlxvew"], ["created_at", "2015-11-06 16:51:15.595149"], ["updated_at", "2015-11-06 16:51:15.595149"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 (0.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-06 16:51:15.643370"], ["updated_at", "2015-11-06 16:51:15.643370"]]  (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", "2015-11-06 16:51:15.663153"], ["updated_at", "2015-11-06 16:51:15.663153"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) 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", "2015-11-06 16:51:15.692976"], ["updated_at", "2015-11-06 16:51:15.692976"]] SQL (2.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", "2015-11-06 16:51:15.696844"], ["updated_at", "2015-11-06 16:51:15.696844"]] 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.1ms) INSERT INTO "articles" ("title", "content", "id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Rspec tests"], ["content", "Lorem ipsum"], ["id", 100], ["created_at", "2015-11-06 16:51:15.723718"], ["updated_at", "2015-11-06 16:51:15.723718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "Gk8JR-Y3OERm01HKHlxvew"]] 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" = 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" = 'admin/articles' [["read_right", "t"]] Adeia::Token Load (0.5ms) 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"]] Completed 500 Internal Server Error in 35ms (ActiveRecord: 3.7ms)  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$m.LiLgyYmWDnmxbee5H6RusbSAQC3VaCAeRz7Bv6WBmaH604Qh6wu"], ["remember_token", "O7V30qqi4VwR_9KEP9OsHA"], ["created_at", "2015-11-06 16:51:30.116100"], ["updated_at", "2015-11-06 16:51:30.116100"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-06 16:51:30.170913"], ["updated_at", "2015-11-06 16:51:30.170913"]]  (0.0ms) 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", "2015-11-06 16:51:30.189954"], ["updated_at", "2015-11-06 16:51:30.189954"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (1.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", "2015-11-06 16:51:30.223505"], ["updated_at", "2015-11-06 16:51:30.223505"]] 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", "2015-11-06 16:51:30.226822"], ["updated_at", "2015-11-06 16:51:30.226822"]] 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.1ms) INSERT INTO "articles" ("title", "content", "id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Rspec tests"], ["content", "Lorem ipsum"], ["id", 100], ["created_at", "2015-11-06 16:51:30.252796"], ["updated_at", "2015-11-06 16:51:30.252796"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "O7V30qqi4VwR_9KEP9OsHA"]] 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" = 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" = 'admin/articles' [["read_right", "t"]] Adeia::Token Load (0.8ms) 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 70ms (Views: 11.6ms | ActiveRecord: 4.6ms)  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$cE2xxEi/f9ri4eHmFLfsO.32yhvdzCYAsOeVnU6Bv8k5892hNwOFO"], ["remember_token", "o1li1ri0EDsm2GslEiouiw"], ["created_at", "2015-11-06 16:52:05.966925"], ["updated_at", "2015-11-06 16:52:05.966925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-06 16:52:06.025732"], ["updated_at", "2015-11-06 16:52:06.025732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-11-06 16:52:06.045294"], ["updated_at", "2015-11-06 16:52:06.045294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.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", "2015-11-06 16:52:06.083055"], ["updated_at", "2015-11-06 16:52:06.083055"]] 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", "2015-11-06 16:52:06.086946"], ["updated_at", "2015-11-06 16:52:06.086946"]] 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.2ms) INSERT INTO "articles" ("title", "content", "id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Rspec tests"], ["content", "Lorem ipsum"], ["id", 100], ["created_at", "2015-11-06 16:52:06.112170"], ["updated_at", "2015-11-06 16:52:06.112170"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "o1li1ri0EDsm2GslEiouiw"]] 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" = 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" = 'admin/articles' [["read_right", "t"]] Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 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"."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.4ms) Completed 200 OK in 63ms (Views: 11.2ms | ActiveRecord: 4.2ms)  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$AOtbkaEjwLgbvhR79xqKl.WaK1nwcBOy.00/vHbiRqUOeTlQN/7gu"], ["remember_token", "NaFGgpw5GXY8wuXBY7oJEg"], ["created_at", "2015-11-06 16:55:18.171299"], ["updated_at", "2015-11-06 16:55:18.171299"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-06 16:55:18.224154"], ["updated_at", "2015-11-06 16:55:18.224154"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-11-06 16:55:18.245332"], ["updated_at", "2015-11-06 16:55:18.245332"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", "2015-11-06 16:55:18.281735"], ["updated_at", "2015-11-06 16:55:18.281735"]] 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", "2015-11-06 16:55:18.284685"], ["updated_at", "2015-11-06 16:55:18.284685"]] 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.2ms) INSERT INTO "articles" ("title", "content", "id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Rspec tests"], ["content", "Lorem ipsum"], ["id", 100], ["created_at", "2015-11-06 16:55:18.308495"], ["updated_at", "2015-11-06 16:55:18.308495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "NaFGgpw5GXY8wuXBY7oJEg"]] 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" = 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" = 'admin/articles' [["read_right", "t"]] Adeia::Token Load (0.7ms) 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 68ms (Views: 11.2ms | ActiveRecord: 4.3ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Completed 500 Internal Server Error in 25ms (ActiveRecord: 0.9ms)  (0.2ms) rollback transaction  (0.3ms) 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$ERlEpOQvZ3dSEfkE0oB05.Y80obtiqyW5TmfAGLk1JEq/noVraF7S"], ["remember_token", "N99hsqWGwaRjXC3aSxMVxw"], ["created_at", "2015-11-06 16:56:03.461340"], ["updated_at", "2015-11-06 16:56:03.461340"]]  (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", "N99hsqWGwaRjXC3aSxMVxw"]] Rendered text template (0.0ms) Completed 200 OK in 11ms (Views: 8.0ms | 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 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$6FaKz6ZrBtR6pVU4Vjuyre9uXxh1VLLn9yLVywUfXqyE1dHRJLldK"], ["remember_token", "1WCYZRKRrfAaNzoIepKuiA"], ["created_at", "2015-11-06 16:56:03.499389"], ["updated_at", "2015-11-06 16:56:03.499389"]]  (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", "1WCYZRKRrfAaNzoIepKuiA"]] 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 Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 17ms (Views: 0.6ms | ActiveRecord: 0.9ms)  (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 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 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)  (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$su4KVdtKbxgRMfJRzl1JwuvgPP.v1fgkwuKOqEnVdfRG8EW.ccFMS"], ["remember_token", "iGFllU0L-mFznRhCv17S5g"], ["created_at", "2015-11-06 16:56:03.549824"], ["updated_at", "2015-11-06 16:56:03.549824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) 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", "2015-11-06 16:56:03.572218"], ["updated_at", "2015-11-06 16:56:03.572218"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-11-06 16:56:03.591770"], ["updated_at", "2015-11-06 16:56:03.591770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) 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", "2015-11-06 16:56:03.620180"], ["updated_at", "2015-11-06 16:56:03.620180"]] 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", "2015-11-06 16:56:03.623401"], ["updated_at", "2015-11-06 16:56:03.623401"]] 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", "iGFllU0L-mFznRhCv17S5g"]] 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" = 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" = '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" = 'articles' [["read_right", "t"]] Rendered text template (0.0ms) Completed 200 OK in 17ms (Views: 0.4ms | ActiveRecord: 1.5ms)  (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$QnEMN6JJFhwHRrXux0PD4uOLCTXj/guHpIcFsR8W.CBJWty5bN43K"], ["remember_token", "3Jx-VdTTK8kzcKWQTO8Ivw"], ["created_at", "2015-11-06 16:56:03.664650"], ["updated_at", "2015-11-06 16:56:03.664650"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-06 16:56:03.670824"], ["updated_at", "2015-11-06 16:56:03.670824"]]  (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", "2015-11-06 16:56:03.675561"], ["updated_at", "2015-11-06 16:56:03.675561"]]  (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", "2015-11-06 16:56:03.679768"], ["updated_at", "2015-11-06 16:56:03.679768"]] 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", "2015-11-06 16:56:03.681505"], ["updated_at", "2015-11-06 16:56:03.681505"]] 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 Processing by AnonymousController#index as HTML  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "articles" ("title", "content", "id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Rspec tests"], ["content", "Lorem ipsum"], ["id", 100], ["created_at", "2015-11-06 16:56:03.700692"], ["updated_at", "2015-11-06 16:56:03.700692"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "3Jx-VdTTK8kzcKWQTO8Ivw"]] 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.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.6ms | ActiveRecord: 1.8ms)  (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$ssDXhxjYUAqV/hHIVOIikOWNUgCf3TFQJUjcFgqQBjiYEwEWeKQBi"], ["remember_token", "AuI0N6P7Lp6U5Z_DCMIylg"], ["created_at", "2015-11-06 16:56:03.730921"], ["updated_at", "2015-11-06 16:56:03.730921"]]  (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", "2015-11-06 16:56:03.734981"], ["updated_at", "2015-11-06 16:56:03.734981"]]  (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", "2015-11-06 16:56:03.737923"], ["updated_at", "2015-11-06 16:56:03.737923"]]  (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", "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", "2015-11-06 16:56:03.741113"], ["updated_at", "2015-11-06 16:56:03.741113"]] 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", "2015-11-06 16:56:03.742432"], ["updated_at", "2015-11-06 16:56:03.742432"]] 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", "2015-11-06 16:56:03.748507"], ["updated_at", "2015-11-06 16:56:03.748507"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "AuI0N6P7Lp6U5Z_DCMIylg"]] 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.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" = '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.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" = 'admin/articles' [["read_right", "t"]] Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.9ms)  (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 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: 1.3ms | ActiveRecord: 0.3ms)  (0.2ms) 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 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 2ms (Views: 0.3ms | 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$MPHGUw5yrh/2Zjzb97831OqRokWzAg5RtGrSYO5xtFzJTwvcRTXUO"], ["remember_token", "ajww6C5GGjwQK8DFAL5K_A"], ["created_at", "2015-11-06 16:56:03.792270"], ["updated_at", "2015-11-06 16:56:03.792270"]]  (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", "2015-11-06 16:56:03.796627"], ["updated_at", "2015-11-06 16:56:03.796627"]]  (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", "2015-11-06 16:56:03.799903"], ["updated_at", "2015-11-06 16:56:03.799903"]]  (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", "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", "2015-11-06 16:56:03.803238"], ["updated_at", "2015-11-06 16:56:03.803238"]] 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", "2015-11-06 16:56:03.805178"], ["updated_at", "2015-11-06 16:56:03.805178"]] 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", "ajww6C5GGjwQK8DFAL5K_A"]] 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.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" = 'articles' [["read_right", "t"]] Rendered text template (0.0ms) Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.7ms)  (4.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) 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 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 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-06 16:56:33.980308"], ["updated_at", "2015-11-06 16:56:33.980308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.4ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-11-06 16:56:34.004997"], ["updated_at", "2015-11-06 16:56:34.004997"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 16:56:34.021931"], ["updated_at", "2015-11-06 16:56:34.021931"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) 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", "2015-11-06 16:56:34.056714"], ["updated_at", "2015-11-06 16:56:34.056714"]] 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", "2015-11-06 16:56:34.059778"], ["updated_at", "2015-11-06 16:56:34.059778"]] 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.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "exp_at", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "vuVD7KOQRhcyIZwG5n_iyA"], ["is_valid", "t"], ["exp_at", "2015-12-06"], ["adeia_permission_id", 1], ["created_at", "2015-11-06 16:56:34.090162"], ["updated_at", "2015-11-06 16:56:34.090162"]]  (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", "vuVD7KOQRhcyIZwG5n_iyA"]]  (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_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.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_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.2ms) 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", "2015-11-06 16:56:34.122601"], ["updated_at", "2015-11-06 16:56:34.122601"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-11-06 16:56:34.127333"], ["updated_at", "2015-11-06 16:56:34.127333"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", "2015-11-06 16:56:34.133681"], ["updated_at", "2015-11-06 16:56:34.133681"]] 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", "2015-11-06 16:56:34.135928"], ["updated_at", "2015-11-06 16:56:34.135928"]] 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" = 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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-06 16:56:34.151016"], ["updated_at", "2015-11-06 16:56:34.151016"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 16:56:34.154315"], ["updated_at", "2015-11-06 16:56:34.154315"]]  (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", "2015-11-06 16:56:34.159944"], ["updated_at", "2015-11-06 16:56:34.159944"]] 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", "2015-11-06 16:56:34.161672"], ["updated_at", "2015-11-06 16:56:34.161672"]] 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.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.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"."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.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" = 1003 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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-06 16:56:34.179052"], ["updated_at", "2015-11-06 16:56:34.179052"]]  (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", "2015-11-06 16:56:34.183418"], ["updated_at", "2015-11-06 16:56:34.183418"]]  (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", "2015-11-06 16:56:34.188708"], ["updated_at", "2015-11-06 16:56:34.188708"]] 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", "2015-11-06 16:56:34.190146"], ["updated_at", "2015-11-06 16:56:34.190146"]] 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.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" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_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"."read_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-06 16:56:34.203016"], ["updated_at", "2015-11-06 16:56:34.203016"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 16:56:34.206280"], ["updated_at", "2015-11-06 16:56:34.206280"]]  (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", "2015-11-06 16:56:34.210997"], ["updated_at", "2015-11-06 16:56:34.210997"]] 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", "2015-11-06 16:56:34.212586"], ["updated_at", "2015-11-06 16:56:34.212586"]] 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" = 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"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1005 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", "2015-11-06 16:56:34.226687"], ["updated_at", "2015-11-06 16:56:34.226687"]]  (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.8ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 16:56:34.230518"], ["updated_at", "2015-11-06 16:56:34.230518"]]  (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", "2015-11-06 16:56:34.237170"], ["updated_at", "2015-11-06 16:56:34.237170"]] 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", "2015-11-06 16:56:34.255388"], ["updated_at", "2015-11-06 16:56:34.255388"]] 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.1ms) 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"]]  (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", "2015-11-06 16:56:34.267098"], ["updated_at", "2015-11-06 16:56:34.267098"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 16:56:34.270020"], ["updated_at", "2015-11-06 16:56:34.270020"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", "2015-11-06 16:56:34.277783"], ["updated_at", "2015-11-06 16:56:34.277783"]] 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", "2015-11-06 16:56:34.281671"], ["updated_at", "2015-11-06 16:56:34.281671"]] 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.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" = 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"."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.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" = 1007 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-11-06 16:56:34.293174"], ["updated_at", "2015-11-06 16:56:34.293174"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 16:56:34.295692"], ["updated_at", "2015-11-06 16:56:34.295692"]]  (0.2ms) 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", "2015-11-06 16:56:34.301487"], ["updated_at", "2015-11-06 16:56:34.301487"]] 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", "2015-11-06 16:56:34.302978"], ["updated_at", "2015-11-06 16:56:34.302978"]] 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" = 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"."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.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" = 1008 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", "2015-11-06 16:56:34.313466"], ["updated_at", "2015-11-06 16:56:34.313466"]]  (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", "2015-11-06 16:56:34.317566"], ["updated_at", "2015-11-06 16:56:34.317566"]]  (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", "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", "2015-11-06 16:56:34.321643"], ["updated_at", "2015-11-06 16:56:34.321643"]] 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", "2015-11-06 16:56:34.323252"], ["updated_at", "2015-11-06 16:56:34.323252"]] 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.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"."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"]]  (1.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-06 16:56:34.337525"], ["updated_at", "2015-11-06 16:56:34.337525"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 16:56:34.340536"], ["updated_at", "2015-11-06 16:56:34.340536"]]  (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", "2015-11-06 16:56:34.344973"], ["updated_at", "2015-11-06 16:56:34.344973"]] 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", "2015-11-06 16:56:34.346918"], ["updated_at", "2015-11-06 16:56:34.346918"]] 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.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" = 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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."name" = 'share'  (1.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", "2015-11-06 16:56:34.361692"], ["updated_at", "2015-11-06 16:56:34.361692"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 16:56:34.365628"], ["updated_at", "2015-11-06 16:56:34.365628"]]  (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", "2015-11-06 16:56:34.370796"], ["updated_at", "2015-11-06 16:56:34.370796"]] 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", "2015-11-06 16:56:34.372283"], ["updated_at", "2015-11-06 16:56:34.372283"]] 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 "adeia_tokens" ("token", "is_valid", "exp_at", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "G-3OzV5p0PbuI8StpitdGA"], ["is_valid", "t"], ["exp_at", "2015-12-06"], ["adeia_permission_id", 1], ["created_at", "2015-11-06 16:56:34.375757"], ["updated_at", "2015-11-06 16:56:34.375757"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "G-3OzV5p0PbuI8StpitdGA"]]  (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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-06 16:56:34.386531"], ["updated_at", "2015-11-06 16:56:34.386531"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 16:56:34.389228"], ["updated_at", "2015-11-06 16:56:34.389228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", "2015-11-06 16:56:34.394468"], ["updated_at", "2015-11-06 16:56:34.394468"]] 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", "2015-11-06 16:56:34.395883"], ["updated_at", "2015-11-06 16:56:34.395883"]] 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" = 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.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" = 1012 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-06 16:56:34.409837"], ["updated_at", "2015-11-06 16:56:34.409837"]]  (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", "2015-11-06 16:56:34.414502"], ["updated_at", "2015-11-06 16:56:34.414502"]]  (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", 1013], ["owner_type", "User"], ["permission_type", 1], ["update_right", "t"], ["created_at", "2015-11-06 16:56:34.420350"], ["updated_at", "2015-11-06 16:56:34.420350"]] 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", "2015-11-06 16:56:34.422339"], ["updated_at", "2015-11-06 16:56:34.422339"]] 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 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" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-11-06 16:56:34.437548"], ["updated_at", "2015-11-06 16:56:34.437548"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 16:56:34.440530"], ["updated_at", "2015-11-06 16:56:34.440530"]]  (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", 1016], ["owner_type", "User"], ["permission_type", 1], ["update_right", "t"], ["created_at", "2015-11-06 16:56:34.444916"], ["updated_at", "2015-11-06 16:56:34.444916"]] 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", "2015-11-06 16:56:34.446297"], ["updated_at", "2015-11-06 16:56:34.446297"]] 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" = 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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) 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", "2015-11-06 16:56:34.461138"], ["updated_at", "2015-11-06 16:56:34.461138"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 16:56:34.465565"], ["updated_at", "2015-11-06 16:56:34.465565"]]  (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", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["update_right", "t"], ["created_at", "2015-11-06 16:56:34.469649"], ["updated_at", "2015-11-06 16:56:34.469649"]] 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", "2015-11-06 16:56:34.471233"], ["updated_at", "2015-11-06 16:56:34.471233"]] 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" = 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.5ms) 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"]]  (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", "2015-11-06 16:56:34.483455"], ["updated_at", "2015-11-06 16:56:34.483455"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 16:56:34.486589"], ["updated_at", "2015-11-06 16:56:34.486589"]]  (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", 1020], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1020], ["update_right", "t"], ["created_at", "2015-11-06 16:56:34.491086"], ["updated_at", "2015-11-06 16:56:34.491086"]] 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", "2015-11-06 16:56:34.493717"], ["updated_at", "2015-11-06 16:56:34.493717"]] 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" = 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"."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.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" = 1020 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", "2015-11-06 16:56:34.508986"], ["updated_at", "2015-11-06 16:56:34.508986"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 16:56:34.512221"], ["updated_at", "2015-11-06 16:56:34.512221"]]  (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", "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", "2015-11-06 16:56:34.516388"], ["updated_at", "2015-11-06 16:56:34.516388"]] 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", "2015-11-06 16:56:34.518020"], ["updated_at", "2015-11-06 16:56:34.518020"]] 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.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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-11-06 16:56:34.549368"], ["updated_at", "2015-11-06 16:56:34.549368"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.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", "2015-11-06 16:56:34.555266"], ["updated_at", "2015-11-06 16:56:34.555266"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-06 16:56:34.561261"], ["updated_at", "2015-11-06 16:56:34.561261"]]  (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", "2015-11-06 16:56:34.564701"], ["updated_at", "2015-11-06 16:56:34.564701"]]  (0.1ms) 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", "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", "2015-11-06 16:56:34.568811"], ["updated_at", "2015-11-06 16:56:34.568811"]] 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", "2015-11-06 16:56:34.570042"], ["updated_at", "2015-11-06 16:56:34.570042"]] 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" = 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"."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.4ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 20ms (ActiveRecord: 0.9ms)  (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$rnwBvrjd3BcK9KQ2EjxtsODHj1UX8GYyYSr3zDGE0xoWB5H.WCue2"], ["remember_token", "TOmkpaLvflvU59kI3KjFAA"], ["created_at", "2015-11-06 16:56:34.632365"], ["updated_at", "2015-11-06 16:56:34.632365"]]  (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", "TOmkpaLvflvU59kI3KjFAA"]] Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 8.3ms | 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 1ms (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$07CZYwX0THvY8aKomWAT2e2D.fLTHFNxwqnO/rqYOx7MhaUsLd8JW"], ["remember_token", "MZLEH7PHzEYDhcI38QcK0g"], ["created_at", "2015-11-06 16:56:34.665686"], ["updated_at", "2015-11-06 16:56:34.665686"]]  (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", "MZLEH7PHzEYDhcI38QcK0g"]] Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.1ms)  (0.7ms) 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 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 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)  (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 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 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)  (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$VXvqHGop.s28VthHmSUTeOiS9zys9Kaq0MnE.LBXQ8eoFAyAlzCH2"], ["remember_token", "Sfg6X5iaAF8nT4gvmTyA2g"], ["created_at", "2015-11-06 16:56:34.701139"], ["updated_at", "2015-11-06 16:56:34.701139"]]  (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.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-06 16:56:34.705207"], ["updated_at", "2015-11-06 16:56:34.705207"]]  (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", "2015-11-06 16:56:34.709325"], ["updated_at", "2015-11-06 16:56:34.709325"]]  (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", "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", "2015-11-06 16:56:34.712467"], ["updated_at", "2015-11-06 16:56:34.712467"]] 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", "2015-11-06 16:56:34.714625"], ["updated_at", "2015-11-06 16:56:34.714625"]] 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", "Sfg6X5iaAF8nT4gvmTyA2g"]] 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.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" = 'articles' [["read_right", "t"]] Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.6ms)  (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$XQq40d6NZUbky/YCCmSpT.8V8ZrA4IAtOxFXrfUPb33C07iQuHYu."], ["remember_token", "U2ObWRoUD6Kt4vgUxbG-Hg"], ["created_at", "2015-11-06 16:56:34.736945"], ["updated_at", "2015-11-06 16:56:34.736945"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-06 16:56:34.740412"], ["updated_at", "2015-11-06 16:56:34.740412"]]  (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", "2015-11-06 16:56:34.742873"], ["updated_at", "2015-11-06 16:56:34.742873"]]  (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", "2015-11-06 16:56:34.745752"], ["updated_at", "2015-11-06 16:56:34.745752"]] 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", "2015-11-06 16:56:34.747070"], ["updated_at", "2015-11-06 16:56:34.747070"]] 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.8ms) INSERT INTO "articles" ("title", "content", "id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Rspec tests"], ["content", "Lorem ipsum"], ["id", 100], ["created_at", "2015-11-06 16:56:34.761815"], ["updated_at", "2015-11-06 16:56:34.761815"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "U2ObWRoUD6Kt4vgUxbG-Hg"]] 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 17ms (Views: 0.8ms | ActiveRecord: 1.7ms)  (0.9ms) 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$BfBlh93cW3NDV57XLxEJPOUuYgyFUTYZvzljKRCwf/voVH3Or9iii"], ["remember_token", "_UFnh_afnV-7IGLssvouiQ"], ["created_at", "2015-11-06 16:56:34.786253"], ["updated_at", "2015-11-06 16:56:34.786253"]]  (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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-06 16:56:34.792571"], ["updated_at", "2015-11-06 16:56:34.792571"]]  (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", "2015-11-06 16:56:34.795873"], ["updated_at", "2015-11-06 16:56:34.795873"]]  (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", "2015-11-06 16:56:34.799218"], ["updated_at", "2015-11-06 16:56:34.799218"]] 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", "2015-11-06 16:56:34.801110"], ["updated_at", "2015-11-06 16:56:34.801110"]] 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.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" ("title", "content", "id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Rspec tests"], ["content", "Lorem ipsum"], ["id", 100], ["created_at", "2015-11-06 16:56:34.806909"], ["updated_at", "2015-11-06 16:56:34.806909"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "_UFnh_afnV-7IGLssvouiQ"]] 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" = '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 11ms (Views: 0.6ms | ActiveRecord: 1.4ms)  (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 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: 1.0ms | ActiveRecord: 0.3ms)  (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 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 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)  (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$2/EVuFw5VOmWuk1IVJfy7OrBM3eLB6htm/u7ys43fOp/tFIQwJ0Hi"], ["remember_token", "KYiLuKwaCUOego8pcJSWHQ"], ["created_at", "2015-11-06 16:56:34.846363"], ["updated_at", "2015-11-06 16:56:34.846363"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-06 16:56:34.849767"], ["updated_at", "2015-11-06 16:56:34.849767"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 16:56:34.852468"], ["updated_at", "2015-11-06 16:56:34.852468"]]  (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", "2015-11-06 16:56:34.857379"], ["updated_at", "2015-11-06 16:56:34.857379"]] 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", "2015-11-06 16:56:34.859393"], ["updated_at", "2015-11-06 16:56:34.859393"]] 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", "KYiLuKwaCUOego8pcJSWHQ"]] 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 5ms (Views: 0.5ms | ActiveRecord: 0.5ms)  (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", "2015-11-06 16:56:34.873440"], ["updated_at", "2015-11-06 16:56:34.873440"]]  (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", "2015-11-06 16:56:34.875858"], ["updated_at", "2015-11-06 16:56:34.875858"]]  (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", "2015-11-06 16:56:34.878393"], ["updated_at", "2015-11-06 16:56:34.878393"]]  (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 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", "2015-11-06 16:56:34.885081"], ["updated_at", "2015-11-06 16:56:34.885081"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 16:56:34.887560"], ["updated_at", "2015-11-06 16:56:34.887560"]]  (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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-11-06 16:56:34.895259"], ["updated_at", "2015-11-06 16:56:34.895259"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 16:56:34.897887"], ["updated_at", "2015-11-06 16:56:34.897887"]]  (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 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", "2015-11-06 16:56:34.905218"], ["updated_at", "2015-11-06 16:56:34.905218"]]  (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", "2015-11-06 16:56:34.908208"], ["updated_at", "2015-11-06 16:56:34.908208"]]  (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", "2015-11-06 16:56:34.910802"], ["updated_at", "2015-11-06 16:56:34.910802"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-06 16:56:34.918693"], ["updated_at", "2015-11-06 16:56:34.918693"]]  (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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-11-06 16:56:34.920820"], ["updated_at", "2015-11-06 16:56:34.920820"]]  (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", "2015-11-06 16:56:34.923252"], ["updated_at", "2015-11-06 16:56:34.923252"]]  (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 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", "2015-11-06 16:56:34.931169"], ["updated_at", "2015-11-06 16:56:34.931169"]]  (0.2ms) 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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-11-06 16:56:34.934838"], ["updated_at", "2015-11-06 16:56:34.934838"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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$RS0lPgUM1S/4PPnZzyg6jOz75t7MukikpSALDdl61vxoFZyxCef9y"], ["remember_token", "hAjZB5AXl2uTPbNv2Z3Oqw"], ["created_at", "2015-11-06 16:56:34.945186"], ["updated_at", "2015-11-06 16:56:34.945186"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-06 16:56:34.950237"], ["updated_at", "2015-11-06 16:56:34.950237"]]  (0.3ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 16:56:34.955392"], ["updated_at", "2015-11-06 16:56:34.955392"]]  (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", "2015-11-06 16:56:34.961188"], ["updated_at", "2015-11-06 16:56:34.961188"]] 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", "2015-11-06 16:56:34.962966"], ["updated_at", "2015-11-06 16:56:34.962966"]] 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", "hAjZB5AXl2uTPbNv2Z3Oqw"]] 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.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 16ms (Views: 8.8ms | ActiveRecord: 0.8ms)  (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$Gem3A0UOobEmZAphDwbwM.qYjZQmpAKbpvw4phnHmNpJd4/FVDUdC"], ["remember_token", "QxTvHmZZATvnQwQO-OebVA"], ["created_at", "2015-11-06 16:56:34.992136"], ["updated_at", "2015-11-06 16:56:34.992136"]]  (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", "2015-11-06 16:56:34.997001"], ["updated_at", "2015-11-06 16:56:34.997001"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 16:56:35.001319"], ["updated_at", "2015-11-06 16:56:35.001319"]]  (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", "2015-11-06 16:56:35.005556"], ["updated_at", "2015-11-06 16:56:35.005556"]] 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", "2015-11-06 16:56:35.007162"], ["updated_at", "2015-11-06 16:56:35.007162"]] 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", "QxTvHmZZATvnQwQO-OebVA"]] 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"]] 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.2ms) Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (0.9ms) 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$MDcdlQ3EPdnoDzx9IRL15.vGtAmmZEDDscBOrJim1t5XQIAkEwl36"], ["remember_token", "Apme76akEAjxhoeFmi1Phg"], ["created_at", "2015-11-06 16:56:35.023071"], ["updated_at", "2015-11-06 16:56:35.023071"]]  (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", "2015-11-06 16:56:35.026734"], ["updated_at", "2015-11-06 16:56:35.026734"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 16:56:35.030541"], ["updated_at", "2015-11-06 16:56:35.030541"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", "2015-11-06 16:56:35.036724"], ["updated_at", "2015-11-06 16:56:35.036724"]] 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", "2015-11-06 16:56:35.040793"], ["updated_at", "2015-11-06 16:56:35.040793"]] 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.2ms) 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$yQn6SRyEHTRMLlb7n7AHcejkBUQ/dK33AbCRxmqpMssKlEnTIMfZ2"], ["remember_token", "DyTcmlyp5qzVfgI1ytj8vw"], ["created_at", "2015-11-06 16:56:35.049744"], ["updated_at", "2015-11-06 16:56:35.049744"]]  (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", "2015-11-06 16:56:35.052046"], ["updated_at", "2015-11-06 16:56:35.052046"]]  (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.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", "2015-11-06 16:56:35.056171"], ["updated_at", "2015-11-06 16:56:35.056171"]]  (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", "2015-11-06 16:56:35.059210"], ["updated_at", "2015-11-06 16:56:35.059210"]]  (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", "2015-11-06 16:56:35.061789"], ["updated_at", "2015-11-06 16:56:35.061789"]]  (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", "2015-11-06 16:56:35.063919"], ["updated_at", "2015-11-06 16:56:35.063919"]]  (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", "Apme76akEAjxhoeFmi1Phg"]] 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.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$PnYvfhCRBKoRNyNqbxGWiOl/2.wRGk.21uQjR1ZS.SRH0jKG8eMJG"], ["remember_token", "k_ewuNNtfX4z52uRj6e56A"], ["created_at", "2015-11-06 16:56:35.079086"], ["updated_at", "2015-11-06 16:56:35.079086"]]  (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", "2015-11-06 16:56:35.082256"], ["updated_at", "2015-11-06 16:56:35.082256"]]  (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", "2015-11-06 16:56:35.084803"], ["updated_at", "2015-11-06 16:56:35.084803"]]  (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", "2015-11-06 16:56:35.089252"], ["updated_at", "2015-11-06 16:56:35.089252"]] 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", "2015-11-06 16:56:35.090615"], ["updated_at", "2015-11-06 16:56:35.090615"]] Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.3ms) 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", "2015-11-06 16:56:35.094550"], ["updated_at", "2015-11-06 16:56:35.094550"]]  (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", "2015-11-06 16:56:35.097420"], ["updated_at", "2015-11-06 16:56:35.097420"]]  (0.2ms) 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", "2015-11-06 16:56:35.100056"], ["updated_at", "2015-11-06 16:56:35.100056"]]  (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", "2015-11-06 16:56:35.102227"], ["updated_at", "2015-11-06 16:56:35.102227"]]  (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", "2015-11-06 16:56:35.104343"], ["updated_at", "2015-11-06 16:56:35.104343"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$.ZLyZXT7pIhCrXUB0X0l6ujqaBphK8iLxlCoVwyZEMje90JBxfdaO"], ["remember_token", "tNh3PEXbVOOXG3HFIgxZYQ"], ["created_at", "2015-11-06 16:56:35.109476"], ["updated_at", "2015-11-06 16:56:35.109476"]]  (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", "2015-11-06 16:56:35.111978"], ["updated_at", "2015-11-06 16:56:35.111978"]]  (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", "2015-11-06 16:56:35.114382"], ["updated_at", "2015-11-06 16:56:35.114382"]]  (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", "2015-11-06 16:56:35.116533"], ["updated_at", "2015-11-06 16:56:35.116533"]]  (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", "2015-11-06 16:56:35.118373"], ["updated_at", "2015-11-06 16:56:35.118373"]]  (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", "2015-11-06 16:56:35.120759"], ["updated_at", "2015-11-06 16:56:35.120759"]]  (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", "k_ewuNNtfX4z52uRj6e56A"]] 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.3ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$YOp.66LNJFkwxu6Dxx3c1e09l2bXkz9.DP5pQ..xbMpkYEyakmPmm"], ["remember_token", "0vClzhYFSdydk2cL9Od_mQ"], ["created_at", "2015-11-06 16:56:35.135021"], ["updated_at", "2015-11-06 16:56:35.135021"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-06 16:56:35.138118"], ["updated_at", "2015-11-06 16:56:35.138118"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 16:56:35.140587"], ["updated_at", "2015-11-06 16:56:35.140587"]]  (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", "2015-11-06 16:56:35.144146"], ["updated_at", "2015-11-06 16:56:35.144146"]] 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", "2015-11-06 16:56:35.145602"], ["updated_at", "2015-11-06 16:56:35.145602"]] 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.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", "2015-11-06 16:56:35.149017"], ["updated_at", "2015-11-06 16:56:35.149017"]]  (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", "2015-11-06 16:56:35.150722"], ["updated_at", "2015-11-06 16:56:35.150722"]]  (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", "2015-11-06 16:56:35.152326"], ["updated_at", "2015-11-06 16:56:35.152326"]]  (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", "2015-11-06 16:56:35.153851"], ["updated_at", "2015-11-06 16:56:35.153851"]]  (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", "2015-11-06 16:56:35.155381"], ["updated_at", "2015-11-06 16:56:35.155381"]]  (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$Hq2U3BJd9cv36lS08JmK7OLYHSkKWtxcHqBvaYF2zlQaSYwguFc2G"], ["remember_token", "OTVX-Zw6xNeCT8hPKnkdsg"], ["created_at", "2015-11-06 16:56:35.159422"], ["updated_at", "2015-11-06 16:56:35.159422"]]  (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", "2015-11-06 16:56:35.161025"], ["updated_at", "2015-11-06 16:56:35.161025"]]  (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", "2015-11-06 16:56:35.162937"], ["updated_at", "2015-11-06 16:56:35.162937"]]  (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", "2015-11-06 16:56:35.164724"], ["updated_at", "2015-11-06 16:56:35.164724"]]  (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 "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-11-06 16:56:35.167187"], ["updated_at", "2015-11-06 16:56:35.167187"]]  (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", "2015-11-06 16:56:35.171455"], ["updated_at", "2015-11-06 16:56:35.171455"]]  (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", "2015-11-06 16:56:35.174249"], ["updated_at", "2015-11-06 16:56:35.174249"]]  (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.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", 11], ["read_right", "t"], ["created_at", "2015-11-06 16:56:35.179425"], ["updated_at", "2015-11-06 16:56:35.179425"]] 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", "2015-11-06 16:56:35.181052"], ["updated_at", "2015-11-06 16:56:35.181052"]] 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 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "0vClzhYFSdydk2cL9Od_mQ"]] 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 5ms (Views: 0.9ms | ActiveRecord: 0.6ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (2.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$UGIeJPIpsTr3EEAAt39Er.2PFuwx71M44SgY13ENAMJNFyrsYx6Bm"], ["remember_token", "aAutX4fPAAKk4lJ2qpxhWw"], ["created_at", "2015-11-06 16:56:35.198601"], ["updated_at", "2015-11-06 16:56:35.198601"]]  (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$7a871ixIqL3hJhOMMtK2auGbhs2/jeEM2T6cPruJDJCFVuulrXcjS"], ["remember_token", "bsXIrBGzZSkQOErVSokAuA"], ["created_at", "2015-11-06 16:56:35.203375"], ["updated_at", "2015-11-06 16:56:35.203375"]]  (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", "2015-11-06 16:56:35.205145"], ["updated_at", "2015-11-06 16:56:35.205145"]]  (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", "2015-11-06 16:56:35.207086"], ["updated_at", "2015-11-06 16:56:35.207086"]]  (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", "2015-11-06 16:56:35.208848"], ["updated_at", "2015-11-06 16:56:35.208848"]]  (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", "2015-11-06 16:56:35.211137"], ["updated_at", "2015-11-06 16:56:35.211137"]]  (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", "2015-11-06 16:56:35.214516"], ["updated_at", "2015-11-06 16:56:35.214516"]]  (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", "2015-11-06 16:56:35.217087"], ["updated_at", "2015-11-06 16:56:35.217087"]]  (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", "2015-11-06 16:56:35.219080"], ["updated_at", "2015-11-06 16:56:35.219080"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-06 16:56:35.222047"], ["updated_at", "2015-11-06 16:56:35.222047"]]  (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", "2015-11-06 16:56:35.224404"], ["updated_at", "2015-11-06 16:56:35.224404"]]  (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", "2015-11-06 16:56:35.227277"], ["updated_at", "2015-11-06 16:56:35.227277"]] 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", "2015-11-06 16:56:35.228752"], ["updated_at", "2015-11-06 16:56:35.228752"]] 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 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.2ms) 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", "2015-11-06 16:56:35.239550"], ["updated_at", "2015-11-06 16:56:35.239550"]] 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", "2015-11-06 16:56:35.241077"], ["updated_at", "2015-11-06 16:56:35.241077"]] 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", "aAutX4fPAAKk4lJ2qpxhWw"]] 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" = 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 7ms (Views: 1.1ms | ActiveRecord: 0.7ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (2.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$StNBMIxpqfqkI0bGwxN0mOCD1LOkMD2xI9Etde6qlZ18hYQ9McS8S"], ["remember_token", "cy4vqCVqbViM3gWamy6RZg"], ["created_at", "2015-11-06 16:56:35.260919"], ["updated_at", "2015-11-06 16:56:35.260919"]]  (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", "2015-11-06 16:56:35.264739"], ["updated_at", "2015-11-06 16:56:35.264739"]]  (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", "2015-11-06 16:56:35.268258"], ["updated_at", "2015-11-06 16:56:35.268258"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", "2015-11-06 16:56:35.272494"], ["updated_at", "2015-11-06 16:56:35.272494"]] 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", "2015-11-06 16:56:35.274114"], ["updated_at", "2015-11-06 16:56:35.274114"]] 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.1ms) 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$5HUOatb/Bl.QKhF2Fp2DMegRz8oy6iQEsC4LESjVG6I6MjNQ5Kbii"], ["remember_token", "Boe7TmuodTFe1UswuYLhsA"], ["created_at", "2015-11-06 16:56:35.280289"], ["updated_at", "2015-11-06 16:56:35.280289"]]  (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", "2015-11-06 16:56:35.282089"], ["updated_at", "2015-11-06 16:56:35.282089"]]  (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 1 [["remember_token", "cy4vqCVqbViM3gWamy6RZg"]] Article Load (0.3ms) 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.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.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" = '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"]] Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 15ms (Views: 2.9ms | ActiveRecord: 1.2ms)  (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$AM1OKlTr5R49bWr0Bsl2buvSJBPMAqvJ.jPb03Lr9tkLjSXQbqqFu"], ["remember_token", "q54-rWk7GOqFUvqqRWOVOw"], ["created_at", "2015-11-06 16:56:35.304275"], ["updated_at", "2015-11-06 16:56:35.304275"]]  (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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-06 16:56:35.307350"], ["updated_at", "2015-11-06 16:56:35.307350"]]  (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", "2015-11-06 16:56:35.312291"], ["updated_at", "2015-11-06 16:56:35.312291"]]  (0.1ms) 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", "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", "2015-11-06 16:56:35.315250"], ["updated_at", "2015-11-06 16:56:35.315250"]] 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", "2015-11-06 16:56:35.316430"], ["updated_at", "2015-11-06 16:56:35.316430"]] 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.1ms) 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$zuHEijSWfN./BxlHpQ/0UO1RJ8FJbJbguxmx78dhGD/sJTlpd7l/2"], ["remember_token", "fn1NprwF1l7qkFYgs6IaIg"], ["created_at", "2015-11-06 16:56:35.322563"], ["updated_at", "2015-11-06 16:56:35.322563"]]  (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", "2015-11-06 16:56:35.324176"], ["updated_at", "2015-11-06 16:56:35.324176"]]  (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 1 [["remember_token", "q54-rWk7GOqFUvqqRWOVOw"]] 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"."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"]] Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 5ms (Views: 1.2ms | 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$HAA7eTPtv.imPIkW3mgOS.n43WIzn24Jh.oxtX5BkA2GEK2TVNMhO"], ["remember_token", "2820lHbmekjWQtycQ-vp_Q"], ["created_at", "2015-11-06 16:56:35.337588"], ["updated_at", "2015-11-06 16:56:35.337588"]]  (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", "2015-11-06 16:56:35.340675"], ["updated_at", "2015-11-06 16:56:35.340675"]]  (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", "2015-11-06 16:56:35.343559"], ["updated_at", "2015-11-06 16:56:35.343559"]]  (0.1ms) 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", "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", "2015-11-06 16:56:35.346991"], ["updated_at", "2015-11-06 16:56:35.346991"]] 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", "2015-11-06 16:56:35.348200"], ["updated_at", "2015-11-06 16:56:35.348200"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "2820lHbmekjWQtycQ-vp_Q"]] 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 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"."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 9ms (Views: 4.1ms | ActiveRecord: 0.8ms)  (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$w.//9qhz8/lAzKGwGJE/zeTML8KAxob0cOa2Cb2BYXHsdn41awGK6"], ["remember_token", "t4biH8ybK_fGMqmEecQHLw"], ["created_at", "2015-11-06 16:56:35.369360"], ["updated_at", "2015-11-06 16:56:35.369360"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-06 16:56:35.374305"], ["updated_at", "2015-11-06 16:56:35.374305"]]  (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", "2015-11-06 16:56:35.378675"], ["updated_at", "2015-11-06 16:56:35.378675"]]  (0.1ms) 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", "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", "2015-11-06 16:56:35.381984"], ["updated_at", "2015-11-06 16:56:35.381984"]] 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", "2015-11-06 16:56:35.383167"], ["updated_at", "2015-11-06 16:56:35.383167"]] 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.1ms) 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$uoTJT8E2ZgHA/tQtC4cMUe1K3f60wVqCxiTgyTPf7GFAM0rcqN3DK"], ["remember_token", "uHSTCws4EHanWwC5cYtjFg"], ["created_at", "2015-11-06 16:56:35.392107"], ["updated_at", "2015-11-06 16:56:35.392107"]]  (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", 2], ["created_at", "2015-11-06 16:56:35.394741"], ["updated_at", "2015-11-06 16:56:35.394741"]]  (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", "t4biH8ybK_fGMqmEecQHLw"]] 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.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.3ms) Completed 200 OK in 9ms (Views: 3.1ms | ActiveRecord: 0.9ms)  (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$26P0MZciXsMaXeneZlLeIuhBS.s0evX/Ker4p0qYcs7w09WKfKDxa"], ["remember_token", "5PIFQq_Lh7MG8InA2IXKqg"], ["created_at", "2015-11-06 16:56:35.411970"], ["updated_at", "2015-11-06 16:56:35.411970"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-06 16:56:35.414939"], ["updated_at", "2015-11-06 16:56:35.414939"]]  (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", "2015-11-06 16:56:35.417436"], ["updated_at", "2015-11-06 16:56:35.417436"]]  (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", 1], ["owner_type", "User"], ["permission_type", 0], ["update_right", "t"], ["created_at", "2015-11-06 16:56:35.423155"], ["updated_at", "2015-11-06 16:56:35.423155"]] 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", "2015-11-06 16:56:35.425714"], ["updated_at", "2015-11-06 16:56:35.425714"]] 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.1ms) 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$7IiDUcd0SPxHTEpyKdFwCuZP0PZx8GtF/0h5OqIFpr/LPqe4KUdP2"], ["remember_token", "frrI_NQ5Tt_tzlkCLZ4KLg"], ["created_at", "2015-11-06 16:56:35.432913"], ["updated_at", "2015-11-06 16:56:35.432913"]]  (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", "2015-11-06 16:56:35.435507"], ["updated_at", "2015-11-06 16:56:35.435507"]]  (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", "5PIFQq_Lh7MG8InA2IXKqg"]] 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.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.4ms) Completed 200 OK in 8ms (Views: 1.3ms | 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$H9v5PfJydbHPhIoAbhdlsuBvXeAbx8XBwLVPFvSuJKjms9xwRzobG"], ["remember_token", "j8xaxRD-ORdoIhIR0tTiuQ"], ["created_at", "2015-11-06 16:56:35.453712"], ["updated_at", "2015-11-06 16:56:35.453712"]]  (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", "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", "2015-11-06 16:56:35.456325"], ["updated_at", "2015-11-06 16:56:35.456325"]]  (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", 0], ["read_right", "t"], ["created_at", "2015-11-06 16:56:35.458664"], ["updated_at", "2015-11-06 16:56:35.458664"]] 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$OpIGV7tUMKlP6iRxxMtTauIA8.a6d4yjxcvsBS9X.fYlxU99sVZiC"], ["remember_token", "Rjm3SkuLMqZ1sEf8E3kndw"], ["created_at", "2015-11-06 16:56:35.467100"], ["updated_at", "2015-11-06 16:56:35.467100"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 16:56:35.469504"], ["updated_at", "2015-11-06 16:56:35.469504"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-11-06 16:56:35.473583"], ["updated_at", "2015-11-06 16:56:35.473583"]]  (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", "2015-11-06 16:56:35.477913"], ["updated_at", "2015-11-06 16:56:35.477913"]] 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", "2015-11-06 16:56:35.479466"], ["updated_at", "2015-11-06 16:56:35.479466"]] 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.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$9r/GgNoZVTBk3aUUoQkU4ehtKYeoAYhkNrqQ6pznjUIA8mG.yShOe"], ["remember_token", "0LhEeI2C7qH57684e1ZtcQ"], ["created_at", "2015-11-06 16:56:35.486900"], ["updated_at", "2015-11-06 16:56:35.486900"]]  (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", "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", "2015-11-06 16:56:35.489548"], ["updated_at", "2015-11-06 16:56:35.489548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", "2015-11-06 16:56:35.492175"], ["updated_at", "2015-11-06 16:56:35.492175"]] 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$BY/LZHSERXutqJY.31ngue8rCBOZ/kfVWMObtFgaJnWfIW0Xcv.OC"], ["remember_token", "rar40OwVDiP-jmIKW2j1FQ"], ["created_at", "2015-11-06 16:56:35.501598"], ["updated_at", "2015-11-06 16:56:35.501598"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 16:56:35.503980"], ["updated_at", "2015-11-06 16:56:35.503980"]]  (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", "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", "2015-11-06 16:56:35.505964"], ["updated_at", "2015-11-06 16:56:35.505964"]]  (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", "2015-11-06 16:56:35.509811"], ["updated_at", "2015-11-06 16:56:35.509811"]] 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", "2015-11-06 16:56:35.511075"], ["updated_at", "2015-11-06 16:56:35.511075"]] 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.2ms) 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.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$8vF52vj9VI6.4gKpXhd48.Bg9pb1.VXNF34Ql1G4sQ8YNkfERMmvu"], ["remember_token", "stOAwyOQkVorF0ruluJxLg"], ["created_at", "2015-11-06 17:02:44.414984"], ["updated_at", "2015-11-06 17:02:44.414984"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-11-06 17:02:44.469249"], ["updated_at", "2015-11-06 17:02:44.469249"]]  (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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-06 17:02:44.489949"], ["updated_at", "2015-11-06 17:02:44.489949"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.9ms) 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", "2015-11-06 17:02:44.521584"], ["updated_at", "2015-11-06 17:02:44.521584"]] 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", "2015-11-06 17:02:44.525556"], ["updated_at", "2015-11-06 17:02:44.525556"]] 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.2ms) INSERT INTO "articles" ("title", "content", "id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Rspec tests"], ["content", "Lorem ipsum"], ["id", 100], ["created_at", "2015-11-06 17:02:44.553185"], ["updated_at", "2015-11-06 17:02:44.553185"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "stOAwyOQkVorF0ruluJxLg"]] 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" = 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 (2.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" = 'letters' [["read_right", "t"]] Rendered text template (0.0ms) Completed 200 OK in 59ms (Views: 8.4ms | ActiveRecord: 5.3ms)  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Redirected to http://test.host/login Completed 302 Found in 8ms (ActiveRecord: 0.8ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Redirected to http://test.host/login Completed 302 Found in 8ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Redirected to http://test.host/login Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Redirected to http://test.host/login Completed 302 Found in 8ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Redirected to http://test.host/login Completed 302 Found in 9ms (ActiveRecord: 0.8ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Redirected to http://test.host/login Completed 302 Found in 9ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Redirected to http://test.host/login Completed 302 Found in 8ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Redirected to http://test.host/login Completed 302 Found in 8ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Redirected to http://test.host/login Completed 302 Found in 10ms (ActiveRecord: 0.9ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Redirected to http://test.host/login Completed 302 Found in 6ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 27ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Redirected to http://test.host/anonymous/login Completed 302 Found in 6ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 Redirected to http://test.host/anonyasdasdasmous/login Completed 302 Found in 6ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Redirected to http://test.host/anonymous/login Completed 302 Found in 8ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Completed 200 OK in 9ms (ActiveRecord: 0.9ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Redirected to http://test.host/anonymous/login Completed 302 Found in 9ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Redirected to http://test.host/anonymous/new Completed 302 Found in 9ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Redirected to http://test.host/anonymous/new Completed 302 Found in 9ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Redirected to http://test.host/anonymous/new Completed 302 Found in 8ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Redirected to http://test.host/anonymous/new Completed 302 Found in 8ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Completed 500 Internal Server Error in 25ms (ActiveRecord: 0.7ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Redirected to http://test.hostanonymous/new Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Redirected to http://test.hostanonymous/new Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Redirected to http://test.host/anonymous/new Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Redirected to http://test.host/anonymous/new Completed 302 Found in 9ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Redirected to http://test.host/anonymous/login Completed 302 Found in 8ms (ActiveRecord: 0.6ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Redirected to http://test.host/anonymous/login Completed 302 Found in 9ms (ActiveRecord: 0.9ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Rendered text template (0.0ms) Completed 200 OK in 19ms (Views: 10.4ms | ActiveRecord: 0.8ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (3.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Rendered text template (0.0ms) Completed 200 OK in 25ms (Views: 15.4ms | ActiveRecord: 0.7ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 17ms (Views: 8.4ms | ActiveRecord: 0.7ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1 Rendered text template (0.0ms) Completed 200 OK in 16ms (Views: 7.5ms | ActiveRecord: 0.7ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 15ms (Views: 7.4ms | ActiveRecord: 0.8ms) Processing by AnonymousController#new as HTML Redirected to Completed 500 Internal Server Error in 0ms (Views: 7.4ms | ActiveRecord: 0.8ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$QSkx4pEZX/feoL97EFQMneBV1a4O0Nwa9gchasHuMXeQ9qGiyYZVu"], ["remember_token", "RRgA8MUj7uCFzRCCsoTQ9Q"], ["created_at", "2015-11-16 19:42:35.679824"], ["updated_at", "2015-11-16 19:42:35.679824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-11-16 19:42:35.723347"], ["updated_at", "2015-11-16 19:42:35.723347"]]  (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", "2015-11-16 19:42:35.743242"], ["updated_at", "2015-11-16 19:42:35.743242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) 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", "2015-11-16 19:42:35.773575"], ["updated_at", "2015-11-16 19:42:35.773575"]] 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", "2015-11-16 19:42:35.776763"], ["updated_at", "2015-11-16 19:42:35.776763"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-16 20:42:35 +0100 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 25ms (ActiveRecord: 0.1ms)  (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$CO1Z/2pryEMlshTDzOV3YOwwmtd5K98MCFagYpx93U1COzO1UxPcO"], ["remember_token", "Cgdqbq-7iOWqbjTxqTqt8Q"], ["created_at", "2015-11-16 19:43:55.551241"], ["updated_at", "2015-11-16 19:43:55.551241"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-11-16 19:43:55.590321"], ["updated_at", "2015-11-16 19:43:55.590321"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.8ms) 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", "2015-11-16 19:43:55.609480"], ["updated_at", "2015-11-16 19:43:55.609480"]]  (0.0ms) 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", "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", "2015-11-16 19:43:55.638978"], ["updated_at", "2015-11-16 19:43:55.638978"]] 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", "2015-11-16 19:43:55.642411"], ["updated_at", "2015-11-16 19:43:55.642411"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-16 20:43:55 +0100 Processing by ArticlesController#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 2ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2015-11-16 20:43:55 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (44.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 322ms (Views: 321.7ms | ActiveRecord: 0.2ms)  (3.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$Pa6ux0bdPzkHqI21s2Bg7Ob0pAkxqLkOT7ywwl5gYXAex57oQ3Yei"], ["remember_token", "H8SG1FZtiWLdqyfaOFCPoA"], ["created_at", "2015-11-16 19:44:21.976295"], ["updated_at", "2015-11-16 19:44:21.976295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-16 19:44:22.015630"], ["updated_at", "2015-11-16 19:44:22.015630"]]  (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", "2015-11-16 19:44:22.035589"], ["updated_at", "2015-11-16 19:44:22.035589"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.9ms) 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", "2015-11-16 19:44:22.065330"], ["updated_at", "2015-11-16 19:44:22.065330"]] 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", "2015-11-16 19:44:22.069199"], ["updated_at", "2015-11-16 19:44:22.069199"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-16 20:44:22 +0100 Processing by ArticlesController#index as HTML 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 2ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2015-11-16 20:44:22 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (42.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 318ms (Views: 317.3ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:44:22 +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 1 [["name", "admin"]] Redirected to http://www.example.com/articles Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET "/articles" for 127.0.0.1 at 2015-11-16 20:44:22 +0100 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "H8SG1FZtiWLdqyfaOFCPoA"]] Adeia::Token Load (0.8ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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" = 'articles' [["read_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"."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.6ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (13.8ms) Completed 200 OK in 48ms (Views: 20.1ms | ActiveRecord: 3.2ms)  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$zRMLVkOW/G3maVgTKqiZC.4ooYTtQkaGPWcmP46qyPNMWJ1wfToS2"], ["remember_token", "tNav20_XA42_Chpf4oojVg"], ["created_at", "2015-11-16 19:45:03.306005"], ["updated_at", "2015-11-16 19:45:03.306005"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-16 19:45:03.351070"], ["updated_at", "2015-11-16 19:45:03.351070"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-16 19:45:03.377958"], ["updated_at", "2015-11-16 19:45:03.377958"]]  (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", "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", "2015-11-16 19:45:03.412209"], ["updated_at", "2015-11-16 19:45:03.412209"]] 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", "2015-11-16 19:45:03.415424"], ["updated_at", "2015-11-16 19:45:03.415424"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-16 20:45:03 +0100 Processing by ArticlesController#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 4ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2015-11-16 20:45:03 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (63.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 380ms (Views: 379.9ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:45:03 +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 1 [["name", "admin"]] Redirected to http://www.example.com/articles Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET "/articles" for 127.0.0.1 at 2015-11-16 20:45:03 +0100 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "tNav20_XA42_Chpf4oojVg"]] Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (2.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" = 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" = 'articles' [["read_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"."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.6ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (14.9ms) Completed 200 OK in 55ms (Views: 25.8ms | ActiveRecord: 5.1ms)  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$oV3Vj2oJu5pJX60/6OA6a.pTtCddVvIz2jcV16zqfmSGjBwI2UWgW"], ["remember_token", "wZEsa0UzK01wcYXbHXM6XQ"], ["created_at", "2015-11-16 19:45:18.952101"], ["updated_at", "2015-11-16 19:45:18.952101"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-11-16 19:45:18.990271"], ["updated_at", "2015-11-16 19:45:18.990271"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-11-16 19:45:19.010322"], ["updated_at", "2015-11-16 19:45:19.010322"]]  (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", "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", "2015-11-16 19:45:19.041236"], ["updated_at", "2015-11-16 19:45:19.041236"]] 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", "2015-11-16 19:45:19.044562"], ["updated_at", "2015-11-16 19:45:19.044562"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-16 20:45:19 +0100 Processing by ArticlesController#index as HTML 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 2ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2015-11-16 20:45:19 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (45.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 295ms (Views: 294.3ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:45:19 +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 1 [["name", "admin"]] Redirected to http://www.example.com/articles Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET "/articles" for 127.0.0.1 at 2015-11-16 20:45:19 +0100 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "wZEsa0UzK01wcYXbHXM6XQ"]] Adeia::Token Load (0.7ms) 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" = 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"]] CACHE (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Article Load (0.6ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (18.1ms) Completed 200 OK in 53ms (Views: 28.1ms | ActiveRecord: 3.1ms)  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$X7LnoX.4GZJWEeDl12m/U.mYMgLV/VU5HnEE9.vEm9PRwOhurzJW2"], ["remember_token", "S03HJFzhWG7FWLgRKddssA"], ["created_at", "2015-11-16 19:47:50.156552"], ["updated_at", "2015-11-16 19:47:50.156552"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-11-16 19:47:50.196635"], ["updated_at", "2015-11-16 19:47:50.196635"]]  (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", "2015-11-16 19:47:50.217194"], ["updated_at", "2015-11-16 19:47:50.217194"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) 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", "2015-11-16 19:47:50.248107"], ["updated_at", "2015-11-16 19:47:50.248107"]] 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", "2015-11-16 19:47:50.251124"], ["updated_at", "2015-11-16 19:47:50.251124"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-16 20:47:50 +0100 Processing by ArticlesController#index as HTML 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 2ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2015-11-16 20:47:50 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (41.2ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 283ms (Views: 282.8ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:47:50 +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 1 [["name", "admin"]] Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2015-11-16 20:47:50 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (0.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "S03HJFzhWG7FWLgRKddssA"]] Completed 200 OK in 8ms (Views: 7.8ms | ActiveRecord: 0.2ms)  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$pZexRUWSvuepCm9/fH4JwuyQbPXTsQ6G6CeQxi1PmWE85Y0mmRPHO"], ["remember_token", "xDmP4SS9iGdMqNiSUJNFbA"], ["created_at", "2015-11-16 19:48:06.564696"], ["updated_at", "2015-11-16 19:48:06.564696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.8ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-16 19:48:06.607481"], ["updated_at", "2015-11-16 19:48:06.607481"]]  (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", "2015-11-16 19:48:06.627707"], ["updated_at", "2015-11-16 19:48:06.627707"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (1.8ms) 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", "2015-11-16 19:48:06.668844"], ["updated_at", "2015-11-16 19:48:06.668844"]] 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", "2015-11-16 19:48:06.672255"], ["updated_at", "2015-11-16 19:48:06.672255"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-16 20:48:06 +0100 Processing by ArticlesController#index as HTML 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 2ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2015-11-16 20:48:06 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (32.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 286ms (Views: 285.6ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:48:07 +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 1 [["name", "admin"]] Redirected to http://www.example.com/articles Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET "/articles" for 127.0.0.1 at 2015-11-16 20:48:07 +0100 Processing by ArticlesController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "xDmP4SS9iGdMqNiSUJNFbA"]] Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.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" = 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" = 'articles' [["read_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"."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.7ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (14.2ms) Completed 200 OK in 44ms (Views: 19.7ms | ActiveRecord: 3.0ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$xIcgYUh2ZZWyQcXMNK5kkutEAyvACPEWYqlnyVMSVy4AJjr/2jieu"], ["remember_token", "oMJDs1cO_wE3LM-FXL_4RQ"], ["created_at", "2015-11-16 19:51:12.306290"], ["updated_at", "2015-11-16 19:51:12.306290"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) 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", "2015-11-16 19:51:12.347203"], ["updated_at", "2015-11-16 19:51:12.347203"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-11-16 19:51:12.367261"], ["updated_at", "2015-11-16 19:51:12.367261"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) 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", "2015-11-16 19:51:12.399579"], ["updated_at", "2015-11-16 19:51:12.399579"]] 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", "2015-11-16 19:51:12.402975"], ["updated_at", "2015-11-16 19:51:12.402975"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-16 20:51:12 +0100 Processing by ArticlesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL 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 2015-11-16 20:51:12 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (44.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 299ms (Views: 299.0ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:51:12 +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 1 [["name", "admin"]] Redirected to http://www.example.com/articles Completed 302 Found in 7ms (ActiveRecord: 0.2ms) Started GET "/articles" for 127.0.0.1 at 2015-11-16 20:51:12 +0100 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "oMJDs1cO_wE3LM-FXL_4RQ"]] Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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" = 'articles' [["read_right", "t"]] 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"."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 (2.9ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (19.2ms) Completed 200 OK in 60ms (Views: 24.0ms | ActiveRecord: 5.7ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction Started GET "/login" for 127.0.0.1 at 2015-11-16 20:51:12 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.4ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.3ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$1D8jLGZmh5ItkEeefEKBL.mFVFGuJwpWOJ/xYjDfqu/qJu79//fqK"], ["remember_token", "E8WM_xW0Cm275tRRkFylnw"], ["created_at", "2015-11-16 19:51:55.617448"], ["updated_at", "2015-11-16 19:51:55.617448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-11-16 19:51:55.657228"], ["updated_at", "2015-11-16 19:51:55.657228"]]  (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", "2015-11-16 19:51:55.676607"], ["updated_at", "2015-11-16 19:51:55.676607"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) 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", "2015-11-16 19:51:55.706967"], ["updated_at", "2015-11-16 19:51:55.706967"]] 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", "2015-11-16 19:51:55.709978"], ["updated_at", "2015-11-16 19:51:55.709978"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-16 20:51:55 +0100 Processing by ArticlesController#index as HTML 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 2ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2015-11-16 20:51:55 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (40.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 287ms (Views: 286.9ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:51:56 +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 1 [["name", "admin"]] Redirected to http://www.example.com/articles Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET "/articles" for 127.0.0.1 at 2015-11-16 20:51:56 +0100 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "E8WM_xW0Cm275tRRkFylnw"]] Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.8ms) SELECT "adeia_groups".* 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" = 'articles' [["read_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"."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.6ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (13.2ms) Completed 200 OK in 44ms (Views: 19.5ms | ActiveRecord: 3.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$qKtLdpsTo8rvrPjmjc254eGmi0ok7UvSQMbbLOvja4Cphvf4ORIxe"], ["remember_token", "syyYUCcvZb2Ldq_w0lduBg"], ["created_at", "2015-11-16 19:51:56.103701"], ["updated_at", "2015-11-16 19:51:56.103701"]]  (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", "2015-11-16 19:51:56.107610"], ["updated_at", "2015-11-16 19:51:56.107610"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-16 19:51:56.111321"], ["updated_at", "2015-11-16 19:51:56.111321"]]  (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", "2015-11-16 19:51:56.115350"], ["updated_at", "2015-11-16 19:51:56.115350"]] 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", "2015-11-16 19:51:56.116939"], ["updated_at", "2015-11-16 19:51:56.116939"]] 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 Started GET "/login" for 127.0.0.1 at 2015-11-16 20:51:56 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:51:56 +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"]] Rendered sessions/new.html.erb within layouts/application (1.0ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.5ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:51:56 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "session"=>{"name"=>"", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", ""]] Rendered sessions/new.html.erb within layouts/application (1.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$yaavbQAFrzYyAh.TGycGCuITIzd1RySfIPq/u83OZrJe4W2SLfYPG"], ["remember_token", "JIDvYcJ0gcKoYMZO8w25Aw"], ["created_at", "2015-11-16 19:52:40.234258"], ["updated_at", "2015-11-16 19:52:40.234258"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-16 19:52:40.279482"], ["updated_at", "2015-11-16 19:52:40.279482"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-11-16 19:52:40.298389"], ["updated_at", "2015-11-16 19:52:40.298389"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) 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", "2015-11-16 19:52:40.328009"], ["updated_at", "2015-11-16 19:52:40.328009"]] 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", "2015-11-16 19:52:40.330992"], ["updated_at", "2015-11-16 19:52:40.330992"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-16 20:52:40 +0100 Processing by ArticlesController#index as HTML 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 2ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2015-11-16 20:52:40 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (39.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 290ms (Views: 289.7ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:52:40 +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 1 [["name", "admin"]] Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2015-11-16 20:52:40 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (0.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "JIDvYcJ0gcKoYMZO8w25Aw"]] Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.2ms)  (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$OqTDIXx6Eh3ltHcXKuUNDuXbYCdMWjj2kzZZZWlDMUimlpx9GuWza"], ["remember_token", "13jW2aXT-4l-sp3a7XmypA"], ["created_at", "2015-11-16 19:52:40.713647"], ["updated_at", "2015-11-16 19:52:40.713647"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-16 19:52:40.716989"], ["updated_at", "2015-11-16 19:52:40.716989"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-16 19:52:40.719533"], ["updated_at", "2015-11-16 19:52:40.719533"]]  (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", "2015-11-16 19:52:40.723523"], ["updated_at", "2015-11-16 19:52:40.723523"]] 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", "2015-11-16 19:52:40.724898"], ["updated_at", "2015-11-16 19:52:40.724898"]] 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 Started GET "/login" for 127.0.0.1 at 2015-11-16 20:52:40 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:52:40 +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"]] Rendered sessions/new.html.erb within layouts/application (1.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 21ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:52:40 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "session"=>{"name"=>"", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", ""]] 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.0ms | ActiveRecord: 0.2ms)  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$Eduk1juoFtteVvLCt5xuUurGD/BkVChXubChOdCEboBFG4g1svUYy"], ["remember_token", "UfWYf3o9xnG4u9za4z3byQ"], ["created_at", "2015-11-16 19:53:32.711422"], ["updated_at", "2015-11-16 19:53:32.711422"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-16 19:53:32.754087"], ["updated_at", "2015-11-16 19:53:32.754087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-11-16 19:53:32.775379"], ["updated_at", "2015-11-16 19:53:32.775379"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) 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", "2015-11-16 19:53:32.807485"], ["updated_at", "2015-11-16 19:53:32.807485"]] 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", "2015-11-16 19:53:32.810773"], ["updated_at", "2015-11-16 19:53:32.810773"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-16 20:53:32 +0100 Processing by ArticlesController#index as HTML 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 2ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2015-11-16 20:53:32 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (44.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 342ms (Views: 341.8ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:53:33 +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 1 [["name", "admin"]] Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2015-11-16 20:53:33 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (0.5ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "UfWYf3o9xnG4u9za4z3byQ"]] Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.3ms)  (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$gZoyXZIus77.chOD58aHW.KdH37gRMWcupSi1cEx.r58J7NoQVPfu"], ["remember_token", "Ja0gW_wLHwn4ZukPjKPcdA"], ["created_at", "2015-11-16 19:53:33.271649"], ["updated_at", "2015-11-16 19:53:33.271649"]]  (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", "2015-11-16 19:53:33.276043"], ["updated_at", "2015-11-16 19:53:33.276043"]]  (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", "2015-11-16 19:53:33.279512"], ["updated_at", "2015-11-16 19:53:33.279512"]]  (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", "2015-11-16 19:53:33.284528"], ["updated_at", "2015-11-16 19:53:33.284528"]] 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", "2015-11-16 19:53:33.286890"], ["updated_at", "2015-11-16 19:53:33.286890"]] 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 Started GET "/login" for 127.0.0.1 at 2015-11-16 20:53:33 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (9.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 14ms (Views: 13.5ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:53:33 +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"]] Rendered sessions/new.html.erb within layouts/application (1.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 18ms (Views: 3.8ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:53:33 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "session"=>{"name"=>"", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", ""]] Rendered sessions/new.html.erb within layouts/application (1.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms)  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$WW1aEbxnPZtZraP3HNX1MOXRn8NyP011Ojyuqy.kEwYTD8hznVcVq"], ["remember_token", "oydbtzHXhA2hYnR8Wks8Sw"], ["created_at", "2015-11-16 19:53:52.180841"], ["updated_at", "2015-11-16 19:53:52.180841"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) 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", "2015-11-16 19:53:52.222222"], ["updated_at", "2015-11-16 19:53:52.222222"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-11-16 19:53:52.241666"], ["updated_at", "2015-11-16 19:53:52.241666"]]  (0.0ms) 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", "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", "2015-11-16 19:53:52.270917"], ["updated_at", "2015-11-16 19:53:52.270917"]] 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", "2015-11-16 19:53:52.273708"], ["updated_at", "2015-11-16 19:53:52.273708"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-16 20:53:52 +0100 Processing by ArticlesController#index as HTML 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 2ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2015-11-16 20:53:52 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (40.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 292ms (Views: 292.1ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:53: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 1 [["name", "admin"]] Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2015-11-16 20:53:52 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (0.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "oydbtzHXhA2hYnR8Wks8Sw"]] Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.2ms)  (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$5FSsinPlRzW03zqI3PYxWuR2MDIQzO7c3LGuk9OIdDUTuvF7HVbCK"], ["remember_token", "n9rrWqJvNLb6cu7uGHMQnQ"], ["created_at", "2015-11-16 19:53:52.657314"], ["updated_at", "2015-11-16 19:53:52.657314"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-16 19:53:52.660517"], ["updated_at", "2015-11-16 19:53:52.660517"]]  (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", "2015-11-16 19:53:52.663953"], ["updated_at", "2015-11-16 19:53:52.663953"]]  (0.1ms) 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", "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", "2015-11-16 19:53:52.667413"], ["updated_at", "2015-11-16 19:53:52.667413"]] 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", "2015-11-16 19:53:52.668656"], ["updated_at", "2015-11-16 19:53:52.668656"]] 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 Started GET "/login" for 127.0.0.1 at 2015-11-16 20:53:52 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.3ms) 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) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:53: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 1 [["name", "admin"]] Rendered sessions/new.html.erb within layouts/application (1.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 17ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:53:52 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "session"=>{"name"=>"", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", ""]] Rendered sessions/new.html.erb within layouts/application (1.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms)  (1.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$FfNaduG1TnQ/7fj3dtHOv.Zvz.mhraulXbshLR8vN1tn3ZY5IIb/G"], ["remember_token", "PS8KvXLzZfXCcFHeVp92tA"], ["created_at", "2015-11-16 19:54:48.053240"], ["updated_at", "2015-11-16 19:54:48.053240"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-11-16 19:54:48.091880"], ["updated_at", "2015-11-16 19:54:48.091880"]]  (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", "2015-11-16 19:54:48.111727"], ["updated_at", "2015-11-16 19:54:48.111727"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) 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", "2015-11-16 19:54:48.141569"], ["updated_at", "2015-11-16 19:54:48.141569"]] 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", "2015-11-16 19:54:48.144840"], ["updated_at", "2015-11-16 19:54:48.144840"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-16 20:54:48 +0100 Processing by ArticlesController#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 4ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2015-11-16 20:54:48 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (42.7ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 309ms (Views: 308.3ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:54:48 +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 1 [["name", "admin"]] Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2015-11-16 20:54:48 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (0.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "PS8KvXLzZfXCcFHeVp92tA"]] Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.2ms)  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$cwlmusLK6pkbNWOaCTppReNF72rZtlrN2PCp5RhNQzH3aPQ2s3IBS"], ["remember_token", "LZLWZEuTkiNuyg5NLMWCbQ"], ["created_at", "2015-11-16 19:55:08.325961"], ["updated_at", "2015-11-16 19:55:08.325961"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) 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", "2015-11-16 19:55:08.372972"], ["updated_at", "2015-11-16 19:55:08.372972"]]  (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", "2015-11-16 19:55:08.393845"], ["updated_at", "2015-11-16 19:55:08.393845"]]  (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", "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", "2015-11-16 19:55:08.427587"], ["updated_at", "2015-11-16 19:55:08.427587"]] 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", "2015-11-16 19:55:08.430488"], ["updated_at", "2015-11-16 19:55:08.430488"]] 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 Started GET "/login" for 127.0.0.1 at 2015-11-16 20:55:08 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (39.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 298ms (Views: 297.5ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:55:08 +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 1 [["name", "admin"]] 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 18ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:55:08 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "session"=>{"name"=>"", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", ""]] Rendered sessions/new.html.erb within layouts/application (1.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$MhE5jsVskHw0mJsDkGOU0e0uobjl0/JUKltk4MmFIGFN9E5DOKQQm"], ["remember_token", "qF2O2AVWmEVCL-_mqDgXjA"], ["created_at", "2015-11-16 19:55:37.488480"], ["updated_at", "2015-11-16 19:55:37.488480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-16 19:55:37.533778"], ["updated_at", "2015-11-16 19:55:37.533778"]]  (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", "2015-11-16 19:55:37.553835"], ["updated_at", "2015-11-16 19:55:37.553835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) 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", "2015-11-16 19:55:37.584341"], ["updated_at", "2015-11-16 19:55:37.584341"]] 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", "2015-11-16 19:55:37.587447"], ["updated_at", "2015-11-16 19:55:37.587447"]] 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 Started GET "/login" for 127.0.0.1 at 2015-11-16 20:55:37 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (40.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 314ms (Views: 313.4ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:55:37 +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 1 [["name", "admin"]] Rendered sessions/new.html.erb within layouts/application (1.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 19ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:55:37 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "session"=>{"name"=>"", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", ""]] 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 1 Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.3ms)  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$pU61SR9jzCQ4ByE.zbW.WufwV4nE9tAbMum6ECIjtC8Hixm9juZwS"], ["remember_token", "5pFnoj8DgR4azDo_kdIZzA"], ["created_at", "2015-11-16 19:56:23.090281"], ["updated_at", "2015-11-16 19:56:23.090281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-11-16 19:56:23.137496"], ["updated_at", "2015-11-16 19:56:23.137496"]]  (0.0ms) 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", "2015-11-16 19:56:23.159549"], ["updated_at", "2015-11-16 19:56:23.159549"]]  (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", "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", "2015-11-16 19:56:23.188894"], ["updated_at", "2015-11-16 19:56:23.188894"]] 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", "2015-11-16 19:56:23.191732"], ["updated_at", "2015-11-16 19:56:23.191732"]] 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 Started GET "/login" for 127.0.0.1 at 2015-11-16 20:56:23 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (32.7ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 287ms (Views: 287.0ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:56:23 +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 1 [["name", "admin"]] Rendered sessions/new.html.erb within layouts/application (1.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 23ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:56:23 +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 2015-11-16 20:56:23 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (0.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "5pFnoj8DgR4azDo_kdIZzA"]] Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.2ms)  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$5nZADqBWN3ZbP0t7h0mHZeFilxqtLa9D7ofWBzUVzgOmWr7ReT0EK"], ["remember_token", "vS0rTv7s4Cmv3LFivZxi0g"], ["created_at", "2015-11-16 19:56:32.157402"], ["updated_at", "2015-11-16 19:56:32.157402"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-16 19:56:32.211546"], ["updated_at", "2015-11-16 19:56:32.211546"]]  (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", "2015-11-16 19:56:32.231851"], ["updated_at", "2015-11-16 19:56:32.231851"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) 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", "2015-11-16 19:56:32.265703"], ["updated_at", "2015-11-16 19:56:32.265703"]] 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", "2015-11-16 19:56:32.268678"], ["updated_at", "2015-11-16 19:56:32.268678"]] 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 Started GET "/login" for 127.0.0.1 at 2015-11-16 20:56:32 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (45.2ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 301ms (Views: 300.3ms | ActiveRecord: 0.4ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:56:32 +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 1 [["name", "admin"]] Rendered sessions/new.html.erb within layouts/application (1.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 22ms (Views: 5.2ms | ActiveRecord: 0.4ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:56:32 +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 4ms (ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2015-11-16 20:56:32 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (0.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "vS0rTv7s4Cmv3LFivZxi0g"]] Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.2ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$BSlGErnQtcCNTxcexj7JEOrdBqhWwXBlX35npEHA4d4EFsdHNkIO6"], ["remember_token", "y3VJX9zLrrXtVKg_QXr2Gg"], ["created_at", "2015-11-16 19:56:42.408519"], ["updated_at", "2015-11-16 19:56:42.408519"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) 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", "2015-11-16 19:56:42.452004"], ["updated_at", "2015-11-16 19:56:42.452004"]]  (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", "2015-11-16 19:56:42.477120"], ["updated_at", "2015-11-16 19:56:42.477120"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.9ms) 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", "2015-11-16 19:56:42.508484"], ["updated_at", "2015-11-16 19:56:42.508484"]] SQL (1.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", "2015-11-16 19:56:42.511940"], ["updated_at", "2015-11-16 19:56:42.511940"]] Adeia::Action Load (0.3ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/login" for 127.0.0.1 at 2015-11-16 20:56:42 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (40.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 285ms (Views: 284.5ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:56:42 +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 1 [["name", "admin"]] 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 18ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:56:42 +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 2015-11-16 20:56:42 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (0.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "y3VJX9zLrrXtVKg_QXr2Gg"]] Completed 200 OK in 10ms (Views: 9.8ms | ActiveRecord: 0.2ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$KA7yIbOY7/cGexhC0I.vmuXarkDWOqLgYrMzCghmLoVT96ELA1YPS"], ["remember_token", "WD3xcOPRqPSgt0_n8yVagg"], ["created_at", "2015-11-16 19:56:49.771491"], ["updated_at", "2015-11-16 19:56:49.771491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) 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", "2015-11-16 19:56:49.816597"], ["updated_at", "2015-11-16 19:56:49.816597"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-11-16 19:56:49.835940"], ["updated_at", "2015-11-16 19:56:49.835940"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) 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", "2015-11-16 19:56:49.864502"], ["updated_at", "2015-11-16 19:56:49.864502"]] 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", "2015-11-16 19:56:49.867572"], ["updated_at", "2015-11-16 19:56:49.867572"]] 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 Started GET "/login" for 127.0.0.1 at 2015-11-16 20:56:49 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (29.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 293ms (Views: 292.2ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:56:50 +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 1 [["name", "admin"]] Rendered sessions/new.html.erb within layouts/application (1.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 24ms (Views: 3.7ms | ActiveRecord: 0.3ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 20:56:50 +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 2015-11-16 20:56:50 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (0.4ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "WD3xcOPRqPSgt0_n8yVagg"]] Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.3ms)  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$PQeBdmnbBMg3gbZVZ7oQv.dRPB1YvRUiitkVPXvqYlJuILs.kJy1i"], ["remember_token", "Iq8eebVPvS2jSHaVSd1PrQ"], ["created_at", "2015-11-16 20:05:35.445559"], ["updated_at", "2015-11-16 20:05:35.445559"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/" for 127.0.0.1 at 2015-11-16 21:05:35 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (2.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 304ms (Views: 303.2ms | ActiveRecord: 0.2ms)  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$sWCD3zHrII9.G7Oh39yLAesvW7wCe0th0enAt2j7DP8CrH4kuv2dC"], ["remember_token", "YuZjvXySuAFjxoybIjx_yA"], ["created_at", "2015-11-16 20:07:29.158660"], ["updated_at", "2015-11-16 20:07:29.158660"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/" for 127.0.0.1 at 2015-11-16 21:07:29 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (2.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 255ms (Views: 252.4ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2015-11-16 21:07:29 +0100 Processing by SessionsController#destroy as HTML 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 2015-11-16 21:07:29 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (35.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 43ms (Views: 43.0ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 21:07:29 +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 1 [["name", "admin"]] Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2015-11-16 21:07:29 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (0.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "YuZjvXySuAFjxoybIjx_yA"]] Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms)  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$iCRwAZu5uNgiYyPkcqfj4u5YqV/yAyLXN6Hq9cjejPp/AHnpzZTVi"], ["remember_token", "jO7pm5zUyrYXvRig8fYIDw"], ["created_at", "2015-11-16 20:08:21.411978"], ["updated_at", "2015-11-16 20:08:21.411978"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/" for 127.0.0.1 at 2015-11-16 21:08:21 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (2.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 253ms (Views: 252.8ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2015-11-16 21:08:21 +0100 Processing by SessionsController#destroy as HTML 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 2015-11-16 21:08:21 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (33.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 43ms (Views: 42.9ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 21:08:21 +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 1 [["name", "admin"]] Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2015-11-16 21:08:21 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (0.2ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "jO7pm5zUyrYXvRig8fYIDw"]] Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$iOx6c2yJ9E7AFU82O.Uk7ejG2fukkMAbQmQY3WzPY5uw..zXmMjK6"], ["remember_token", "s3qdvb-o-RHBAlwEMIp8ug"], ["created_at", "2015-11-16 20:08:34.577064"], ["updated_at", "2015-11-16 20:08:34.577064"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-16 20:08:34.645332"], ["updated_at", "2015-11-16 20:08:34.645332"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-11-16 20:08:34.668764"], ["updated_at", "2015-11-16 20:08:34.668764"]]  (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", "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", "2015-11-16 20:08:34.712096"], ["updated_at", "2015-11-16 20:08:34.712096"]] 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", "2015-11-16 20:08:34.715332"], ["updated_at", "2015-11-16 20:08:34.715332"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-16 21:08:34 +0100 Processing by ArticlesController#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 2ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2015-11-16 21:08:34 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (45.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 348ms (Views: 346.9ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 21:08:35 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "session"=>{"name"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "admin"]] Redirected to http://www.example.com/articles Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET "/articles" for 127.0.0.1 at 2015-11-16 21:08:35 +0100 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "s3qdvb-o-RHBAlwEMIp8ug"]] Adeia::Token Load (0.5ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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"."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.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"]] CACHE (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Article Load (0.5ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (19.0ms) Completed 200 OK in 64ms (Views: 29.2ms | ActiveRecord: 3.2ms)  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$lNP1Hz4pBlOLR65n9JPc8.mRroU70j6NDUeZSxeWsyTqqvd/RFCNK"], ["remember_token", "Qs_qpnX2Zwj5OOCZkWMpEw"], ["created_at", "2015-11-16 20:08:40.605867"], ["updated_at", "2015-11-16 20:08:40.605867"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-11-16 20:08:40.645859"], ["updated_at", "2015-11-16 20:08:40.645859"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-11-16 20:08:40.667098"], ["updated_at", "2015-11-16 20:08:40.667098"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) 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", "2015-11-16 20:08:40.697661"], ["updated_at", "2015-11-16 20:08:40.697661"]] 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", "2015-11-16 20:08:40.701056"], ["updated_at", "2015-11-16 20:08:40.701056"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-16 21:08:40 +0100 Processing by ArticlesController#index as HTML 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 2ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2015-11-16 21:08:40 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (42.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 305ms (Views: 304.6ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 21:08:41 +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 1 [["name", "admin"]] Redirected to http://www.example.com/articles Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET "/articles" for 127.0.0.1 at 2015-11-16 21:08:41 +0100 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "Qs_qpnX2Zwj5OOCZkWMpEw"]] Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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" = 'articles' [["read_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"."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.6ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (12.8ms) Completed 200 OK in 43ms (Views: 18.8ms | ActiveRecord: 2.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$Rvfg4omW3Zs0vt/WqRKfgO4bvEtVlt8aMqz5kVuKytay3lJ5FOudm"], ["remember_token", "UPxbU1RMgldjvLjHmBq2LA"], ["created_at", "2015-11-16 20:08:41.114836"], ["updated_at", "2015-11-16 20:08:41.114836"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/" for 127.0.0.1 at 2015-11-16 21:08:41 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (0.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.1ms) Started GET "/logout" for 127.0.0.1 at 2015-11-16 21:08:41 +0100 Processing by SessionsController#destroy as HTML 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 2015-11-16 21:08:41 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 21:08:41 +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 2015-11-16 21:08:41 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "UPxbU1RMgldjvLjHmBq2LA"]] Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$8MuZ7LI8uPREM0YXBAMj4u3QQblCqPd2.d/8IJm3AQ58pMbLVmrLO"], ["remember_token", "ttZGeCsQOVE_bSNuwtsWRw"], ["created_at", "2015-11-16 20:12:49.321928"], ["updated_at", "2015-11-16 20:12:49.321928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/" for 127.0.0.1 at 2015-11-16 21:12:49 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (6.3ms) Completed 500 Internal Server Error in 21ms (ActiveRecord: 0.0ms)  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$IDGVAXhksia3vhUA3UFTueM5/6Wtn76H0VDVeEj.i67w.AjwipWGG"], ["remember_token", "NsH1qNIDZQHLnugFpiDFMw"], ["created_at", "2015-11-16 20:13:31.209387"], ["updated_at", "2015-11-16 20:13:31.209387"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/" for 127.0.0.1 at 2015-11-16 21:13:31 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (2.9ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 262ms (Views: 261.2ms | ActiveRecord: 0.2ms) Started POST "/articles" for 127.0.0.1 at 2015-11-16 21:13:31 +0100 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "commit"=>"Post a new article !"} 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 2015-11-16 21:13:31 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (38.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 46ms (Views: 45.8ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 21:13:31 +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 1 [["name", "admin"]] Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2015-11-16 21:13:31 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (0.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "NsH1qNIDZQHLnugFpiDFMw"]] Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$n00LFYLDy2aKMwKw9u/IGu9BH4RcrgG0OcNP853UIBPUkjSInW5ei"], ["remember_token", "9VRxX8NLAx7PmiZfOU1aGQ"], ["created_at", "2015-11-16 20:14:26.972665"], ["updated_at", "2015-11-16 20:14:26.972665"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) 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", "2015-11-16 20:14:27.019207"], ["updated_at", "2015-11-16 20:14:27.019207"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-11-16 20:14:27.041458"], ["updated_at", "2015-11-16 20:14:27.041458"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) 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", "2015-11-16 20:14:27.072037"], ["updated_at", "2015-11-16 20:14:27.072037"]] 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", "2015-11-16 20:14:27.075081"], ["updated_at", "2015-11-16 20:14:27.075081"]] 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 Started GET "/" for 127.0.0.1 at 2015-11-16 21:14:27 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (2.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 275ms (Views: 274.7ms | ActiveRecord: 0.2ms) Started POST "/articles" for 127.0.0.1 at 2015-11-16 21:14:27 +0100 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "commit"=>"Post a new article !"} 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 2015-11-16 21:14:27 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (30.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 40ms (Views: 39.6ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 21:14:27 +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 1 [["name", "admin"]] Redirected to http://www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2015-11-16 21:14:27 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (0.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "9VRxX8NLAx7PmiZfOU1aGQ"]] Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.2ms)  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.2ms) 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$xtSEuwPYi48JP9Q4pWDroO.8d9lWYgmrtXQ4He5O7RIMDtn5e.JGe"], ["remember_token", "TUeDE-S5rpHwnwplRmoatw"], ["created_at", "2015-11-16 20:16:49.638849"], ["updated_at", "2015-11-16 20:16:49.638849"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) 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", "2015-11-16 20:16:49.684713"], ["updated_at", "2015-11-16 20:16:49.684713"]]  (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", "2015-11-16 20:16:49.711105"], ["updated_at", "2015-11-16 20:16:49.711105"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", "2015-11-16 20:16:49.740949"], ["updated_at", "2015-11-16 20:16:49.740949"]] 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", "2015-11-16 20:16:49.743609"], ["updated_at", "2015-11-16 20:16:49.743609"]] 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 Started GET "/" for 127.0.0.1 at 2015-11-16 21:16:49 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (2.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 278ms (Views: 277.6ms | ActiveRecord: 0.1ms) Started POST "/articles" for 127.0.0.1 at 2015-11-16 21:16:50 +0100 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "commit"=>"Post a new article !"} 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 2ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2015-11-16 21:16:50 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (30.9ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 41ms (Views: 40.6ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 21:16:50 +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 1 [["name", "admin"]] Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2015-11-16 21:16:50 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (0.7ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "TUeDE-S5rpHwnwplRmoatw"]] Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.2ms)  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$DRzw5/XLRz/LsduHF4hlZOhEtrfprRtLST6ApUI7m/QpCAgEPgiBS"], ["remember_token", "IB3-MqR9UvbmudXW8zbxSw"], ["created_at", "2015-11-16 20:17:17.193865"], ["updated_at", "2015-11-16 20:17:17.193865"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-16 20:17:17.240912"], ["updated_at", "2015-11-16 20:17:17.240912"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-11-16 20:17:17.264514"], ["updated_at", "2015-11-16 20:17:17.264514"]]  (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", "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", "2015-11-16 20:17:17.295588"], ["updated_at", "2015-11-16 20:17:17.295588"]] 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", "2015-11-16 20:17:17.298381"], ["updated_at", "2015-11-16 20:17:17.298381"]] 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 Started GET "/" for 127.0.0.1 at 2015-11-16 21:17:17 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (2.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 249ms (Views: 248.1ms | ActiveRecord: 0.1ms) Started POST "/articles" for 127.0.0.1 at 2015-11-16 21:17:17 +0100 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "commit"=>"Post a new article !"} 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 2ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2015-11-16 21:17:17 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (34.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 42ms (Views: 41.7ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 21:17:17 +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 1 [["name", "admin"]] Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2015-11-16 21:17:17 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (0.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "IB3-MqR9UvbmudXW8zbxSw"]] Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (3.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$OK1XlGPH/UgoqPI7FQR7JeW/acwVAsPeyhxNDTxw11RbrJoUKsbV6"], ["remember_token", "8IGVekPQtax96SH4OFcYCA"], ["created_at", "2015-11-16 20:18:46.252089"], ["updated_at", "2015-11-16 20:18:46.252089"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (1.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-16 20:18:46.308476"], ["updated_at", "2015-11-16 20:18:46.308476"]]  (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", "2015-11-16 20:18:46.329394"], ["updated_at", "2015-11-16 20:18:46.329394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) 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", "2015-11-16 20:18:46.360788"], ["updated_at", "2015-11-16 20:18:46.360788"]] 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", "2015-11-16 20:18:46.364310"], ["updated_at", "2015-11-16 20:18:46.364310"]] 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 Started GET "/" for 127.0.0.1 at 2015-11-16 21:18:46 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (2.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 318ms (Views: 317.5ms | ActiveRecord: 0.2ms) Started POST "/articles" for 127.0.0.1 at 2015-11-16 21:18:46 +0100 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "commit"=>"Post a new article !"} 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 2ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2015-11-16 21:18:46 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (40.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 50ms (Views: 49.6ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-16 21:18:46 +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 1 [["name", "admin"]] Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2015-11-16 21:18:46 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (0.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "8IGVekPQtax96SH4OFcYCA"]] Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.2ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$N4KV76RztVfVVeVQoi4WxOjMiY.OmkOT.s24mAztLbPm7bMMFyloi"], ["remember_token", "716LKecluPS5iq4U-J874w"], ["created_at", "2015-11-17 16:06:08.499841"], ["updated_at", "2015-11-17 16:06:08.499841"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:06:08.544274"], ["updated_at", "2015-11-17 16:06:08.544274"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-11-17 16:06:08.565405"], ["updated_at", "2015-11-17 16:06:08.565405"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) 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", "2015-11-17 16:06:08.600780"], ["updated_at", "2015-11-17 16:06:08.600780"]] 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", "2015-11-17 16:06:08.604683"], ["updated_at", "2015-11-17 16:06:08.604683"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-17 17:06:08 +0100 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)  (1.7ms) 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$LS6WFm.Ro/NFkGV.2nWORufVvIcUHfuCphddHbqfSUBYWFWX5nKzm"], ["remember_token", "xc7MB6agEylSLPnqu7zp6A"], ["created_at", "2015-11-17 16:06:08.639538"], ["updated_at", "2015-11-17 16:06:08.639538"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:06:08.642727"], ["updated_at", "2015-11-17 16:06:08.642727"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:06:08.645395"], ["updated_at", "2015-11-17 16:06:08.645395"]]  (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", "2015-11-17 16:06:08.651444"], ["updated_at", "2015-11-17 16:06:08.651444"]] 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", "2015-11-17 16:06:08.661277"], ["updated_at", "2015-11-17 16:06:08.661277"]] 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 Started GET "/" for 127.0.0.1 at 2015-11-17 17:06:08 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (2.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 296ms (Views: 296.0ms | ActiveRecord: 0.1ms) Started POST "/articles" for 127.0.0.1 at 2015-11-17 17:06:08 +0100 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "commit"=>"Post a new article !"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$IQgGAstRMT/l6bWzpvoywuEemJzkUbR7i0rV635LCMFi0V4E4dK1a"], ["remember_token", "OLaM438Y3kxRnA2ul5Mr2w"], ["created_at", "2015-11-17 16:06:33.180758"], ["updated_at", "2015-11-17 16:06:33.180758"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:06:33.226706"], ["updated_at", "2015-11-17 16:06:33.226706"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-11-17 16:06:33.249075"], ["updated_at", "2015-11-17 16:06:33.249075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) 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", "2015-11-17 16:06:33.279500"], ["updated_at", "2015-11-17 16:06:33.279500"]] 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", "2015-11-17 16:06:33.282593"], ["updated_at", "2015-11-17 16:06:33.282593"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-17 17:06:33 +0100 Processing by ArticlesController#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 3ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2015-11-17 17:06:33 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (45.7ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 321ms (Views: 320.3ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:06:33 +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 1 [["name", "admin"]] Redirected to http://www.example.com/articles Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET "/articles" for 127.0.0.1 at 2015-11-17 17:06:33 +0100 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "OLaM438Y3kxRnA2ul5Mr2w"]] Adeia::Token Load (1.5ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.8ms) SELECT "adeia_groups".* 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" = 'articles' [["read_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"."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.6ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (15.0ms) Completed 200 OK in 52ms (Views: 22.8ms | ActiveRecord: 4.2ms)  (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$E44iqqBVQ1IIhDkPVjUjfOa5sO24F311pt9uY1wwPE2UssyPwegji"], ["remember_token", "nd09oiFZiPYVBwRDiI1ecg"], ["created_at", "2015-11-17 16:06:33.726916"], ["updated_at", "2015-11-17 16:06:33.726916"]]  (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", "2015-11-17 16:06:33.730703"], ["updated_at", "2015-11-17 16:06:33.730703"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:06:33.735529"], ["updated_at", "2015-11-17 16:06:33.735529"]]  (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", "2015-11-17 16:06:33.741008"], ["updated_at", "2015-11-17 16:06:33.741008"]] 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", "2015-11-17 16:06:33.742951"], ["updated_at", "2015-11-17 16:06:33.742951"]] 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 Started GET "/" for 127.0.0.1 at 2015-11-17 17:06:33 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (1.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 7ms (Views: 7.1ms | ActiveRecord: 0.2ms) Started POST "/articles" for 127.0.0.1 at 2015-11-17 17:06:33 +0100 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "commit"=>"Post a new article !"} 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.1ms) Started GET "/login" for 127.0.0.1 at 2015-11-17 17:06:33 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:06:33 +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 2015-11-17 17:06:33 +0100 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "nd09oiFZiPYVBwRDiI1ecg"]] 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.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"]] 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 (0.7ms) Completed 200 OK in 9ms (Views: 2.2ms | ActiveRecord: 0.8ms)  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$UALuN3RL8ay0bMNVYkOYu.71UwbpwlIaBquibxm5RK/YF7vj4DMxS"], ["remember_token", "D8272WSp6ykxTS_yHdraAw"], ["created_at", "2015-11-17 16:07:16.944494"], ["updated_at", "2015-11-17 16:07:16.944494"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) 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", "2015-11-17 16:07:16.985517"], ["updated_at", "2015-11-17 16:07:16.985517"]]  (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", "2015-11-17 16:07:17.009166"], ["updated_at", "2015-11-17 16:07:17.009166"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) 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", "2015-11-17 16:07:17.041160"], ["updated_at", "2015-11-17 16:07:17.041160"]] SQL (1.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", "2015-11-17 16:07:17.044356"], ["updated_at", "2015-11-17 16:07:17.044356"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-17 17:07:17 +0100 Processing by ArticlesController#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 2ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2015-11-17 17:07:17 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (43.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 310ms (Views: 309.6ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:07:17 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "session"=>{"name"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "admin"]] Redirected to http://www.example.com/articles Completed 302 Found in 9ms (ActiveRecord: 0.3ms) Started GET "/articles" for 127.0.0.1 at 2015-11-17 17:07:17 +0100 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "D8272WSp6ykxTS_yHdraAw"]] Adeia::Token Load (0.8ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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" = 'articles' [["read_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"."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 (1.3ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (21.6ms) Completed 200 OK in 190ms (Views: 33.2ms | ActiveRecord: 4.6ms)  (0.5ms) 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$hz4yxBqY1qaHahAmEFZ6I.lVV3dQwuhzHwbEKpqEfySnBo0LeaFYy"], ["remember_token", "mdkjpR7bny50q-G-hBsVIQ"], ["created_at", "2015-11-17 16:07:17.625608"], ["updated_at", "2015-11-17 16:07:17.625608"]]  (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", "2015-11-17 16:07:17.630113"], ["updated_at", "2015-11-17 16:07:17.630113"]]  (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", "2015-11-17 16:07:17.634607"], ["updated_at", "2015-11-17 16:07:17.634607"]]  (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", "2015-11-17 16:07:17.638735"], ["updated_at", "2015-11-17 16:07:17.638735"]] 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", "2015-11-17 16:07:17.640114"], ["updated_at", "2015-11-17 16:07:17.640114"]] 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 Started GET "/" for 127.0.0.1 at 2015-11-17 17:07:17 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (1.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 257ms (Views: 256.9ms | ActiveRecord: 0.2ms) Started POST "/articles" for 127.0.0.1 at 2015-11-17 17:07:17 +0100 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "commit"=>"Post a new article !"} 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 2015-11-17 17:07:17 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:07:17 +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 2015-11-17 17:07:17 +0100 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "mdkjpR7bny50q-G-hBsVIQ"]] 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"]] 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 (0.6ms) Completed 200 OK in 8ms (Views: 2.3ms | ActiveRecord: 0.6ms)  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$vW1b0OGC2qBe2rp8ObChrelq0rei3RI5OlqLPXRZX4PiBrHcSy7Gy"], ["remember_token", "ZMzIT-mcIXZzA0RW1A64fg"], ["created_at", "2015-11-17 16:07:30.291812"], ["updated_at", "2015-11-17 16:07:30.291812"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) 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", "2015-11-17 16:07:30.329601"], ["updated_at", "2015-11-17 16:07:30.329601"]]  (0.0ms) 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", "2015-11-17 16:07:30.348661"], ["updated_at", "2015-11-17 16:07:30.348661"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) 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", "2015-11-17 16:07:30.382270"], ["updated_at", "2015-11-17 16:07:30.382270"]] 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", "2015-11-17 16:07:30.385119"], ["updated_at", "2015-11-17 16:07:30.385119"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-17 17:07:30 +0100 Processing by ArticlesController#index as HTML 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 2ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2015-11-17 17:07:30 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (39.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 291ms (Views: 291.0ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:07:30 +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 1 [["name", "admin"]] Redirected to http://www.example.com/articles Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET "/articles" for 127.0.0.1 at 2015-11-17 17:07:30 +0100 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "ZMzIT-mcIXZzA0RW1A64fg"]] Adeia::Token Load (0.5ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.8ms) SELECT "adeia_groups".* 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" = 'articles' [["read_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"."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.5ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (15.7ms) Completed 200 OK in 51ms (Views: 23.8ms | ActiveRecord: 3.1ms)  (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$i3qp./dFxFJpE4c9VrUy6eO6/hyO1.u5Pw46YAVlKlvGUSsopUQRW"], ["remember_token", "us58ztINNOUCbf66c3AyGw"], ["created_at", "2015-11-17 16:07:30.787465"], ["updated_at", "2015-11-17 16:07:30.787465"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:07:30.790709"], ["updated_at", "2015-11-17 16:07:30.790709"]]  (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", "2015-11-17 16:07:30.793385"], ["updated_at", "2015-11-17 16:07:30.793385"]]  (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", "2015-11-17 16:07:30.796863"], ["updated_at", "2015-11-17 16:07:30.796863"]] 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", "2015-11-17 16:07:30.798812"], ["updated_at", "2015-11-17 16:07:30.798812"]] 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 Started GET "/" for 127.0.0.1 at 2015-11-17 17:07:30 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (1.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.2ms) Started POST "/articles" for 127.0.0.1 at 2015-11-17 17:07:30 +0100 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "commit"=>"Post a new article !"} 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 2015-11-17 17:07:30 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:07:30 +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 2015-11-17 17:07:30 +0100 Processing by ArticlesController#dashboard as HTML Rendered articles/dashboard.html.erb within layouts/application (0.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "us58ztINNOUCbf66c3AyGw"]] Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$JEK14hSzzSwNfqbW12coJ.V.542Q6yiTidQ5jt8WDVlGRIZ71ztHe"], ["remember_token", "_9-FxlBlFCmOLU3UXYsmPA"], ["created_at", "2015-11-17 16:15:57.829663"], ["updated_at", "2015-11-17 16:15:57.829663"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.6ms) 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", "2015-11-17 16:15:57.870242"], ["updated_at", "2015-11-17 16:15:57.870242"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (2.0ms) 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", "2015-11-17 16:15:57.921818"], ["updated_at", "2015-11-17 16:15:57.921818"]]  (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", "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", "2015-11-17 16:15:57.958294"], ["updated_at", "2015-11-17 16:15:57.958294"]] 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", "2015-11-17 16:15:57.961289"], ["updated_at", "2015-11-17 16:15:57.961289"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-17 17:15:57 +0100 Processing by ArticlesController#index as HTML 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 2ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2015-11-17 17:15:57 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (43.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 324ms (Views: 323.7ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:15:58 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "session"=>{"name"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "admin"]] Redirected to http://www.example.com/articles Completed 302 Found in 9ms (ActiveRecord: 0.3ms) Started GET "/articles" for 127.0.0.1 at 2015-11-17 17:15:58 +0100 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "_9-FxlBlFCmOLU3UXYsmPA"]] Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (1.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.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" = '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" = 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 (1.5ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (21.7ms) Completed 200 OK in 57ms (Views: 28.1ms | ActiveRecord: 4.4ms)  (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$A1FQTEnpXazXAuJcK9UVYOghH4pdTW5BOMYUcLAAi80ieQl8y5a22"], ["remember_token", "Q19fqniEPQEFjGcwDnERPw"], ["created_at", "2015-11-17 16:15:58.413758"], ["updated_at", "2015-11-17 16:15:58.413758"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/comments/new" for 127.0.0.1 at 2015-11-17 17:15:58 +0100 Processing by CommentsController#new as HTML Rendered comments/new.html.erb within layouts/application (21.5ms) Completed 500 Internal Server Error in 29ms (ActiveRecord: 0.0ms)  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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$Q1ygyALpuETYA/JKuTeP3ert//juNcsUsC9WxS0XA/8SbaG64ZcDG"], ["remember_token", "GFn5H_d4mvX5EUmARPdpow"], ["created_at", "2015-11-17 16:16:13.246759"], ["updated_at", "2015-11-17 16:16:13.246759"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) 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", "2015-11-17 16:16:13.291723"], ["updated_at", "2015-11-17 16:16:13.291723"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-11-17 16:16:13.311583"], ["updated_at", "2015-11-17 16:16:13.311583"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) 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", "2015-11-17 16:16:13.341345"], ["updated_at", "2015-11-17 16:16:13.341345"]] 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", "2015-11-17 16:16:13.344326"], ["updated_at", "2015-11-17 16:16:13.344326"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-17 17:16:13 +0100 Processing by ArticlesController#index as HTML 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 2ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2015-11-17 17:16:13 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (44.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 284ms (Views: 283.5ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:16:13 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "session"=>{"name"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "admin"]] Redirected to http://www.example.com/articles Completed 302 Found in 8ms (ActiveRecord: 0.3ms) Started GET "/articles" for 127.0.0.1 at 2015-11-17 17:16:13 +0100 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "GFn5H_d4mvX5EUmARPdpow"]] Adeia::Token Load (0.8ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.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" = 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" = '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"]] CACHE (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Article Load (0.5ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (14.8ms) Completed 200 OK in 48ms (Views: 21.2ms | ActiveRecord: 2.8ms)  (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$ZsIB27c0CQUhOaxrBk3auO44zB33T7aifU/OEdvqq/tuFMH2Xxvjy"], ["remember_token", "alRMkxv_xtkJL1stZ1GT6A"], ["created_at", "2015-11-17 16:16:13.745625"], ["updated_at", "2015-11-17 16:16:13.745625"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/comments/new" for 127.0.0.1 at 2015-11-17 17:16:13 +0100 Processing by CommentsController#new as HTML 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 1 Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.2ms) Started POST "/comments/new" for 127.0.0.1 at 2015-11-17 17:16:13 +0100  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$IX8noMvmYg1k.5eHNw9MB.alS70VF6sj5t9tz8MnH2Ps5YHYcMKKC"], ["remember_token", "2HPOzraqQmiFYE7Rx1-ZSQ"], ["created_at", "2015-11-17 16:17:41.845709"], ["updated_at", "2015-11-17 16:17:41.845709"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-11-17 16:17:41.884265"], ["updated_at", "2015-11-17 16:17:41.884265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-11-17 16:17:41.902793"], ["updated_at", "2015-11-17 16:17:41.902793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) 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", "2015-11-17 16:17:41.936157"], ["updated_at", "2015-11-17 16:17:41.936157"]] 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", "2015-11-17 16:17:41.939106"], ["updated_at", "2015-11-17 16:17:41.939106"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-17 17:17:41 +0100 Processing by ArticlesController#index as HTML 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 2ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2015-11-17 17:17:41 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (39.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 282ms (Views: 281.5ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:17:42 +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 1 [["name", "admin"]] Redirected to http://www.example.com/articles Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET "/articles" for 127.0.0.1 at 2015-11-17 17:17:42 +0100 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "2HPOzraqQmiFYE7Rx1-ZSQ"]] Adeia::Token Load (0.6ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.8ms) SELECT "adeia_groups".* 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" = 'articles' [["read_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"."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.5ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (15.3ms) Completed 200 OK in 45ms (Views: 21.3ms | ActiveRecord: 3.0ms)  (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$Yjj/oVR5YjKpCA7g8BcBge47LbebOTmDTbnb8VMuDmrm0rTTRWQJa"], ["remember_token", "fBF-HV2KmwZdrFQCtSPpHg"], ["created_at", "2015-11-17 16:17:42.329171"], ["updated_at", "2015-11-17 16:17:42.329171"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/comments/new" for 127.0.0.1 at 2015-11-17 17:17:42 +0100 Processing by CommentsController#new as HTML Rendered comments/new.html.erb within layouts/application (1.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.2ms) Started POST "/comments/new" for 127.0.0.1 at 2015-11-17 17:17:42 +0100  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$o1KYQqAv7boB.BqKbbT4VeIzBk/84tti713kl0ghPLz43Vj9w.g2a"], ["remember_token", "ekxjYe9yHCMil2Ur7PX8dA"], ["created_at", "2015-11-17 16:18:06.948362"], ["updated_at", "2015-11-17 16:18:06.948362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-11-17 16:18:06.997858"], ["updated_at", "2015-11-17 16:18:06.997858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.8ms) 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", "2015-11-17 16:18:07.021198"], ["updated_at", "2015-11-17 16:18:07.021198"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) 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", "2015-11-17 16:18:07.054503"], ["updated_at", "2015-11-17 16:18:07.054503"]] SQL (1.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", "2015-11-17 16:18:07.057822"], ["updated_at", "2015-11-17 16:18:07.057822"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-17 17:18:07 +0100 Processing by ArticlesController#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 2ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2015-11-17 17:18:07 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (41.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 288ms (Views: 287.7ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:18:07 +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 1 [["name", "admin"]] Redirected to http://www.example.com/articles Completed 302 Found in 7ms (ActiveRecord: 0.2ms) Started GET "/articles" for 127.0.0.1 at 2015-11-17 17:18:07 +0100 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "ekxjYe9yHCMil2Ur7PX8dA"]] Adeia::Token Load (0.9ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Adeia::Group Load (0.8ms) SELECT "adeia_groups".* 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" = 'articles' [["read_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"."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.5ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (15.8ms) Completed 200 OK in 52ms (Views: 23.1ms | ActiveRecord: 3.4ms)  (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$oYn/PRYNRH8Zta4J9aEYteQi0ScjdFC4jGd.mMEVjjW/usEXDQYi."], ["remember_token", "pRt5ApnyMrTIn3aliarPnA"], ["created_at", "2015-11-17 16:18:07.466985"], ["updated_at", "2015-11-17 16:18:07.466985"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/comments/new" for 127.0.0.1 at 2015-11-17 17:18:07 +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 8ms (Views: 8.0ms | ActiveRecord: 0.2ms) Started POST "/comments" for 127.0.0.1 at 2015-11-17 17:18:07 +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 2015-11-17 17:18:07 +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 3ms (Views: 3.0ms | ActiveRecord: 0.1ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:18: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 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 2015-11-17 17:18:07 +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", "pRt5ApnyMrTIn3aliarPnA"]] Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.1ms)  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$SbNEPjzjGVrDPHmRGo./3.adBXqXagHsIJHrCfQ2xVH8BcY4M7M7y"], ["remember_token", "-C4grSiVTLybWT96yAQ_OA"], ["created_at", "2015-11-17 16:20:27.444700"], ["updated_at", "2015-11-17 16:20:27.444700"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.7ms) 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", "2015-11-17 16:20:27.484518"], ["updated_at", "2015-11-17 16:20:27.484518"]]  (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", "2015-11-17 16:20:27.504104"], ["updated_at", "2015-11-17 16:20:27.504104"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) 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", "2015-11-17 16:20:27.537267"], ["updated_at", "2015-11-17 16:20:27.537267"]] 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", "2015-11-17 16:20:27.540823"], ["updated_at", "2015-11-17 16:20:27.540823"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-17 17:20:27 +0100 Processing by ArticlesController#index as HTML 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 2ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2015-11-17 17:20:27 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (40.7ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 288ms (Views: 287.4ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:20:27 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "session"=>{"name"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "admin"]] Redirected to http://www.example.com/articles Completed 302 Found in 9ms (ActiveRecord: 0.3ms) Started GET "/articles" for 127.0.0.1 at 2015-11-17 17:20:27 +0100 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "-C4grSiVTLybWT96yAQ_OA"]] Adeia::Token Load (0.8ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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" = 'articles' [["read_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"."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.6ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (14.6ms) Completed 200 OK in 46ms (Views: 21.1ms | ActiveRecord: 3.1ms)  (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$ORRNunDGag70bRUVJ6vXQe0Z35jLUJkIzI8i8VyHMb.H.xtg1Zlo."], ["remember_token", "Ck5YxGVAecFaFUgtoUt5RQ"], ["created_at", "2015-11-17 16:20:27.949806"], ["updated_at", "2015-11-17 16:20:27.949806"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/comments" for 127.0.0.1 at 2015-11-17 17:20:27 +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 2015-11-17 17:20:27 +0100 Processing by SessionsController#new as HTML 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 1 Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:20:27 +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 3ms (ActiveRecord: 0.1ms) Started GET "/comments" for 127.0.0.1 at 2015-11-17 17:20:27 +0100 Processing by CommentsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "Ck5YxGVAecFaFUgtoUt5RQ"]] Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms)  (0.5ms) 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$PnBeGD1pjxCOEDLVzRdWl.SUL7tscjCO5Mm0Q0znUAgtS4agZcnAa"], ["remember_token", "AR3Ac336CSlvLDU3dFmRKA"], ["created_at", "2015-11-17 16:20:27.985440"], ["updated_at", "2015-11-17 16:20:27.985440"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/comments/new" for 127.0.0.1 at 2015-11-17 17:20:27 +0100 Processing by CommentsController#new as HTML Rendered comments/new.html.erb within layouts/application (0.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.1ms) Started POST "/comments" for 127.0.0.1 at 2015-11-17 17:20:28 +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 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 2015-11-17 17:20:28 +0100 Processing by SessionsController#new as HTML 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 1 Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:20:28 +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 2015-11-17 17:20:28 +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", "AR3Ac336CSlvLDU3dFmRKA"]] Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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$rMkWv9KfyBlRiTqxg65Zpu8dG8Tf9BOodda0IOnDbvG.xmL4u7kCK"], ["remember_token", "bENK1GgEqxwYYG9zaOhXXw"], ["created_at", "2015-11-17 16:20:47.780506"], ["updated_at", "2015-11-17 16:20:47.780506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.5ms) 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", "2015-11-17 16:20:47.822515"], ["updated_at", "2015-11-17 16:20:47.822515"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.8ms) 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", "2015-11-17 16:20:47.843785"], ["updated_at", "2015-11-17 16:20:47.843785"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.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", "2015-11-17 16:20:47.876489"], ["updated_at", "2015-11-17 16:20:47.876489"]] 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", "2015-11-17 16:20:47.880365"], ["updated_at", "2015-11-17 16:20:47.880365"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-17 17:20:47 +0100 Processing by ArticlesController#index as HTML 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 2ms (ActiveRecord: 0.1ms) Started GET "/login" for 127.0.0.1 at 2015-11-17 17:20:47 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (43.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 323ms (Views: 322.5ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:20:48 +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 1 [["name", "admin"]] Redirected to http://www.example.com/articles Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET "/articles" for 127.0.0.1 at 2015-11-17 17:20:48 +0100 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "bENK1GgEqxwYYG9zaOhXXw"]] Adeia::Token Load (0.7ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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" = 'articles' [["read_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"."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.6ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (15.8ms) Completed 200 OK in 51ms (Views: 24.9ms | ActiveRecord: 2.9ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments" for 127.0.0.1 at 2015-11-17 17:20:48 +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 2ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2015-11-17 17:20:48 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 4ms (Views: 3.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$3MAwmf02RA4fCvdTgoL5XuikqSMwAkiWQWZXaaLvfTAwqeA2E2tk."], ["remember_token", "Obn_Zdo4zi5N90qb_1C42A"], ["created_at", "2015-11-17 16:20:48.339706"], ["updated_at", "2015-11-17 16:20:48.339706"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:20:48 +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 1 [["name", "admin"]] Redirected to http://www.example.com/comments Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/comments" for 127.0.0.1 at 2015-11-17 17:20:48 +0100 Processing by CommentsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "Obn_Zdo4zi5N90qb_1C42A"]] Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments/new" for 127.0.0.1 at 2015-11-17 17:20:48 +0100 Processing by CommentsController#new as HTML Rendered comments/new.html.erb within layouts/application (1.3ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.3ms) Started POST "/comments" for 127.0.0.1 at 2015-11-17 17:20:48 +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 2015-11-17 17:20:48 +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: 4.0ms | 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$1JDatg6YKKJgAtZKhMBFd.t.0KnMVxys7ujiGcHYPkCIprBvxzmaG"], ["remember_token", "Ts2w8bhlZQ0AGjpP4cxvEw"], ["created_at", "2015-11-17 16:20:48.386107"], ["updated_at", "2015-11-17 16:20:48.386107"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:20:48 +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 1 [["name", "admin"]] Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2015-11-17 17:20:48 +0100 Processing by PagesController#dashboard as HTML Rendered pages/dashboard.html.erb within layouts/application (0.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "Ts2w8bhlZQ0AGjpP4cxvEw"]] Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) 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.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-17 16:24:44.626710"], ["updated_at", "2015-11-17 16:24:44.626710"]]  (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", "2015-11-17 16:24:44.648863"], ["updated_at", "2015-11-17 16:24:44.648863"]]  (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", "2015-11-17 16:24:44.670267"], ["updated_at", "2015-11-17 16:24:44.670267"]]  (0.0ms) 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", "2015-11-17 16:24:44.701737"], ["updated_at", "2015-11-17 16:24:44.701737"]] 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", "2015-11-17 16:24:44.705188"], ["updated_at", "2015-11-17 16:24:44.705188"]] 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.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "exp_at", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "WWBUigC2JSPaCgwYZ95STg"], ["is_valid", "t"], ["exp_at", "2015-12-17"], ["adeia_permission_id", 1], ["created_at", "2015-11-17 16:24:44.731134"], ["updated_at", "2015-11-17 16:24:44.731134"]]  (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", "WWBUigC2JSPaCgwYZ95STg"]]  (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.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_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (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 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" = 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-17 16:24:44.759118"], ["updated_at", "2015-11-17 16:24:44.759118"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:24:44.761934"], ["updated_at", "2015-11-17 16:24:44.761934"]]  (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", "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", "2015-11-17 16:24:44.768061"], ["updated_at", "2015-11-17 16:24:44.768061"]] 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", "2015-11-17 16:24:44.770152"], ["updated_at", "2015-11-17 16:24:44.770152"]] 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" = 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.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", "2015-11-17 16:24:44.783130"], ["updated_at", "2015-11-17 16:24:44.783130"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:24:44.785987"], ["updated_at", "2015-11-17 16:24:44.785987"]]  (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", "2015-11-17 16:24:44.792027"], ["updated_at", "2015-11-17 16:24:44.792027"]] 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", "2015-11-17 16:24:44.793562"], ["updated_at", "2015-11-17 16:24:44.793562"]] 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" = 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"."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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-17 16:24:44.806014"], ["updated_at", "2015-11-17 16:24:44.806014"]]  (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.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:24:44.810632"], ["updated_at", "2015-11-17 16:24:44.810632"]]  (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", "2015-11-17 16:24:44.815044"], ["updated_at", "2015-11-17 16:24:44.815044"]] 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", "2015-11-17 16:24:44.816573"], ["updated_at", "2015-11-17 16:24:44.816573"]] 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-17 16:24:44.827536"], ["updated_at", "2015-11-17 16:24:44.827536"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:24:44.830185"], ["updated_at", "2015-11-17 16:24:44.830185"]]  (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", "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", "2015-11-17 16:24:44.834197"], ["updated_at", "2015-11-17 16:24:44.834197"]] 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", "2015-11-17 16:24:44.836355"], ["updated_at", "2015-11-17 16:24:44.836355"]] 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.1ms) 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-17 16:24:44.846449"], ["updated_at", "2015-11-17 16:24:44.846449"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:24:44.849174"], ["updated_at", "2015-11-17 16:24:44.849174"]]  (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", 1006], ["owner_type", "User"], ["permission_type", 0], ["create_right", "t"], ["created_at", "2015-11-17 16:24:44.852921"], ["updated_at", "2015-11-17 16:24:44.852921"]] 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", "2015-11-17 16:24:44.854983"], ["updated_at", "2015-11-17 16:24:44.854983"]] 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.1ms) 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.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-17 16:24:44.865684"], ["updated_at", "2015-11-17 16:24:44.865684"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:24:44.868452"], ["updated_at", "2015-11-17 16:24:44.868452"]]  (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", 1007], ["owner_type", "User"], ["permission_type", 0], ["update_right", "t"], ["created_at", "2015-11-17 16:24:44.872398"], ["updated_at", "2015-11-17 16:24:44.872398"]] 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", "2015-11-17 16:24:44.874046"], ["updated_at", "2015-11-17 16:24:44.874046"]] 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" = 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"."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.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" = 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", "2015-11-17 16:24:44.886497"], ["updated_at", "2015-11-17 16:24:44.886497"]]  (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", "2015-11-17 16:24:44.891364"], ["updated_at", "2015-11-17 16:24:44.891364"]]  (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", "2015-11-17 16:24:44.896490"], ["updated_at", "2015-11-17 16:24:44.896490"]] 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", "2015-11-17 16:24:44.898086"], ["updated_at", "2015-11-17 16:24:44.898086"]] 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" = 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.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" = 1008 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2015-11-17 16:24:44.912244"], ["updated_at", "2015-11-17 16:24:44.912244"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:24:44.915111"], ["updated_at", "2015-11-17 16:24:44.915111"]]  (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", "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", "2015-11-17 16:24:44.918820"], ["updated_at", "2015-11-17 16:24:44.918820"]] 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", "2015-11-17 16:24:44.920334"], ["updated_at", "2015-11-17 16:24:44.920334"]] 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.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"."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.1ms) 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.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", "2015-11-17 16:24:44.930649"], ["updated_at", "2015-11-17 16:24:44.930649"]]  (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", "2015-11-17 16:24:44.940851"], ["updated_at", "2015-11-17 16:24:44.940851"]]  (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", "2015-11-17 16:24:44.946151"], ["updated_at", "2015-11-17 16:24:44.946151"]] 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", "2015-11-17 16:24:44.947609"], ["updated_at", "2015-11-17 16:24:44.947609"]] 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" = 1010  (0.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" = '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.9ms) 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", "2015-11-17 16:24:44.961798"], ["updated_at", "2015-11-17 16:24:44.961798"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:24:44.964396"], ["updated_at", "2015-11-17 16:24:44.964396"]]  (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", "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", "2015-11-17 16:24:44.968294"], ["updated_at", "2015-11-17 16:24:44.968294"]] 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", "2015-11-17 16:24:44.969777"], ["updated_at", "2015-11-17 16:24:44.969777"]] 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.2ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "exp_at", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "DamfdD_K5oG_duMjnOp2aQ"], ["is_valid", "t"], ["exp_at", "2015-12-17"], ["adeia_permission_id", 1], ["created_at", "2015-11-17 16:24:44.973761"], ["updated_at", "2015-11-17 16:24:44.973761"]]  (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", "DamfdD_K5oG_duMjnOp2aQ"]]  (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.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"]]  (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"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (1.2ms) 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", "2015-11-17 16:24:44.983774"], ["updated_at", "2015-11-17 16:24:44.983774"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:24:44.986402"], ["updated_at", "2015-11-17 16:24:44.986402"]]  (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", 1012], ["owner_type", "User"], ["permission_type", 1], ["update_right", "t"], ["created_at", "2015-11-17 16:24:44.990293"], ["updated_at", "2015-11-17 16:24:44.990293"]] 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", "2015-11-17 16:24:44.991897"], ["updated_at", "2015-11-17 16:24:44.991897"]] 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"]]  (1.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-17 16:24:45.006313"], ["updated_at", "2015-11-17 16:24:45.006313"]]  (0.2ms) 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", "2015-11-17 16:24:45.011855"], ["updated_at", "2015-11-17 16:24:45.011855"]]  (0.2ms) 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", 1013], ["owner_type", "User"], ["permission_type", 1], ["update_right", "t"], ["created_at", "2015-11-17 16:24:45.016474"], ["updated_at", "2015-11-17 16:24:45.016474"]] 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", "2015-11-17 16:24:45.017808"], ["updated_at", "2015-11-17 16:24:45.017808"]] 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.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" = 1013  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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", "2015-11-17 16:24:45.033623"], ["updated_at", "2015-11-17 16:24:45.033623"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:24:45.036615"], ["updated_at", "2015-11-17 16:24:45.036615"]]  (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", 1016], ["owner_type", "User"], ["permission_type", 1], ["update_right", "t"], ["created_at", "2015-11-17 16:24:45.040480"], ["updated_at", "2015-11-17 16:24:45.040480"]] 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", "2015-11-17 16:24:45.042131"], ["updated_at", "2015-11-17 16:24:45.042131"]] 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" = 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"."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.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" = 1016 AND "adeia_elements"."name" = 'admin/articles' [["update_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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-17 16:24:45.058307"], ["updated_at", "2015-11-17 16:24:45.058307"]]  (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", "2015-11-17 16:24:45.062847"], ["updated_at", "2015-11-17 16:24:45.062847"]]  (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", "2015-11-17 16:24:45.066539"], ["updated_at", "2015-11-17 16:24:45.066539"]] 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", "2015-11-17 16:24:45.068182"], ["updated_at", "2015-11-17 16:24:45.068182"]] 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.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" = 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"."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.6ms) 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.2ms) 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", "2015-11-17 16:24:45.090410"], ["updated_at", "2015-11-17 16:24:45.090410"]]  (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", "2015-11-17 16:24:45.095197"], ["updated_at", "2015-11-17 16:24:45.095197"]]  (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", "2015-11-17 16:24:45.100177"], ["updated_at", "2015-11-17 16:24:45.100177"]] 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", "2015-11-17 16:24:45.102416"], ["updated_at", "2015-11-17 16:24:45.102416"]] 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" = 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"."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.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" = 1020 AND "adeia_elements"."name" = 'admin/articles' [["update_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.5ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-17 16:24:45.117780"], ["updated_at", "2015-11-17 16:24:45.117780"]]  (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", "2015-11-17 16:24:45.122409"], ["updated_at", "2015-11-17 16:24:45.122409"]]  (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", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["update_right", "t"], ["created_at", "2015-11-17 16:24:45.128181"], ["updated_at", "2015-11-17 16:24:45.128181"]] 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", "2015-11-17 16:24:45.130894"], ["updated_at", "2015-11-17 16:24:45.130894"]] 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" = 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.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" = 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", "2015-11-17 16:24:45.157666"], ["updated_at", "2015-11-17 16:24:45.157666"]]  (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", "2015-11-17 16:24:45.163340"], ["updated_at", "2015-11-17 16:24:45.163340"]]  (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.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-17 16:24:45.169291"], ["updated_at", "2015-11-17 16:24:45.169291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.5ms) 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", "2015-11-17 16:24:45.173677"], ["updated_at", "2015-11-17 16:24:45.173677"]]  (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", 1], ["owner_type", "Adeia::Group"], ["permission_type", 0], ["create_right", "t"], ["created_at", "2015-11-17 16:24:45.181148"], ["updated_at", "2015-11-17 16:24:45.181148"]] 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", "2015-11-17 16:24:45.184288"], ["updated_at", "2015-11-17 16:24:45.184288"]] 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" = 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"."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"]]  (0.8ms) 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 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$9Do6VN.j/VEgWpuc8AnHSujQmnFLrOiz/TlSUPnUcAKXRnq8UTJSy"], ["remember_token", "9r4J5OiXX0fbWl9c3wr5Aw"], ["created_at", "2015-11-17 16:24:45.254449"], ["updated_at", "2015-11-17 16:24:45.254449"]]  (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", "9r4J5OiXX0fbWl9c3wr5Aw"]] Rendered text template (0.0ms) Completed 200 OK in 14ms (Views: 12.9ms | 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 1ms (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$nOqY/Yum1XzgBimSyZohX.ohs/kfVrwFaPTkXKnEa0Elkaa7OG5rC"], ["remember_token", "JP-It00zwf3YUkDC0kmLRA"], ["created_at", "2015-11-17 16:24:45.291307"], ["updated_at", "2015-11-17 16:24:45.291307"]]  (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", "JP-It00zwf3YUkDC0kmLRA"]] Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | 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 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 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)  (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 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 2ms (Views: 0.3ms | 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$9lqYfQOGHt8b7BxCExEgOOadSjEN8sILtL7yOoSTsjASGKrQL6qEu"], ["remember_token", "0SrJvamCzN8bxocojkf4vg"], ["created_at", "2015-11-17 16:24:45.324784"], ["updated_at", "2015-11-17 16:24:45.324784"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:24:45.329393"], ["updated_at", "2015-11-17 16:24:45.329393"]]  (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", "2015-11-17 16:24:45.333423"], ["updated_at", "2015-11-17 16:24:45.333423"]]  (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", "2015-11-17 16:24:45.338458"], ["updated_at", "2015-11-17 16:24:45.338458"]] 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", "2015-11-17 16:24:45.340317"], ["updated_at", "2015-11-17 16:24:45.340317"]] 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.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "0SrJvamCzN8bxocojkf4vg"]] 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.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" = 'articles' [["read_right", "t"]] Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.7ms)  (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$9NBJ3JDVlyG1yiY2iFBgKO5bt/QeZnug0h9yQtaC16g/ZW7N521AC"], ["remember_token", "NlwPrI3JrBE6w0QcjgQjFg"], ["created_at", "2015-11-17 16:24:45.359803"], ["updated_at", "2015-11-17 16:24:45.359803"]]  (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", "2015-11-17 16:24:45.363747"], ["updated_at", "2015-11-17 16:24:45.363747"]]  (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", "2015-11-17 16:24:45.366318"], ["updated_at", "2015-11-17 16:24:45.366318"]]  (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", "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", "2015-11-17 16:24:45.369324"], ["updated_at", "2015-11-17 16:24:45.369324"]] 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", "2015-11-17 16:24:45.370623"], ["updated_at", "2015-11-17 16:24:45.370623"]] 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.1ms) INSERT INTO "articles" ("title", "content", "id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Rspec tests"], ["content", "Lorem ipsum"], ["id", 100], ["created_at", "2015-11-17 16:24:45.380445"], ["updated_at", "2015-11-17 16:24:45.380445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "NlwPrI3JrBE6w0QcjgQjFg"]] 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 15ms (Views: 0.6ms | ActiveRecord: 2.1ms)  (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$JZLTJYVm88krOaTx5lKPKuq5GlKhT227sjmRJ8RoKH4VJwselAbsC"], ["remember_token", "aVeJ9t2svpM5FYJWS2mt_Q"], ["created_at", "2015-11-17 16:24:45.402795"], ["updated_at", "2015-11-17 16:24:45.402795"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (1.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "letters"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "letters"], ["created_at", "2015-11-17 16:24:45.407760"], ["updated_at", "2015-11-17 16:24:45.407760"]]  (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", "2015-11-17 16:24:45.410791"], ["updated_at", "2015-11-17 16:24:45.410791"]]  (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", "2015-11-17 16:24:45.414753"], ["updated_at", "2015-11-17 16:24:45.414753"]] 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", "2015-11-17 16:24:45.416313"], ["updated_at", "2015-11-17 16:24:45.416313"]] 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", "2015-11-17 16:24:45.421241"], ["updated_at", "2015-11-17 16:24:45.421241"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "aVeJ9t2svpM5FYJWS2mt_Q"]] 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" = 'letters' [["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" = 'letters' [["read_right", "t"]] Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (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$8DqcA8L6o8oT2JMQJLDVr.AakoKgLRSCC8dZat8MjeF5yf0ODcqui"], ["remember_token", "EGIRNVIYw2hS_l9QJuSreA"], ["created_at", "2015-11-17 16:24:45.437939"], ["updated_at", "2015-11-17 16:24:45.437939"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-17 16:24:45.443057"], ["updated_at", "2015-11-17 16:24:45.443057"]]  (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", "2015-11-17 16:24:45.446927"], ["updated_at", "2015-11-17 16:24:45.446927"]]  (0.1ms) 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", "2015-11-17 16:24:45.450059"], ["updated_at", "2015-11-17 16:24:45.450059"]] 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", "2015-11-17 16:24:45.451252"], ["updated_at", "2015-11-17 16:24:45.451252"]] 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", "2015-11-17 16:24:45.457635"], ["updated_at", "2015-11-17 16:24:45.457635"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "EGIRNVIYw2hS_l9QJuSreA"]] 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" = '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 8ms (Views: 0.5ms | ActiveRecord: 1.0ms)  (1.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 1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 2ms (Views: 0.6ms | 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 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 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)  (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$4oL5Aa9wcgzmer7Hhctf9.DDXg6AqBQrBZenATubv5U.2sP3GbQmK"], ["remember_token", "bMCM1vsYzZAHyrmAT2hB7w"], ["created_at", "2015-11-17 16:24:45.499646"], ["updated_at", "2015-11-17 16:24:45.499646"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:24:45.502703"], ["updated_at", "2015-11-17 16:24:45.502703"]]  (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", "2015-11-17 16:24:45.505162"], ["updated_at", "2015-11-17 16:24:45.505162"]]  (0.1ms) 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", "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", "2015-11-17 16:24:45.508234"], ["updated_at", "2015-11-17 16:24:45.508234"]] 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", "2015-11-17 16:24:45.509450"], ["updated_at", "2015-11-17 16:24:45.509450"]] Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.2ms) 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", "bMCM1vsYzZAHyrmAT2hB7w"]] 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.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 4ms (Views: 0.5ms | ActiveRecord: 0.4ms)  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-17 16:24:45.521516"], ["updated_at", "2015-11-17 16:24:45.521516"]]  (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", "2015-11-17 16:24:45.523660"], ["updated_at", "2015-11-17 16:24:45.523660"]]  (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", "2015-11-17 16:24:45.527665"], ["updated_at", "2015-11-17 16:24:45.527665"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-17 16:24:45.534367"], ["updated_at", "2015-11-17 16:24:45.534367"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:24:45.536957"], ["updated_at", "2015-11-17 16:24:45.536957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-11-17 16:24:45.549101"], ["updated_at", "2015-11-17 16:24:45.549101"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:24:45.552003"], ["updated_at", "2015-11-17 16:24:45.552003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "2015-11-17 16:24:45.559304"], ["updated_at", "2015-11-17 16:24:45.559304"]]  (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", "2015-11-17 16:24:45.561543"], ["updated_at", "2015-11-17 16:24:45.561543"]]  (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", "2015-11-17 16:24:45.563920"], ["updated_at", "2015-11-17 16:24:45.563920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) 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", "2015-11-17 16:24:45.574338"], ["updated_at", "2015-11-17 16:24:45.574338"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-11-17 16:24:45.577776"], ["updated_at", "2015-11-17 16:24:45.577776"]]  (0.2ms) 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", "2015-11-17 16:24:45.582142"], ["updated_at", "2015-11-17 16:24:45.582142"]]  (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 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", "2015-11-17 16:24:45.590983"], ["updated_at", "2015-11-17 16:24:45.590983"]]  (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.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-11-17 16:24:45.594944"], ["updated_at", "2015-11-17 16:24:45.594944"]]  (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$WDNM7/tcdB0TodYqPY5vhuaRxdCIbxg41aZBdtAgCaWerExIiTije"], ["remember_token", "P9tYpPEiIyDLu8c9ud8jVA"], ["created_at", "2015-11-17 16:24:45.604841"], ["updated_at", "2015-11-17 16:24:45.604841"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:24:45.608051"], ["updated_at", "2015-11-17 16:24:45.608051"]]  (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", "2015-11-17 16:24:45.611086"], ["updated_at", "2015-11-17 16:24:45.611086"]]  (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", "2015-11-17 16:24:45.614815"], ["updated_at", "2015-11-17 16:24:45.614815"]] 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", "2015-11-17 16:24:45.616085"], ["updated_at", "2015-11-17 16:24:45.616085"]] 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", "P9tYpPEiIyDLu8c9ud8jVA"]] 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.7ms) Completed 200 OK in 16ms (Views: 10.7ms | ActiveRecord: 0.6ms)  (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$1hhymyleBuVS1DCrJ1EZZOErzIVIDBfqhj0vRedvh13cGwo8.swGG"], ["remember_token", "eNeC8NdJfvfU8EMIeGgvpw"], ["created_at", "2015-11-17 16:24:45.644933"], ["updated_at", "2015-11-17 16:24:45.644933"]]  (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", "2015-11-17 16:24:45.648918"], ["updated_at", "2015-11-17 16:24:45.648918"]]  (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", "2015-11-17 16:24:45.651964"], ["updated_at", "2015-11-17 16:24:45.651964"]]  (0.1ms) 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", "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", "2015-11-17 16:24:45.655011"], ["updated_at", "2015-11-17 16:24:45.655011"]] 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", "2015-11-17 16:24:45.656181"], ["updated_at", "2015-11-17 16:24:45.656181"]] 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 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "eNeC8NdJfvfU8EMIeGgvpw"]] 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: 0.9ms | ActiveRecord: 0.6ms)  (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$I/GQvKJHkllmdOapVaS27OGgmuiRKi.0OzmT/nE3dEjwib/nmImLu"], ["remember_token", "7LNq1tD4J0e5lztwlw-K9A"], ["created_at", "2015-11-17 16:24:45.672718"], ["updated_at", "2015-11-17 16:24:45.672718"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:24:45.676561"], ["updated_at", "2015-11-17 16:24:45.676561"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:24:45.682006"], ["updated_at", "2015-11-17 16:24:45.682006"]]  (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", "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", "2015-11-17 16:24:45.686636"], ["updated_at", "2015-11-17 16:24:45.686636"]] 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", "2015-11-17 16:24:45.688799"], ["updated_at", "2015-11-17 16:24:45.688799"]] 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.2ms) 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$BjBSKKCm59PZpblCaanYr.QIxU1xnvr/5YNUEdpnovs3XpiUhltbC"], ["remember_token", "ZbEQTFAmEbFaBLxZcVptog"], ["created_at", "2015-11-17 16:24:45.697508"], ["updated_at", "2015-11-17 16:24:45.697508"]]  (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", "2015-11-17 16:24:45.699963"], ["updated_at", "2015-11-17 16:24:45.699963"]]  (0.0ms) 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", "2015-11-17 16:24:45.702044"], ["updated_at", "2015-11-17 16:24:45.702044"]]  (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", "2015-11-17 16:24:45.703829"], ["updated_at", "2015-11-17 16:24:45.703829"]]  (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", "2015-11-17 16:24:45.705503"], ["updated_at", "2015-11-17 16:24:45.705503"]]  (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", "2015-11-17 16:24:45.708336"], ["updated_at", "2015-11-17 16:24:45.708336"]]  (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", "7LNq1tD4J0e5lztwlw-K9A"]] 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.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 7ms (Views: 1.1ms | ActiveRecord: 0.7ms)  (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$CVPih.OUAgh0DcvuRAgUyOZh0sJfDrL137k/nxSMkEDHCjxeUt2bm"], ["remember_token", "2uKzZ-fqmSLYrB0O7AvEsw"], ["created_at", "2015-11-17 16:24:45.725951"], ["updated_at", "2015-11-17 16:24:45.725951"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:24:45.729131"], ["updated_at", "2015-11-17 16:24:45.729131"]]  (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", "2015-11-17 16:24:45.732075"], ["updated_at", "2015-11-17 16:24:45.732075"]]  (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", "2015-11-17 16:24:45.735415"], ["updated_at", "2015-11-17 16:24:45.735415"]] 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", "2015-11-17 16:24:45.736633"], ["updated_at", "2015-11-17 16:24:45.736633"]] 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.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", "2015-11-17 16:24:45.740602"], ["updated_at", "2015-11-17 16:24:45.740602"]]  (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", "2015-11-17 16:24:45.742645"], ["updated_at", "2015-11-17 16:24:45.742645"]]  (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", "2015-11-17 16:24:45.744894"], ["updated_at", "2015-11-17 16:24:45.744894"]]  (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", "2015-11-17 16:24:45.746715"], ["updated_at", "2015-11-17 16:24:45.746715"]]  (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", "2015-11-17 16:24:45.748368"], ["updated_at", "2015-11-17 16:24:45.748368"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$IiIcug5ysyoNy6RDYks0UeYJf0XE0mG.P2iAWweJt5LLBQ0PDWQeK"], ["remember_token", "6QWWEZgjHl9IV4vCAQbaxQ"], ["created_at", "2015-11-17 16:24:45.752203"], ["updated_at", "2015-11-17 16:24:45.752203"]]  (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", "2015-11-17 16:24:45.753812"], ["updated_at", "2015-11-17 16:24:45.753812"]]  (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", "2015-11-17 16:24:45.755700"], ["updated_at", "2015-11-17 16:24:45.755700"]]  (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.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", "2015-11-17 16:24:45.758124"], ["updated_at", "2015-11-17 16:24:45.758124"]]  (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", "2015-11-17 16:24:45.761529"], ["updated_at", "2015-11-17 16:24:45.761529"]]  (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", "2015-11-17 16:24:45.764517"], ["updated_at", "2015-11-17 16:24:45.764517"]]  (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", "2uKzZ-fqmSLYrB0O7AvEsw"]] 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.1ms | ActiveRecord: 0.6ms) 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$hiMHuNwvYfgtCvPz4j2P/uudwv2IIlFoG8bHp58O9DXfTfGLkQXE2"], ["remember_token", "JHhv9LnGd7QLoJkuaHI6Lg"], ["created_at", "2015-11-17 16:24:45.780368"], ["updated_at", "2015-11-17 16:24:45.780368"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:24:45.784000"], ["updated_at", "2015-11-17 16:24:45.784000"]]  (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", "2015-11-17 16:24:45.787496"], ["updated_at", "2015-11-17 16:24:45.787496"]]  (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", "2015-11-17 16:24:45.790906"], ["updated_at", "2015-11-17 16:24:45.790906"]] 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", "2015-11-17 16:24:45.792346"], ["updated_at", "2015-11-17 16:24:45.792346"]] 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", "2015-11-17 16:24:45.796569"], ["updated_at", "2015-11-17 16:24:45.796569"]]  (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", "2015-11-17 16:24:45.798418"], ["updated_at", "2015-11-17 16:24:45.798418"]]  (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", "2015-11-17 16:24:45.801579"], ["updated_at", "2015-11-17 16:24:45.801579"]]  (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", "2015-11-17 16:24:45.804894"], ["updated_at", "2015-11-17 16:24:45.804894"]]  (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", "2015-11-17 16:24:45.807233"], ["updated_at", "2015-11-17 16:24:45.807233"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$f72/zkr7jWUfflXe7pRTCeT/AEoBCYMGlwMxMQdhHLdTD.897hxyG"], ["remember_token", "NRoX_tfi2r7payCwmW4p1Q"], ["created_at", "2015-11-17 16:24:45.811991"], ["updated_at", "2015-11-17 16:24:45.811991"]]  (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", "2015-11-17 16:24:45.813694"], ["updated_at", "2015-11-17 16:24:45.813694"]]  (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", "2015-11-17 16:24:45.815766"], ["updated_at", "2015-11-17 16:24:45.815766"]]  (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", "2015-11-17 16:24:45.817662"], ["updated_at", "2015-11-17 16:24:45.817662"]]  (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", "2015-11-17 16:24:45.819351"], ["updated_at", "2015-11-17 16:24:45.819351"]]  (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", "2015-11-17 16:24:45.821083"], ["updated_at", "2015-11-17 16:24:45.821083"]]  (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", "2015-11-17 16:24:45.822819"], ["updated_at", "2015-11-17 16:24:45.822819"]]  (0.0ms) 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", "2015-11-17 16:24:45.828986"], ["updated_at", "2015-11-17 16:24:45.828986"]] 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", "2015-11-17 16:24:45.830417"], ["updated_at", "2015-11-17 16:24:45.830417"]] 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", "JHhv9LnGd7QLoJkuaHI6Lg"]] 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: 1.1ms | ActiveRecord: 0.7ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))  (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$oOi4myR7CE5TKWO3w7DdBOLXgYGKL9Oh/Jumns5BPyLfthvQJdAp2"], ["remember_token", "QzvTWrkhyZ9_A9ImiU7XMg"], ["created_at", "2015-11-17 16:24:45.849830"], ["updated_at", "2015-11-17 16:24:45.849830"]]  (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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$KHyjlg2FDDmlxM1ypbGik.IUt6Fk2EG4LCIAorfjtUc2BIJI9Mena"], ["remember_token", "2IMiuGrW87ur5BmizFpPEA"], ["created_at", "2015-11-17 16:24:45.854364"], ["updated_at", "2015-11-17 16:24:45.854364"]]  (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", "2015-11-17 16:24:45.856855"], ["updated_at", "2015-11-17 16:24:45.856855"]]  (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", "2015-11-17 16:24:45.858965"], ["updated_at", "2015-11-17 16:24:45.858965"]]  (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", "2015-11-17 16:24:45.860761"], ["updated_at", "2015-11-17 16:24:45.860761"]]  (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.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", "2015-11-17 16:24:45.862484"], ["updated_at", "2015-11-17 16:24:45.862484"]]  (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.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", "2015-11-17 16:24:45.866242"], ["updated_at", "2015-11-17 16:24:45.866242"]]  (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", "2015-11-17 16:24:45.869256"], ["updated_at", "2015-11-17 16:24:45.869256"]]  (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", "2015-11-17 16:24:45.871966"], ["updated_at", "2015-11-17 16:24:45.871966"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:24:45.875119"], ["updated_at", "2015-11-17 16:24:45.875119"]]  (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", "2015-11-17 16:24:45.878491"], ["updated_at", "2015-11-17 16:24:45.878491"]]  (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", "2015-11-17 16:24:45.882743"], ["updated_at", "2015-11-17 16:24:45.882743"]] 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", "2015-11-17 16:24:45.884120"], ["updated_at", "2015-11-17 16:24:45.884120"]] 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.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", 2], ["read_right", "t"], ["created_at", "2015-11-17 16:24:45.893521"], ["updated_at", "2015-11-17 16:24:45.893521"]] 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", "2015-11-17 16:24:45.896055"], ["updated_at", "2015-11-17 16:24:45.896055"]] 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", "QzvTWrkhyZ9_A9ImiU7XMg"]] 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.1ms | ActiveRecord: 0.5ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$8VSnIN5A578ituG4sxmnLuUCxJIK5sK/rY27yRMDKc.VZcBG9sWBK"], ["remember_token", "A3TaGNdIxqZTNJuVPHSglQ"], ["created_at", "2015-11-17 16:24:45.913659"], ["updated_at", "2015-11-17 16:24:45.913659"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:24:45.916623"], ["updated_at", "2015-11-17 16:24:45.916623"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:24:45.920027"], ["updated_at", "2015-11-17 16:24:45.920027"]]  (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", "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", "2015-11-17 16:24:45.925693"], ["updated_at", "2015-11-17 16:24:45.925693"]] 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", "2015-11-17 16:24:45.927695"], ["updated_at", "2015-11-17 16:24:45.927695"]] 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.1ms) 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$vvcSqjT2UBM8VMGOD3XcLurYbM6sxHkgzhB1yXagArUIuWBSPZxty"], ["remember_token", "LvDI2KxNpIOFpEifNgp2Pw"], ["created_at", "2015-11-17 16:24:45.934285"], ["updated_at", "2015-11-17 16:24:45.934285"]]  (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", "2015-11-17 16:24:45.935864"], ["updated_at", "2015-11-17 16:24:45.935864"]]  (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 1 [["remember_token", "A3TaGNdIxqZTNJuVPHSglQ"]] Article Load (0.2ms) 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 8ms (Views: 3.1ms | 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$4yeXxXuNkmSe0K1pWp/JBOFZJ56gqPhAuC56QGzKTf5GZ/p6vtRmu"], ["remember_token", "l-MNQvzMd6JKOp2zWKghOA"], ["created_at", "2015-11-17 16:24:45.951224"], ["updated_at", "2015-11-17 16:24:45.951224"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:24:45.954312"], ["updated_at", "2015-11-17 16:24:45.954312"]]  (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", "2015-11-17 16:24:45.956812"], ["updated_at", "2015-11-17 16:24:45.956812"]]  (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", "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", "2015-11-17 16:24:45.961215"], ["updated_at", "2015-11-17 16:24:45.961215"]] 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", "2015-11-17 16:24:45.963507"], ["updated_at", "2015-11-17 16:24:45.963507"]] 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.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$KaQXN8pi79nA7W2aLZDyIegALX8HnP3xKjj.9RWcoq3NZn5N6SjZW"], ["remember_token", "REkMuGo2SVlM-k6qGSKQ0w"], ["created_at", "2015-11-17 16:24:45.971469"], ["updated_at", "2015-11-17 16:24:45.971469"]]  (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", "2015-11-17 16:24:45.974056"], ["updated_at", "2015-11-17 16:24:45.974056"]]  (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 1 [["remember_token", "l-MNQvzMd6JKOp2zWKghOA"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.6ms)  (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$rrU8UmOsSOy5cljN6/n/Eul/1XctEHM9m0Q5WMYARpgPMav3PFK8y"], ["remember_token", "MYezflRYDr6o3h54DTnlsQ"], ["created_at", "2015-11-17 16:24:45.988419"], ["updated_at", "2015-11-17 16:24:45.988419"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:24:45.991985"], ["updated_at", "2015-11-17 16:24:45.991985"]]  (0.2ms) 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", "2015-11-17 16:24:45.995281"], ["updated_at", "2015-11-17 16:24:45.995281"]]  (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", 1], ["owner_type", "User"], ["permission_type", 0], ["create_right", "t"], ["created_at", "2015-11-17 16:24:45.999655"], ["updated_at", "2015-11-17 16:24:45.999655"]] 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", "2015-11-17 16:24:46.001596"], ["updated_at", "2015-11-17 16:24:46.001596"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "MYezflRYDr6o3h54DTnlsQ"]] 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 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.3ms) Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.5ms)  (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$2n2v7PDzhdiwgdNxkcw./elr1tF3jwABfjWX/Zb/0XGjbUllcKuSe"], ["remember_token", "iOqSVR2MuAUc6RfLujNk-A"], ["created_at", "2015-11-17 16:24:46.017798"], ["updated_at", "2015-11-17 16:24:46.017798"]]  (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", "2015-11-17 16:24:46.021363"], ["updated_at", "2015-11-17 16:24:46.021363"]]  (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", "2015-11-17 16:24:46.024454"], ["updated_at", "2015-11-17 16:24:46.024454"]]  (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", 1], ["owner_type", "User"], ["permission_type", 0], ["update_right", "t"], ["created_at", "2015-11-17 16:24:46.028091"], ["updated_at", "2015-11-17 16:24:46.028091"]] 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", "2015-11-17 16:24:46.029612"], ["updated_at", "2015-11-17 16:24:46.029612"]] 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.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT 1 [["name", "editor"]]  (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$gZzucYd/IP.7m8GEKvbPbuFj6BARAd8xrU7SwaXqnG4UrpB1O3urC"], ["remember_token", "-YQZGV2KaXgF2i-g0CRz7Q"], ["created_at", "2015-11-17 16:24:46.035632"], ["updated_at", "2015-11-17 16:24:46.035632"]]  (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", "2015-11-17 16:24:46.038918"], ["updated_at", "2015-11-17 16:24:46.038918"]]  (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", "iOqSVR2MuAUc6RfLujNk-A"]] 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.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" = 1 AND "adeia_elements"."name" = '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" = 1 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] Rendered articles/edit.html.erb within layouts/application (0.6ms) Completed 200 OK in 12ms (Views: 4.8ms | ActiveRecord: 1.1ms)  (1.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$sEKrnnsGN/bLgk.4XVr0muNhVqkw9f5If4sa47d.1/h4MDuEXP.j."], ["remember_token", "f8zsyHxhBHig42TQ4UkqZQ"], ["created_at", "2015-11-17 16:24:46.061394"], ["updated_at", "2015-11-17 16:24:46.061394"]]  (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", "2015-11-17 16:24:46.067451"], ["updated_at", "2015-11-17 16:24:46.067451"]]  (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", "2015-11-17 16:24:46.070612"], ["updated_at", "2015-11-17 16:24:46.070612"]]  (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", 1], ["owner_type", "User"], ["permission_type", 0], ["update_right", "t"], ["created_at", "2015-11-17 16:24:46.073940"], ["updated_at", "2015-11-17 16:24:46.073940"]] 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", "2015-11-17 16:24:46.075269"], ["updated_at", "2015-11-17 16:24:46.075269"]] 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.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$X1dIcrJ3f8Vvvifb/yy/4Oqcbv7XCFqYzLdjPZAb9n3IaS37s2x0."], ["remember_token", "pKgT9MiGy3-_6xanSTnt5w"], ["created_at", "2015-11-17 16:24:46.081132"], ["updated_at", "2015-11-17 16:24:46.081132"]]  (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", "2015-11-17 16:24:46.082902"], ["updated_at", "2015-11-17 16:24:46.082902"]]  (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 1 [["remember_token", "f8zsyHxhBHig42TQ4UkqZQ"]] 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.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.4ms) Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 0.8ms)  (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$gjI2uCx/1yeITlig3E5BcepSPpLjHl5/yL1d4jRY6RbcRsORdZ1OK"], ["remember_token", "MzLKdiKCnOzKF6SSAZUjsw"], ["created_at", "2015-11-17 16:24:46.100394"], ["updated_at", "2015-11-17 16:24:46.100394"]]  (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", "2015-11-17 16:24:46.103950"], ["updated_at", "2015-11-17 16:24:46.103950"]]  (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", "2015-11-17 16:24:46.107087"], ["updated_at", "2015-11-17 16:24:46.107087"]]  (0.1ms) 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", "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", "2015-11-17 16:24:46.110091"], ["updated_at", "2015-11-17 16:24:46.110091"]] 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", "2015-11-17 16:24:46.111275"], ["updated_at", "2015-11-17 16:24:46.111275"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-17 17:24:46 +0100 Processing by ArticlesController#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 2ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2015-11-17 17:24:46 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (19.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 229ms (Views: 228.4ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:24:46 +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 2015-11-17 17:24:46 +0100 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "MzLKdiKCnOzKF6SSAZUjsw"]] 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" = 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"]] CACHE (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Article Load (0.2ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (12.7ms) Completed 200 OK in 19ms (Views: 14.1ms | ActiveRecord: 0.6ms)  (1.1ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments" for 127.0.0.1 at 2015-11-17 17:24:46 +0100 Processing by CommentsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL 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 2015-11-17 17:24:46 +0100 Processing by SessionsController#new as HTML 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 1 Completed 200 OK in 6ms (Views: 5.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$JT/YqMkd8dQpBEuqbrbXZOMCtadF5yNzOG8T2vIB1dBcAJg5ATqBG"], ["remember_token", "wxj-Yb1drIr2hlNFvyv0vg"], ["created_at", "2015-11-17 16:24:46.424712"], ["updated_at", "2015-11-17 16:24:46.424712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:24:46 +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 3ms (ActiveRecord: 0.1ms) Started GET "/comments" for 127.0.0.1 at 2015-11-17 17:24:46 +0100 Processing by CommentsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "wxj-Yb1drIr2hlNFvyv0vg"]] Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments/new" for 127.0.0.1 at 2015-11-17 17:24:46 +0100 Processing by CommentsController#new as HTML Rendered comments/new.html.erb within layouts/application (1.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.2ms) Started POST "/comments" for 127.0.0.1 at 2015-11-17 17:24:46 +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 2015-11-17 17:24:46 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 3ms (Views: 2.7ms | 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$aL9wtqAMq4SMUDCDpk6Lo.qbiaHG8Nlc5ealZHNueHZ6kKXICyRPm"], ["remember_token", "1QSPWCsLZ5VNqZvjYdG7xw"], ["created_at", "2015-11-17 16:24:46.464728"], ["updated_at", "2015-11-17 16:24:46.464728"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:24:46 +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 4ms (ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2015-11-17 17:24:46 +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", "1QSPWCsLZ5VNqZvjYdG7xw"]] Completed 200 OK in 7ms (Views: 7.1ms | ActiveRecord: 0.1ms)  (0.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$p3.nqhqP5TmYkFDS389GSOdMYBudbf8/5Pwzhf6b6enUVT4D5GCLW"], ["remember_token", "EBW-2qs36yA7r3cpj1ykCw"], ["created_at", "2015-11-17 16:24:46.495882"], ["updated_at", "2015-11-17 16:24:46.495882"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-11-17 16:24:46.499386"], ["updated_at", "2015-11-17 16:24:46.499386"]]  (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", "t"], ["created_at", "2015-11-17 16:24:46.503186"], ["updated_at", "2015-11-17 16:24:46.503186"]] 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.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$HkfGmPijDbCcK1bfrFKzZ.lPBeAfd/SXF9D15SEsLsslurOtqeb1y"], ["remember_token", "Il2rumL0wgIgcpQAynIuxQ"], ["created_at", "2015-11-17 16:24:46.512583"], ["updated_at", "2015-11-17 16:24:46.512583"]]  (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", "2015-11-17 16:24:46.516184"], ["updated_at", "2015-11-17 16:24:46.516184"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-11-17 16:24:46.520168"], ["updated_at", "2015-11-17 16:24:46.520168"]]  (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", "2015-11-17 16:24:46.525152"], ["updated_at", "2015-11-17 16:24:46.525152"]] 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", "2015-11-17 16:24:46.526553"], ["updated_at", "2015-11-17 16:24:46.526553"]] 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  (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$GjhDKWrINF0sQ1nRAQ25qeL3OPyEa/WgEzPpDLVhy6fAsykJNqokS"], ["remember_token", "yJD5W8vqVd9PWm3XH5ZMeQ"], ["created_at", "2015-11-17 16:24:46.533735"], ["updated_at", "2015-11-17 16:24:46.533735"]]  (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", "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", "2015-11-17 16:24:46.536236"], ["updated_at", "2015-11-17 16:24:46.536236"]]  (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", "2015-11-17 16:24:46.538586"], ["updated_at", "2015-11-17 16:24:46.538586"]] 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.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$DU1OmMtOLOCKk55LbA/dOeqLSjWB1KzkVALLZBGl4.HOdupvMvfym"], ["remember_token", "uAJKSHoDIg5g4JfE9HymgA"], ["created_at", "2015-11-17 16:24:46.549747"], ["updated_at", "2015-11-17 16:24:46.549747"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:24:46.552769"], ["updated_at", "2015-11-17 16:24:46.552769"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2015-11-17 16:24:46.555638"], ["updated_at", "2015-11-17 16:24:46.555638"]]  (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", "2015-11-17 16:24:46.560274"], ["updated_at", "2015-11-17 16:24:46.560274"]] 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", "2015-11-17 16:24:46.561519"], ["updated_at", "2015-11-17 16:24:46.561519"]] 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.3ms) 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.1ms) 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 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 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", "2015-11-17 16:25:14.987524"], ["updated_at", "2015-11-17 16:25:14.987524"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) 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", "2015-11-17 16:25:15.010656"], ["updated_at", "2015-11-17 16:25:15.010656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2015-11-17 16:25:15.033468"], ["updated_at", "2015-11-17 16:25:15.033468"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) 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", "2015-11-17 16:25:15.068067"], ["updated_at", "2015-11-17 16:25:15.068067"]] 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", "2015-11-17 16:25:15.071288"], ["updated_at", "2015-11-17 16:25:15.071288"]] 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.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "exp_at", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "qXNZwyxdEKSxLkLXpumFdQ"], ["is_valid", "t"], ["exp_at", "2015-12-17"], ["adeia_permission_id", 1], ["created_at", "2015-11-17 16:25:15.092352"], ["updated_at", "2015-11-17 16:25:15.092352"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "qXNZwyxdEKSxLkLXpumFdQ"]]  (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.1ms) 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.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" = '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.2ms) 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", "2015-11-17 16:25:15.120932"], ["updated_at", "2015-11-17 16:25:15.120932"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:15.124303"], ["updated_at", "2015-11-17 16:25:15.124303"]]  (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", "2015-11-17 16:25:15.129213"], ["updated_at", "2015-11-17 16:25:15.129213"]] 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", "2015-11-17 16:25:15.130784"], ["updated_at", "2015-11-17 16:25:15.130784"]] 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" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-17 16:25:15.143676"], ["updated_at", "2015-11-17 16:25:15.143676"]]  (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", "2015-11-17 16:25:15.147153"], ["updated_at", "2015-11-17 16:25:15.147153"]]  (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", "2015-11-17 16:25:15.152257"], ["updated_at", "2015-11-17 16:25:15.152257"]] 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", "2015-11-17 16:25:15.153810"], ["updated_at", "2015-11-17 16:25:15.153810"]] 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" = 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"."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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (0.9ms) 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", "2015-11-17 16:25:15.164804"], ["updated_at", "2015-11-17 16:25:15.164804"]]  (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", "2015-11-17 16:25:15.168863"], ["updated_at", "2015-11-17 16:25:15.168863"]]  (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", "2015-11-17 16:25:15.172815"], ["updated_at", "2015-11-17 16:25:15.172815"]] 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", "2015-11-17 16:25:15.174838"], ["updated_at", "2015-11-17 16:25:15.174838"]] 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.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" = 1004 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-17 16:25:15.188067"], ["updated_at", "2015-11-17 16:25:15.188067"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:15.191249"], ["updated_at", "2015-11-17 16:25:15.191249"]]  (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", "2015-11-17 16:25:15.196922"], ["updated_at", "2015-11-17 16:25:15.196922"]] 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", "2015-11-17 16:25:15.198487"], ["updated_at", "2015-11-17 16:25:15.198487"]] 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.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" = 1005 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", "2015-11-17 16:25:15.210096"], ["updated_at", "2015-11-17 16:25:15.210096"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:15.213408"], ["updated_at", "2015-11-17 16:25:15.213408"]]  (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", "2015-11-17 16:25:15.219639"], ["updated_at", "2015-11-17 16:25:15.219639"]] 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", "2015-11-17 16:25:15.221377"], ["updated_at", "2015-11-17 16:25:15.221377"]] 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.1ms) 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", "2015-11-17 16:25:15.233427"], ["updated_at", "2015-11-17 16:25:15.233427"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:15.236843"], ["updated_at", "2015-11-17 16:25:15.236843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", "2015-11-17 16:25:15.241116"], ["updated_at", "2015-11-17 16:25:15.241116"]] 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", "2015-11-17 16:25:15.243048"], ["updated_at", "2015-11-17 16:25:15.243048"]] 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.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" = 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"."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.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" = 1007 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-17 16:25:15.255588"], ["updated_at", "2015-11-17 16:25:15.255588"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:15.258375"], ["updated_at", "2015-11-17 16:25:15.258375"]]  (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", "2015-11-17 16:25:15.262163"], ["updated_at", "2015-11-17 16:25:15.262163"]] 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", "2015-11-17 16:25:15.263881"], ["updated_at", "2015-11-17 16:25:15.263881"]] 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" = 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"."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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-17 16:25:15.276631"], ["updated_at", "2015-11-17 16:25:15.276631"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:15.279426"], ["updated_at", "2015-11-17 16:25:15.279426"]]  (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", "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", "2015-11-17 16:25:15.283657"], ["updated_at", "2015-11-17 16:25:15.283657"]] 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", "2015-11-17 16:25:15.285056"], ["updated_at", "2015-11-17 16:25:15.285056"]] 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.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"."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.2ms) 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"]]  (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", "2015-11-17 16:25:15.296264"], ["updated_at", "2015-11-17 16:25:15.296264"]]  (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", "2015-11-17 16:25:15.306479"], ["updated_at", "2015-11-17 16:25:15.306479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", "2015-11-17 16:25:15.311168"], ["updated_at", "2015-11-17 16:25:15.311168"]] 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", "2015-11-17 16:25:15.312699"], ["updated_at", "2015-11-17 16:25:15.312699"]] 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" = 1010  (0.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.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" = 'admin/articles' AND "adeia_actions"."name" = 'share'  (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", "2015-11-17 16:25:15.325447"], ["updated_at", "2015-11-17 16:25:15.325447"]]  (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", "2015-11-17 16:25:15.328598"], ["updated_at", "2015-11-17 16:25:15.328598"]]  (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", 1011], ["owner_type", "User"], ["permission_type", 1], ["update_right", "t"], ["created_at", "2015-11-17 16:25:15.332959"], ["updated_at", "2015-11-17 16:25:15.332959"]] 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", "2015-11-17 16:25:15.334784"], ["updated_at", "2015-11-17 16:25:15.334784"]] 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 "adeia_tokens" ("token", "is_valid", "exp_at", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "4-IsGjUo7BVEYCQR9H_qGQ"], ["is_valid", "t"], ["exp_at", "2015-12-17"], ["adeia_permission_id", 1], ["created_at", "2015-11-17 16:25:15.338797"], ["updated_at", "2015-11-17 16:25:15.338797"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "4-IsGjUo7BVEYCQR9H_qGQ"]]  (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_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.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"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) 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", "2015-11-17 16:25:15.349783"], ["updated_at", "2015-11-17 16:25:15.349783"]]  (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.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:15.354448"], ["updated_at", "2015-11-17 16:25:15.354448"]]  (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", "2015-11-17 16:25:15.359942"], ["updated_at", "2015-11-17 16:25:15.359942"]] 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", "2015-11-17 16:25:15.361332"], ["updated_at", "2015-11-17 16:25:15.361332"]] 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.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" = 1012 AND "adeia_elements"."name" = 'admin/articles' [["update_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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-17 16:25:15.373347"], ["updated_at", "2015-11-17 16:25:15.373347"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:15.376506"], ["updated_at", "2015-11-17 16:25:15.376506"]]  (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", 1013], ["owner_type", "User"], ["permission_type", 1], ["update_right", "t"], ["created_at", "2015-11-17 16:25:15.380952"], ["updated_at", "2015-11-17 16:25:15.380952"]] 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", "2015-11-17 16:25:15.382732"], ["updated_at", "2015-11-17 16:25:15.382732"]] 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.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" = 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.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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_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", "2015-11-17 16:25:15.399917"], ["updated_at", "2015-11-17 16:25:15.399917"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:15.403631"], ["updated_at", "2015-11-17 16:25:15.403631"]]  (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", 1016], ["owner_type", "User"], ["permission_type", 1], ["update_right", "t"], ["created_at", "2015-11-17 16:25:15.408599"], ["updated_at", "2015-11-17 16:25:15.408599"]] 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", "2015-11-17 16:25:15.410313"], ["updated_at", "2015-11-17 16:25:15.410313"]] 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" = 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"."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.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" = 1016 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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-17 16:25:15.425281"], ["updated_at", "2015-11-17 16:25:15.425281"]]  (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", "2015-11-17 16:25:15.432899"], ["updated_at", "2015-11-17 16:25:15.432899"]]  (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", "2015-11-17 16:25:15.437149"], ["updated_at", "2015-11-17 16:25:15.437149"]] 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", "2015-11-17 16:25:15.439012"], ["updated_at", "2015-11-17 16:25:15.439012"]] 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.8ms) SELECT "adeia_groups".* 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.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" = 1018 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" = 1018 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", "2015-11-17 16:25:15.458584"], ["updated_at", "2015-11-17 16:25:15.458584"]]  (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", "2015-11-17 16:25:15.463123"], ["updated_at", "2015-11-17 16:25:15.463123"]]  (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", "2015-11-17 16:25:15.469692"], ["updated_at", "2015-11-17 16:25:15.469692"]] 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", "2015-11-17 16:25:15.471929"], ["updated_at", "2015-11-17 16:25:15.471929"]] 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.4ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 1020  (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"."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.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" = 1020 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.7ms) 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", "2015-11-17 16:25:15.489833"], ["updated_at", "2015-11-17 16:25:15.489833"]]  (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", "2015-11-17 16:25:15.494659"], ["updated_at", "2015-11-17 16:25:15.494659"]]  (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", 1022], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1021], ["update_right", "t"], ["created_at", "2015-11-17 16:25:15.500591"], ["updated_at", "2015-11-17 16:25:15.500591"]] 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", "2015-11-17 16:25:15.503124"], ["updated_at", "2015-11-17 16:25:15.503124"]] 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.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" = 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.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" = 1022 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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", "2015-11-17 16:25:15.533210"], ["updated_at", "2015-11-17 16:25:15.533210"]]  (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", "2015-11-17 16:25:15.540072"], ["updated_at", "2015-11-17 16:25:15.540072"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-17 16:25:15.547522"], ["updated_at", "2015-11-17 16:25:15.547522"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:15.555119"], ["updated_at", "2015-11-17 16:25:15.555119"]]  (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", "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", "2015-11-17 16:25:15.563287"], ["updated_at", "2015-11-17 16:25:15.563287"]] 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", "2015-11-17 16:25:15.566728"], ["updated_at", "2015-11-17 16:25:15.566728"]] 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" = 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"."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"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 20ms (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$MsSn2FglM58hAVWti3OO7Oyct8T/.5ycFxu6i0B0aL9RXrzN1.g0e"], ["remember_token", "rR516lRhAasjjIcq6K8rdw"], ["created_at", "2015-11-17 16:25:15.645478"], ["updated_at", "2015-11-17 16:25:15.645478"]]  (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 1 [["remember_token", "rR516lRhAasjjIcq6K8rdw"]] Rendered text template (0.0ms) Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.3ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML User Load (1.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 3ms (ActiveRecord: 1.3ms)  (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$ChVR.Kt/SoaErPnGifDZwOfI1LWNHVR66v2Jxh90UlS1Esy.KlzHS"], ["remember_token", "tOEFKEIkt2MC4fFP6taDuA"], ["created_at", "2015-11-17 16:25:15.683066"], ["updated_at", "2015-11-17 16:25:15.683066"]]  (0.2ms) 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", "tOEFKEIkt2MC4fFP6taDuA"]] Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.1ms)  (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 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 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)  (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 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 2ms (Views: 0.3ms | ActiveRecord: 0.4ms)  (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$.U7Nk4XdyrNpP0utJQrxae1XlcFn5lKGUUshJs6WcgbRNcUh0hy8O"], ["remember_token", "FH35JEVo8v0nmyxbWyfe5Q"], ["created_at", "2015-11-17 16:25:15.721568"], ["updated_at", "2015-11-17 16:25:15.721568"]]  (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", "2015-11-17 16:25:15.724968"], ["updated_at", "2015-11-17 16:25:15.724968"]]  (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", "2015-11-17 16:25:15.727804"], ["updated_at", "2015-11-17 16:25:15.727804"]]  (0.1ms) 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", "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", "2015-11-17 16:25:15.730847"], ["updated_at", "2015-11-17 16:25:15.730847"]] 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", "2015-11-17 16:25:15.732061"], ["updated_at", "2015-11-17 16:25:15.732061"]] 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", "FH35JEVo8v0nmyxbWyfe5Q"]] 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" = '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" = 'articles' [["read_right", "t"]] Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.7ms)  (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$MFxZ8Q0qHyE2lrRu9lbUmeBeQio1b617qtu/w50z3d7s7nTBSuJa."], ["remember_token", "r3J8DjIbEDAvXKXrcv-qnQ"], ["created_at", "2015-11-17 16:25:15.752155"], ["updated_at", "2015-11-17 16:25:15.752155"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:25:15.755959"], ["updated_at", "2015-11-17 16:25:15.755959"]]  (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", "2015-11-17 16:25:15.758781"], ["updated_at", "2015-11-17 16:25:15.758781"]]  (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", "2015-11-17 16:25:15.761751"], ["updated_at", "2015-11-17 16:25:15.761751"]] 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", "2015-11-17 16:25:15.763086"], ["updated_at", "2015-11-17 16:25:15.763086"]] 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.8ms) INSERT INTO "articles" ("title", "content", "id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Rspec tests"], ["content", "Lorem ipsum"], ["id", 100], ["created_at", "2015-11-17 16:25:15.773477"], ["updated_at", "2015-11-17 16:25:15.773477"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "r3J8DjIbEDAvXKXrcv-qnQ"]] 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 13ms (Views: 0.5ms | ActiveRecord: 1.7ms)  (1.1ms) 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$VbpE1Em2WipAH9ZUMbVkxe6tEYfmKaPUbtrccDv.iMQIiM.h65kqK"], ["remember_token", "t3BVw12e1_nhO5DC4jwu1Q"], ["created_at", "2015-11-17 16:25:15.793095"], ["updated_at", "2015-11-17 16:25:15.793095"]]  (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", "letters"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "letters"], ["created_at", "2015-11-17 16:25:15.796599"], ["updated_at", "2015-11-17 16:25:15.796599"]]  (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", "2015-11-17 16:25:15.800017"], ["updated_at", "2015-11-17 16:25:15.800017"]]  (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", "2015-11-17 16:25:15.803163"], ["updated_at", "2015-11-17 16:25:15.803163"]] 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", "2015-11-17 16:25:15.804433"], ["updated_at", "2015-11-17 16:25:15.804433"]] 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", "2015-11-17 16:25:15.809949"], ["updated_at", "2015-11-17 16:25:15.809949"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "t3BVw12e1_nhO5DC4jwu1Q"]] 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.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" = 'letters' [["read_right", "t"]] Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 1.1ms)  (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$uW/GBn5/PvIw10NhojpzQe4TjE0a0cJP5x6EcbJEtQ3c1JI8s8DQe"], ["remember_token", "5J9Pn74kBTvylXwjtSTxIw"], ["created_at", "2015-11-17 16:25:15.829252"], ["updated_at", "2015-11-17 16:25:15.829252"]]  (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", "2015-11-17 16:25:15.833636"], ["updated_at", "2015-11-17 16:25:15.833636"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:15.836580"], ["updated_at", "2015-11-17 16:25:15.836580"]]  (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", "2015-11-17 16:25:15.840783"], ["updated_at", "2015-11-17 16:25:15.840783"]] 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", "2015-11-17 16:25:15.842481"], ["updated_at", "2015-11-17 16:25:15.842481"]] 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", "2015-11-17 16:25:15.847687"], ["updated_at", "2015-11-17 16:25:15.847687"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "5J9Pn74kBTvylXwjtSTxIw"]] 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 7ms (Views: 0.5ms | ActiveRecord: 0.8ms)  (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 1 Adeia::Token Load (0.2ms) 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 Processing by AnonymousController#index as HTML 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 2ms (Views: 0.3ms | ActiveRecord: 0.4ms)  (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$X6aPTMFlusqXQC3mB6I2BuCN5/yBC9Z/v27VG/AgVlxOL6umJC.Ae"], ["remember_token", "iIGZKmgPzwusyOIxeGiBKQ"], ["created_at", "2015-11-17 16:25:15.886662"], ["updated_at", "2015-11-17 16:25:15.886662"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:25:15.890967"], ["updated_at", "2015-11-17 16:25:15.890967"]]  (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", "2015-11-17 16:25:15.894362"], ["updated_at", "2015-11-17 16:25:15.894362"]]  (0.1ms) 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", "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", "2015-11-17 16:25:15.897660"], ["updated_at", "2015-11-17 16:25:15.897660"]] 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", "2015-11-17 16:25:15.899156"], ["updated_at", "2015-11-17 16:25:15.899156"]] 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", "iIGZKmgPzwusyOIxeGiBKQ"]] 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 4ms (Views: 0.3ms | ActiveRecord: 0.5ms)  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-17 16:25:15.913246"], ["updated_at", "2015-11-17 16:25:15.913246"]]  (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", "2015-11-17 16:25:15.915593"], ["updated_at", "2015-11-17 16:25:15.915593"]]  (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", "2015-11-17 16:25:15.918231"], ["updated_at", "2015-11-17 16:25:15.918231"]]  (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", "2015-11-17 16:25:15.925089"], ["updated_at", "2015-11-17 16:25:15.925089"]]  (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", "2015-11-17 16:25:15.928282"], ["updated_at", "2015-11-17 16:25:15.928282"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2015-11-17 16:25:15.935791"], ["updated_at", "2015-11-17 16:25:15.935791"]]  (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", "2015-11-17 16:25:15.938721"], ["updated_at", "2015-11-17 16:25:15.938721"]]  (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", "2015-11-17 16:25:15.946536"], ["updated_at", "2015-11-17 16:25:15.946536"]]  (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", "2015-11-17 16:25:15.949069"], ["updated_at", "2015-11-17 16:25:15.949069"]]  (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", "2015-11-17 16:25:15.952109"], ["updated_at", "2015-11-17 16:25:15.952109"]]  (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 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", "2015-11-17 16:25:15.959254"], ["updated_at", "2015-11-17 16:25:15.959254"]]  (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", "2015-11-17 16:25:15.961414"], ["updated_at", "2015-11-17 16:25:15.961414"]]  (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", "2015-11-17 16:25:15.963968"], ["updated_at", "2015-11-17 16:25:15.963968"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2015-11-17 16:25:15.971170"], ["updated_at", "2015-11-17 16:25:15.971170"]]  (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", "2015-11-17 16:25:15.973405"], ["updated_at", "2015-11-17 16:25:15.973405"]]  (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$QeuE9pxFgNCsuRQRqf1tbeBATyQ82wOFmVAYcJlCJjyZLFNvk8BuO"], ["remember_token", "xNnF8wUESsPn_2fbYsR7Zw"], ["created_at", "2015-11-17 16:25:15.984295"], ["updated_at", "2015-11-17 16:25:15.984295"]]  (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", "2015-11-17 16:25:15.988625"], ["updated_at", "2015-11-17 16:25:15.988625"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:15.992813"], ["updated_at", "2015-11-17 16:25:15.992813"]]  (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", "2015-11-17 16:25:15.996779"], ["updated_at", "2015-11-17 16:25:15.996779"]] 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", "2015-11-17 16:25:15.998429"], ["updated_at", "2015-11-17 16:25:15.998429"]] 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", "xNnF8wUESsPn_2fbYsR7Zw"]] 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" = 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 15ms (Views: 9.1ms | ActiveRecord: 0.7ms)  (1.5ms) 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$vnOuVbxfEsaG4kzHs8Hhnu6JVzmbvySk99Vmg6WA8nugjLIg8tbgW"], ["remember_token", "T3aViZFyCPb53yGj2rACFg"], ["created_at", "2015-11-17 16:25:16.027657"], ["updated_at", "2015-11-17 16:25:16.027657"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:25:16.030939"], ["updated_at", "2015-11-17 16:25:16.030939"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:16.036972"], ["updated_at", "2015-11-17 16:25:16.036972"]]  (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", "2015-11-17 16:25:16.041710"], ["updated_at", "2015-11-17 16:25:16.041710"]] 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", "2015-11-17 16:25:16.043372"], ["updated_at", "2015-11-17 16:25:16.043372"]] 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", "T3aViZFyCPb53yGj2rACFg"]] 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 5ms (Views: 1.0ms | 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$sUraMV6Y4ebJ1YmeucRtoOsnbiaYNGgI183PLDBYAAwgsZuzTrgZy"], ["remember_token", "lfJ8iHMp-Gt8DHsfm9ta0Q"], ["created_at", "2015-11-17 16:25:16.059688"], ["updated_at", "2015-11-17 16:25:16.059688"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:25:16.063116"], ["updated_at", "2015-11-17 16:25:16.063116"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:16.066828"], ["updated_at", "2015-11-17 16:25:16.066828"]]  (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", "2015-11-17 16:25:16.072364"], ["updated_at", "2015-11-17 16:25:16.072364"]] 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", "2015-11-17 16:25:16.074164"], ["updated_at", "2015-11-17 16:25:16.074164"]] 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.2ms) 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$8.QqHy0S61FZ8lPtH7Q/iu8mn9y1CsmMu.6eCi96JEggvvM.ND.Ue"], ["remember_token", "QSTwAsKZtm5X3uAJL3ao2A"], ["created_at", "2015-11-17 16:25:16.082631"], ["updated_at", "2015-11-17 16:25:16.082631"]]  (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", "2015-11-17 16:25:16.084971"], ["updated_at", "2015-11-17 16:25:16.084971"]]  (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", "2015-11-17 16:25:16.087451"], ["updated_at", "2015-11-17 16:25:16.087451"]]  (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", "2015-11-17 16:25:16.089403"], ["updated_at", "2015-11-17 16:25:16.089403"]]  (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", "2015-11-17 16:25:16.091118"], ["updated_at", "2015-11-17 16:25:16.091118"]]  (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", "2015-11-17 16:25:16.092871"], ["updated_at", "2015-11-17 16:25:16.092871"]]  (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", "lfJ8iHMp-Gt8DHsfm9ta0Q"]] 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)  (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$3JeQ0LTxjNGPuOba4yC5vuR7nALotwhSmW6P0NQHFvWXGEU7lFHOK"], ["remember_token", "JMw04ulV_cEq1Kmk8Dw8IQ"], ["created_at", "2015-11-17 16:25:16.107516"], ["updated_at", "2015-11-17 16:25:16.107516"]]  (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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:25:16.112393"], ["updated_at", "2015-11-17 16:25:16.112393"]]  (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.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:16.116139"], ["updated_at", "2015-11-17 16:25:16.116139"]]  (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", "2015-11-17 16:25:16.119854"], ["updated_at", "2015-11-17 16:25:16.119854"]] 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", "2015-11-17 16:25:16.121862"], ["updated_at", "2015-11-17 16:25:16.121862"]] 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 "articles" ("title", "content", "user_id", "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", "2015-11-17 16:25:16.127345"], ["updated_at", "2015-11-17 16:25:16.127345"]]  (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", "2015-11-17 16:25:16.129948"], ["updated_at", "2015-11-17 16:25:16.129948"]]  (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", "2015-11-17 16:25:16.132748"], ["updated_at", "2015-11-17 16:25:16.132748"]]  (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", "2015-11-17 16:25:16.135020"], ["updated_at", "2015-11-17 16:25:16.135020"]]  (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", "2015-11-17 16:25:16.136967"], ["updated_at", "2015-11-17 16:25:16.136967"]]  (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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$XFQySYGeOvqX8ZRUkChSlesHH4YtJoOTVJomDneo/wU37/S7PCl0m"], ["remember_token", "RDVvfCP_DUTvuiFHw_D2Gg"], ["created_at", "2015-11-17 16:25:16.141955"], ["updated_at", "2015-11-17 16:25:16.141955"]]  (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", "2015-11-17 16:25:16.144792"], ["updated_at", "2015-11-17 16:25:16.144792"]]  (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", "2015-11-17 16:25:16.148427"], ["updated_at", "2015-11-17 16:25:16.148427"]]  (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", "2015-11-17 16:25:16.150512"], ["updated_at", "2015-11-17 16:25:16.150512"]]  (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", "2015-11-17 16:25:16.152713"], ["updated_at", "2015-11-17 16:25:16.152713"]]  (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", "2015-11-17 16:25:16.154575"], ["updated_at", "2015-11-17 16:25:16.154575"]]  (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", "JMw04ulV_cEq1Kmk8Dw8IQ"]] 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.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 8ms (Views: 1.4ms | ActiveRecord: 0.8ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (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$r7GW3CpMx9dlljoJRbZNce3XX0u3eP6RlA597MF7eiF7KnQkcrmwq"], ["remember_token", "OuG1WY_qCQZb2EfrL-8u2Q"], ["created_at", "2015-11-17 16:25:16.172284"], ["updated_at", "2015-11-17 16:25:16.172284"]]  (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.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:25:16.176671"], ["updated_at", "2015-11-17 16:25:16.176671"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:16.181774"], ["updated_at", "2015-11-17 16:25:16.181774"]]  (0.2ms) 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", "2015-11-17 16:25:16.186477"], ["updated_at", "2015-11-17 16:25:16.186477"]] 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", "2015-11-17 16:25:16.188579"], ["updated_at", "2015-11-17 16:25:16.188579"]] 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 "articles" ("title", "content", "user_id", "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", "2015-11-17 16:25:16.193490"], ["updated_at", "2015-11-17 16:25:16.193490"]]  (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", "2015-11-17 16:25:16.196339"], ["updated_at", "2015-11-17 16:25:16.196339"]]  (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", "2015-11-17 16:25:16.199839"], ["updated_at", "2015-11-17 16:25:16.199839"]]  (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", "2015-11-17 16:25:16.201795"], ["updated_at", "2015-11-17 16:25:16.201795"]]  (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", "2015-11-17 16:25:16.203328"], ["updated_at", "2015-11-17 16:25:16.203328"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$srmsYU7vMxkiL0y/VHEdi.7wkn4UAcFqCTCXZAvpolJ12NIfA8/Lm"], ["remember_token", "PJSkvy8tpXiF6fQ_US2hWg"], ["created_at", "2015-11-17 16:25:16.208225"], ["updated_at", "2015-11-17 16:25:16.208225"]]  (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", "2015-11-17 16:25:16.210714"], ["updated_at", "2015-11-17 16:25:16.210714"]]  (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.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", "2015-11-17 16:25:16.214286"], ["updated_at", "2015-11-17 16:25:16.214286"]]  (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", "2015-11-17 16:25:16.217302"], ["updated_at", "2015-11-17 16:25:16.217302"]]  (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", "2015-11-17 16:25:16.219666"], ["updated_at", "2015-11-17 16:25:16.219666"]]  (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", "2015-11-17 16:25:16.221792"], ["updated_at", "2015-11-17 16:25:16.221792"]]  (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.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", "2015-11-17 16:25:16.224334"], ["updated_at", "2015-11-17 16:25:16.224334"]]  (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", "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", "2015-11-17 16:25:16.233065"], ["updated_at", "2015-11-17 16:25:16.233065"]] 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", "2015-11-17 16:25:16.235170"], ["updated_at", "2015-11-17 16:25:16.235170"]] 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 Processing by ArticlesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "OuG1WY_qCQZb2EfrL-8u2Q"]] Adeia::Token Load (0.2ms) 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" = 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.5ms) Completed 200 OK in 11ms (Views: 1.4ms | ActiveRecord: 1.2ms) Article Load (0.2ms) 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$tFpFEiwx7BoYhngUL1ylWuKWfeGZanNGZsBK8.ktWfDJRsr/k2rou"], ["remember_token", "1EoT68lAO_XlU5ZExHA6bQ"], ["created_at", "2015-11-17 16:25:16.261571"], ["updated_at", "2015-11-17 16:25:16.261571"]]  (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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$szUbno3.FGZ3rNm8JadOIerliVWwj.26Fpt5USKfCSSsYVyXYedCC"], ["remember_token", "Du6Y9c8TqLsucqhqXVdoTw"], ["created_at", "2015-11-17 16:25:16.266545"], ["updated_at", "2015-11-17 16:25:16.266545"]]  (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", "2015-11-17 16:25:16.268790"], ["updated_at", "2015-11-17 16:25:16.268790"]]  (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", "2015-11-17 16:25:16.270943"], ["updated_at", "2015-11-17 16:25:16.270943"]]  (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", "2015-11-17 16:25:16.272892"], ["updated_at", "2015-11-17 16:25:16.272892"]]  (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.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", "2015-11-17 16:25:16.275307"], ["updated_at", "2015-11-17 16:25:16.275307"]]  (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 "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", "2015-11-17 16:25:16.277998"], ["updated_at", "2015-11-17 16:25:16.277998"]]  (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", "2015-11-17 16:25:16.281752"], ["updated_at", "2015-11-17 16:25:16.281752"]]  (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", "2015-11-17 16:25:16.284614"], ["updated_at", "2015-11-17 16:25:16.284614"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:25:16.287832"], ["updated_at", "2015-11-17 16:25:16.287832"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:16.291560"], ["updated_at", "2015-11-17 16:25:16.291560"]]  (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", 1], ["read_right", "t"], ["created_at", "2015-11-17 16:25:16.296168"], ["updated_at", "2015-11-17 16:25:16.296168"]] 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", "2015-11-17 16:25:16.298203"], ["updated_at", "2015-11-17 16:25:16.298203"]] 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", "2015-11-17 16:25:16.307976"], ["updated_at", "2015-11-17 16:25:16.307976"]] 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", "2015-11-17 16:25:16.309626"], ["updated_at", "2015-11-17 16:25:16.309626"]] 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", "1EoT68lAO_XlU5ZExHA6bQ"]] 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.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 7ms (Views: 0.9ms | ActiveRecord: 0.7ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (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$TwaSmhxy3hnEdTQhohxQcugcWkQfsmTVKXNokQuUWbAtMhOd5yIny"], ["remember_token", "HTgOi4lDq6uLh3PYZzWghg"], ["created_at", "2015-11-17 16:25:16.328784"], ["updated_at", "2015-11-17 16:25:16.328784"]]  (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.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:25:16.332643"], ["updated_at", "2015-11-17 16:25:16.332643"]]  (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", "2015-11-17 16:25:16.336934"], ["updated_at", "2015-11-17 16:25:16.336934"]]  (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", "2015-11-17 16:25:16.340255"], ["updated_at", "2015-11-17 16:25:16.340255"]] 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", "2015-11-17 16:25:16.341912"], ["updated_at", "2015-11-17 16:25:16.341912"]] 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.1ms) 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$WVU2VRO/ksNalg.GqIeYJOrNFI2ApgCiRtVrmfOsxLGux2qCPkXUK"], ["remember_token", "Hwmt7bF3r9DMyVFGLLzQhQ"], ["created_at", "2015-11-17 16:25:16.349634"], ["updated_at", "2015-11-17 16:25:16.349634"]]  (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", "2015-11-17 16:25:16.352292"], ["updated_at", "2015-11-17 16:25:16.352292"]]  (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 1 [["remember_token", "HTgOi4lDq6uLh3PYZzWghg"]] Article Load (0.3ms) 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.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"]] Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 12ms (Views: 3.9ms | ActiveRecord: 1.1ms)  (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$gNWivaqOcDnDg.e1opfabOdZTWh.NPyxT586g7J7ZaZeB9dikIzZe"], ["remember_token", "_AnsWuiSCBF0dF5XVfO31Q"], ["created_at", "2015-11-17 16:25:16.374351"], ["updated_at", "2015-11-17 16:25:16.374351"]]  (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", "2015-11-17 16:25:16.378335"], ["updated_at", "2015-11-17 16:25:16.378335"]]  (0.2ms) 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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:16.382517"], ["updated_at", "2015-11-17 16:25:16.382517"]]  (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", "2015-11-17 16:25:16.386982"], ["updated_at", "2015-11-17 16:25:16.386982"]] 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", "2015-11-17 16:25:16.388370"], ["updated_at", "2015-11-17 16:25:16.388370"]] 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.1ms) 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$C75ycD4UOoks0y9Iz3iZw.0231Xo2/HKlaAtr2tO3uHBcgi2pcILW"], ["remember_token", "gLdI1T-pG-vk5g_o6GCeMQ"], ["created_at", "2015-11-17 16:25:16.395511"], ["updated_at", "2015-11-17 16:25:16.395511"]]  (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", "2015-11-17 16:25:16.398109"], ["updated_at", "2015-11-17 16:25:16.398109"]]  (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 1 [["remember_token", "_AnsWuiSCBF0dF5XVfO31Q"]] 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.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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 5ms (Views: 1.1ms | 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$g16Q8cM/YXI3ZeAZpjLwGuAHZXgnfOTkWnN0vn3ymSPxOwsFghXd."], ["remember_token", "jMuwz3lFbAPv8gFeoGFObg"], ["created_at", "2015-11-17 16:25:16.412866"], ["updated_at", "2015-11-17 16:25:16.412866"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:25:16.417245"], ["updated_at", "2015-11-17 16:25:16.417245"]]  (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", "2015-11-17 16:25:16.420664"], ["updated_at", "2015-11-17 16:25:16.420664"]]  (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", 1], ["owner_type", "User"], ["permission_type", 0], ["create_right", "t"], ["created_at", "2015-11-17 16:25:16.424292"], ["updated_at", "2015-11-17 16:25:16.424292"]] 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", "2015-11-17 16:25:16.426157"], ["updated_at", "2015-11-17 16:25:16.426157"]] 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 Processing by ArticlesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "jMuwz3lFbAPv8gFeoGFObg"]] 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 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"."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 8ms (Views: 3.2ms | ActiveRecord: 0.8ms)  (0.9ms) 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$jFVFLowB1nTFzipFTSP8qe5NAex92r04E7qkc8L2jh0K1ZJ0N1ZGa"], ["remember_token", "WPmt8MmFiStKqWmieDv0hA"], ["created_at", "2015-11-17 16:25:16.447307"], ["updated_at", "2015-11-17 16:25:16.447307"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:25:16.452024"], ["updated_at", "2015-11-17 16:25:16.452024"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:16.456950"], ["updated_at", "2015-11-17 16:25:16.456950"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", "2015-11-17 16:25:16.465938"], ["updated_at", "2015-11-17 16:25:16.465938"]] 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", "2015-11-17 16:25:16.468962"], ["updated_at", "2015-11-17 16:25:16.468962"]] 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.1ms) 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$FwBaSMXYY7XVfAia4rUtq.DcxbmJ4izVUfHEZnAwjxVRo5my/qSUS"], ["remember_token", "BQqJcl-BSUsnJbWZzbRqqg"], ["created_at", "2015-11-17 16:25:16.477194"], ["updated_at", "2015-11-17 16:25:16.477194"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (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", "2015-11-17 16:25:16.481301"], ["updated_at", "2015-11-17 16:25:16.481301"]]  (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", "WPmt8MmFiStKqWmieDv0hA"]] 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.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" = 1 AND "adeia_elements"."name" = '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" = 1 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] Rendered articles/edit.html.erb within layouts/application (0.4ms) Completed 200 OK in 11ms (Views: 3.8ms | ActiveRecord: 1.3ms)  (1.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (24.5ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$U9TB.v4KfRbQ7rXKwwjnqO0AIGZ1MypC0uJ6Q1m1Y0t2E.Y8nPoBC"], ["remember_token", "h9lk1XVhjfFCrdbB-VOoqQ"], ["created_at", "2015-11-17 16:25:16.505081"], ["updated_at", "2015-11-17 16:25:16.505081"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:25:16.535287"], ["updated_at", "2015-11-17 16:25:16.535287"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:16.540825"], ["updated_at", "2015-11-17 16:25:16.540825"]]  (0.2ms) 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", "2015-11-17 16:25:16.547367"], ["updated_at", "2015-11-17 16:25:16.547367"]] 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", "2015-11-17 16:25:16.549571"], ["updated_at", "2015-11-17 16:25:16.549571"]] 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.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$p8LdGE5fb53uaaejZlppOuUbntVXPVrh.PllXlgB1uC1Z9Nbniivy"], ["remember_token", "n_SDCVl9g2NQHsgoa40mRA"], ["created_at", "2015-11-17 16:25:16.558645"], ["updated_at", "2015-11-17 16:25:16.558645"]]  (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", "2015-11-17 16:25:16.562141"], ["updated_at", "2015-11-17 16:25:16.562141"]]  (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 1 [["remember_token", "h9lk1XVhjfFCrdbB-VOoqQ"]] Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]] Adeia::Token Load (0.3ms) 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.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.5ms) Completed 200 OK in 9ms (Views: 1.9ms | ActiveRecord: 0.9ms)  (1.2ms) 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$UspYQJ8OZZImHW6b1s6OLe36mx.yl1dBchgDLtUCAdAba7fkvqEAy"], ["remember_token", "7a1-xWT0VtBevKg_AjYkZg"], ["created_at", "2015-11-17 16:25:16.582197"], ["updated_at", "2015-11-17 16:25:16.582197"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2015-11-17 16:25:16.588861"], ["updated_at", "2015-11-17 16:25:16.588861"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:16.594803"], ["updated_at", "2015-11-17 16:25:16.594803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", "2015-11-17 16:25:16.601678"], ["updated_at", "2015-11-17 16:25:16.601678"]] 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", "2015-11-17 16:25:16.603776"], ["updated_at", "2015-11-17 16:25:16.603776"]] 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 Started GET "/articles" for 127.0.0.1 at 2015-11-17 17:25:16 +0100 Processing by ArticlesController#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 2ms (ActiveRecord: 0.2ms) Started GET "/login" for 127.0.0.1 at 2015-11-17 17:25:16 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (21.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 247ms (Views: 246.6ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:25:16 +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 2015-11-17 17:25:16 +0100 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "7a1-xWT0VtBevKg_AjYkZg"]] Adeia::Token Load (0.3ms) 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.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"]] 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 (14.9ms) Completed 200 OK in 25ms (Views: 16.3ms | ActiveRecord: 1.0ms)  (1.1ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments" for 127.0.0.1 at 2015-11-17 17:25:16 +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 2015-11-17 17:25:16 +0100 Processing by SessionsController#new as HTML 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 1 Completed 200 OK in 4ms (Views: 3.9ms | 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$C.8ft7205Go3GRc5wi7MLu0rgI23j7jBwcYyOYwxmRFKm82Llekf6"], ["remember_token", "bfjTnM7Q8hza7IzS1rjYTQ"], ["created_at", "2015-11-17 16:25:16.935797"], ["updated_at", "2015-11-17 16:25:16.935797"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:25:16 +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 3ms (ActiveRecord: 0.1ms) Started GET "/comments" for 127.0.0.1 at 2015-11-17 17:25:16 +0100 Processing by CommentsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "bfjTnM7Q8hza7IzS1rjYTQ"]] Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments/new" for 127.0.0.1 at 2015-11-17 17:25:16 +0100 Processing by CommentsController#new as HTML Rendered comments/new.html.erb within layouts/application (0.8ms) User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.5ms) Started POST "/comments" for 127.0.0.1 at 2015-11-17 17:25:16 +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 2015-11-17 17:25:16 +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 3ms (Views: 3.0ms | 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$FwvS1bDG06OH/FKf6Jglx.u7lyGWE9.nJtiHN2F8hppBi1Y.gZW9m"], ["remember_token", "uM-JgfKSKesuYijE66QOqw"], ["created_at", "2015-11-17 16:25:16.971131"], ["updated_at", "2015-11-17 16:25:16.971131"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2015-11-17 17:25:16 +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 2ms (ActiveRecord: 0.1ms) Started GET "/" for 127.0.0.1 at 2015-11-17 17:25:16 +0100 Processing by PagesController#dashboard as HTML Rendered pages/dashboard.html.erb within layouts/application (0.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "uM-JgfKSKesuYijE66QOqw"]] Completed 200 OK in 9ms (Views: 9.0ms | 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$fY2m9Pw.P.3dw8l5G7P9guGvnQ1SZnIe.9aT21ryIt2KKznNSSqmi"], ["remember_token", "AUZlDn2fWGsQiIMqNUwt4Q"], ["created_at", "2015-11-17 16:25:17.001176"], ["updated_at", "2015-11-17 16:25:17.001176"]]  (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", "2015-11-17 16:25:17.004043"], ["updated_at", "2015-11-17 16:25:17.004043"]]  (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", "2015-11-17 16:25:17.007119"], ["updated_at", "2015-11-17 16:25:17.007119"]] 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$n9QpZsl4AdM97kiu1A0zYepe3.dgDbhFErFtkgGUnLzZ21qWD0nsi"], ["remember_token", "I0OP4OSPRuiaqUfkSLttww"], ["created_at", "2015-11-17 16:25:17.016052"], ["updated_at", "2015-11-17 16:25:17.016052"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:17.018607"], ["updated_at", "2015-11-17 16:25:17.018607"]]  (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", "2015-11-17 16:25:17.020597"], ["updated_at", "2015-11-17 16:25:17.020597"]]  (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", "t"], ["resource_id", 1], ["created_at", "2015-11-17 16:25:17.024691"], ["updated_at", "2015-11-17 16:25:17.024691"]] 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", "2015-11-17 16:25:17.026365"], ["updated_at", "2015-11-17 16:25:17.026365"]] 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.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$1pquAtbNyFskvFuMI/KOiewtDRdnHZjJMx0VFtgGd24OxdAD1sUMG"], ["remember_token", "gX5pVsKeb8Bq3xIAnNngxg"], ["created_at", "2015-11-17 16:25:17.034048"], ["updated_at", "2015-11-17 16:25:17.034048"]]  (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", "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", "2015-11-17 16:25:17.036726"], ["updated_at", "2015-11-17 16:25:17.036726"]]  (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", "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", "2015-11-17 16:25:17.039150"], ["updated_at", "2015-11-17 16:25:17.039150"]] 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$82X8WAC8N9DOYoGUcfL9YuxTi1rml3QqOHYvblN25FVNlVNHqyraW"], ["remember_token", "383nQ5LSrGihS0oqJPsxag"], ["created_at", "2015-11-17 16:25:17.047037"], ["updated_at", "2015-11-17 16:25:17.047037"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2015-11-17 16:25:17.049375"], ["updated_at", "2015-11-17 16:25:17.049375"]]  (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", "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", "2015-11-17 16:25:17.051305"], ["updated_at", "2015-11-17 16:25:17.051305"]]  (0.0ms) 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", "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", "2015-11-17 16:25:17.056014"], ["updated_at", "2015-11-17 16:25:17.056014"]] 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", "2015-11-17 16:25:17.057863"], ["updated_at", "2015-11-17 16:25:17.057863"]] 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.2ms) 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.6ms) 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 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.8ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2016-04-03 20:40:48.395964"], ["updated_at", "2016-04-03 20:40:48.395964"]]  (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", "2016-04-03 20:40:48.418753"], ["updated_at", "2016-04-03 20:40:48.418753"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2016-04-03 20:40:48.435256"], ["updated_at", "2016-04-03 20:40:48.435256"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) 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", "2016-04-03 20:40:48.473185"], ["updated_at", "2016-04-03 20:40:48.473185"]] 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", "2016-04-03 20:40:48.476003"], ["updated_at", "2016-04-03 20:40:48.476003"]] 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.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "exp_at", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "LpM8We6Q5iNsQEQG2FTHXg"], ["is_valid", "t"], ["exp_at", "2016-05-03"], ["adeia_permission_id", 1], ["created_at", "2016-04-03 20:40:48.496705"], ["updated_at", "2016-04-03 20:40:48.496705"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Token Load (0.2ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT 1 [["token", "LpM8We6Q5iNsQEQG2FTHXg"]]  (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.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_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"]] 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.8ms) rollback transaction  (0.2ms) begin transaction Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2016-04-03 20:40:48.528545"], ["updated_at", "2016-04-03 20:40:48.528545"]]  (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.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:40:48.531324"], ["updated_at", "2016-04-03 20:40:48.531324"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", "2016-04-03 20:40:48.534922"], ["updated_at", "2016-04-03 20:40:48.534922"]] 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", "2016-04-03 20:40:48.556596"], ["updated_at", "2016-04-03 20:40:48.556596"]] 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.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" = 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"]]  (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", "2016-04-03 20:40:48.569211"], ["updated_at", "2016-04-03 20:40:48.569211"]]  (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", "2016-04-03 20:40:48.572549"], ["updated_at", "2016-04-03 20:40:48.572549"]]  (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", "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", "2016-04-03 20:40:48.577029"], ["updated_at", "2016-04-03 20:40:48.577029"]] 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", "2016-04-03 20:40:48.579121"], ["updated_at", "2016-04-03 20:40:48.579121"]] 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" = 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.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" = 1003 AND "adeia_elements"."name" = 'admin/articles' [["read_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.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2016-04-03 20:40:48.592750"], ["updated_at", "2016-04-03 20:40:48.592750"]]  (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", "2016-04-03 20:40:48.598119"], ["updated_at", "2016-04-03 20:40:48.598119"]]  (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", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["created_at", "2016-04-03 20:40:48.602804"], ["updated_at", "2016-04-03 20:40:48.602804"]] 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", "2016-04-03 20:40:48.604102"], ["updated_at", "2016-04-03 20:40:48.604102"]] 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" = 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"."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.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" = 1004 AND "adeia_elements"."name" = 'admin/articles' [["read_right", "t"]]  (1.1ms) 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", "2016-04-03 20:40:48.619564"], ["updated_at", "2016-04-03 20:40:48.619564"]]  (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", "2016-04-03 20:40:48.622505"], ["updated_at", "2016-04-03 20:40:48.622505"]]  (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", "2016-04-03 20:40:48.626368"], ["updated_at", "2016-04-03 20:40:48.626368"]] 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", "2016-04-03 20:40:48.627659"], ["updated_at", "2016-04-03 20:40:48.627659"]] 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.1ms) 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"]]  (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", "2016-04-03 20:40:48.639036"], ["updated_at", "2016-04-03 20:40:48.639036"]]  (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", "2016-04-03 20:40:48.642764"], ["updated_at", "2016-04-03 20:40:48.642764"]]  (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", "2016-04-03 20:40:48.647449"], ["updated_at", "2016-04-03 20:40:48.647449"]] 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", "2016-04-03 20:40:48.648970"], ["updated_at", "2016-04-03 20:40:48.648970"]] 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" = 1006 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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", "2016-04-03 20:40:48.659515"], ["updated_at", "2016-04-03 20:40:48.659515"]]  (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.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:40:48.663957"], ["updated_at", "2016-04-03 20:40:48.663957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", "2016-04-03 20:40:48.668075"], ["updated_at", "2016-04-03 20:40:48.668075"]] 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", "2016-04-03 20:40:48.669409"], ["updated_at", "2016-04-03 20:40:48.669409"]] 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" = 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"."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.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" = 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", "2016-04-03 20:40:48.680797"], ["updated_at", "2016-04-03 20:40:48.680797"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:40:48.683457"], ["updated_at", "2016-04-03 20:40:48.683457"]]  (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", 1008], ["owner_type", "User"], ["permission_type", 0], ["update_right", "t"], ["created_at", "2016-04-03 20:40:48.687106"], ["updated_at", "2016-04-03 20:40:48.687106"]] 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", "2016-04-03 20:40:48.688501"], ["updated_at", "2016-04-03 20:40:48.688501"]] 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" = 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"."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.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" = 1008 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2016-04-03 20:40:48.699308"], ["updated_at", "2016-04-03 20:40:48.699308"]]  (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", "2016-04-03 20:40:48.701838"], ["updated_at", "2016-04-03 20:40:48.701838"]]  (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", "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", "2016-04-03 20:40:48.704876"], ["updated_at", "2016-04-03 20:40:48.704876"]] 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", "2016-04-03 20:40:48.706630"], ["updated_at", "2016-04-03 20:40:48.706630"]] 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.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"."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.9ms) 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", "2016-04-03 20:40:48.717635"], ["updated_at", "2016-04-03 20:40:48.717635"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:40:48.720175"], ["updated_at", "2016-04-03 20:40:48.720175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", "2016-04-03 20:40:48.723467"], ["updated_at", "2016-04-03 20:40:48.723467"]] 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", "2016-04-03 20:40:48.725549"], ["updated_at", "2016-04-03 20:40:48.725549"]] 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" = 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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."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 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", "2016-04-03 20:40:48.736109"], ["updated_at", "2016-04-03 20:40:48.736109"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:40:48.738574"], ["updated_at", "2016-04-03 20:40:48.738574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", "2016-04-03 20:40:48.741783"], ["updated_at", "2016-04-03 20:40:48.741783"]] 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", "2016-04-03 20:40:48.743555"], ["updated_at", "2016-04-03 20:40:48.743555"]] 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.1ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "exp_at", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "h6JCNMbF0Vo4h9x-CdLljQ"], ["is_valid", "t"], ["exp_at", "2016-05-03"], ["adeia_permission_id", 1], ["created_at", "2016-04-03 20:40:48.747219"], ["updated_at", "2016-04-03 20:40:48.747219"]]  (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", "h6JCNMbF0Vo4h9x-CdLljQ"]]  (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_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (0.4ms) 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.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"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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"."id" = ? AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["update_right", "t"]]  (1.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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2016-04-03 20:40:48.760572"], ["updated_at", "2016-04-03 20:40:48.760572"]]  (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", "2016-04-03 20:40:48.763682"], ["updated_at", "2016-04-03 20:40:48.763682"]]  (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", 1012], ["owner_type", "User"], ["permission_type", 1], ["update_right", "t"], ["created_at", "2016-04-03 20:40:48.767569"], ["updated_at", "2016-04-03 20:40:48.767569"]] 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", "2016-04-03 20:40:48.768808"], ["updated_at", "2016-04-03 20:40:48.768808"]] 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.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" = 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"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2016-04-03 20:40:48.779659"], ["updated_at", "2016-04-03 20:40:48.779659"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:40:48.782276"], ["updated_at", "2016-04-03 20:40:48.782276"]]  (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", "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", "2016-04-03 20:40:48.785397"], ["updated_at", "2016-04-03 20:40:48.785397"]] 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", "2016-04-03 20:40:48.787083"], ["updated_at", "2016-04-03 20:40:48.787083"]] 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" = 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"."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.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" = 1013 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2016-04-03 20:40:48.806316"], ["updated_at", "2016-04-03 20:40:48.806316"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:40:48.808984"], ["updated_at", "2016-04-03 20:40:48.808984"]]  (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", "2016-04-03 20:40:48.812126"], ["updated_at", "2016-04-03 20:40:48.812126"]] 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", "2016-04-03 20:40:48.814467"], ["updated_at", "2016-04-03 20:40:48.814467"]] 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" = 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"."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.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" = 1016 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2016-04-03 20:40:48.827116"], ["updated_at", "2016-04-03 20:40:48.827116"]]  (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", "2016-04-03 20:40:48.829866"], ["updated_at", "2016-04-03 20:40:48.829866"]]  (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", 1018], ["owner_type", "User"], ["permission_type", 2], ["resource_id", 1], ["update_right", "t"], ["created_at", "2016-04-03 20:40:48.833672"], ["updated_at", "2016-04-03 20:40:48.833672"]] 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", "2016-04-03 20:40:48.835150"], ["updated_at", "2016-04-03 20:40:48.835150"]] 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" = 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.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" = 1018 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2016-04-03 20:40:48.845312"], ["updated_at", "2016-04-03 20:40:48.845312"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:40:48.848514"], ["updated_at", "2016-04-03 20:40:48.848514"]]  (0.2ms) 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", "2016-04-03 20:40:48.854038"], ["updated_at", "2016-04-03 20:40:48.854038"]] 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", "2016-04-03 20:40:48.855495"], ["updated_at", "2016-04-03 20:40:48.855495"]] 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" = 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"."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.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" = 1020 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2016-04-03 20:40:48.868875"], ["updated_at", "2016-04-03 20:40:48.868875"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:40:48.871374"], ["updated_at", "2016-04-03 20:40:48.871374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", "2016-04-03 20:40:48.875498"], ["updated_at", "2016-04-03 20:40:48.875498"]] 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", "2016-04-03 20:40:48.878279"], ["updated_at", "2016-04-03 20:40:48.878279"]] 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.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" = 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", "2016-04-03 20:40:48.895802"], ["updated_at", "2016-04-03 20:40:48.895802"]]  (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", "2016-04-03 20:40:48.900145"], ["updated_at", "2016-04-03 20:40:48.900145"]]  (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.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2016-04-03 20:40:48.904697"], ["updated_at", "2016-04-03 20:40:48.904697"]]  (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", "2016-04-03 20:40:48.906971"], ["updated_at", "2016-04-03 20:40:48.906971"]]  (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", "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", "2016-04-03 20:40:48.910037"], ["updated_at", "2016-04-03 20:40:48.910037"]] 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", "2016-04-03 20:40:48.911255"], ["updated_at", "2016-04-03 20:40:48.911255"]] 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" = 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"."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.7ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.7ms)  (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$lmXhRHX9xVa9BnZeJUBlD.1LSj44F8OJUbH0lei3JpW5bO4gAH6f6"], ["remember_token", "9RnlrZV42qvbRvcqI6ESLw"], ["created_at", "2016-04-03 20:40:48.967665"], ["updated_at", "2016-04-03 20:40:48.967665"]]  (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", "9RnlrZV42qvbRvcqI6ESLw"]] Rendered text template (0.0ms) Completed 200 OK in 13ms (Views: 11.8ms | 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 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$BMMwUwEVUbVH95uPcqhcLeH7ARNG7Nf3Eos5XTaPKlRrpD/NBTsG6"], ["remember_token", "2y4TTH7cpSJq6A7XFoaarA"], ["created_at", "2016-04-03 20:40:49.003321"], ["updated_at", "2016-04-03 20:40:49.003321"]]  (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", "2y4TTH7cpSJq6A7XFoaarA"]] Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)  (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 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 7ms (Views: 0.5ms | 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.3ms | ActiveRecord: 0.4ms)  (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$Ufg7VzZnyRNKvSGBqoPVvu.qNbgSY4cIv7rpvSQ5EKtWC2gL.lpc6"], ["remember_token", "dgEWRGx420QMYGlESLLZDg"], ["created_at", "2016-04-03 20:40:49.045730"], ["updated_at", "2016-04-03 20:40:49.045730"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2016-04-03 20:40:49.049137"], ["updated_at", "2016-04-03 20:40:49.049137"]]  (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", "2016-04-03 20:40:49.051685"], ["updated_at", "2016-04-03 20:40:49.051685"]]  (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", "2016-04-03 20:40:49.054584"], ["updated_at", "2016-04-03 20:40:49.054584"]] 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", "2016-04-03 20:40:49.055771"], ["updated_at", "2016-04-03 20:40:49.055771"]] 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", "dgEWRGx420QMYGlESLLZDg"]] 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.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" = '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" = 'articles' [["read_right", "t"]] Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.6ms)  (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$gumOWKTI.uFPamMVfqclR.wKc21GbktpTFI1.gbK9mSdrTAu37KHO"], ["remember_token", "X6LNbRAwtpCk7At5aOrvlw"], ["created_at", "2016-04-03 20:40:49.075334"], ["updated_at", "2016-04-03 20:40:49.075334"]]  (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", "2016-04-03 20:40:49.079475"], ["updated_at", "2016-04-03 20:40:49.079475"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:40:49.084156"], ["updated_at", "2016-04-03 20:40:49.084156"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", "2016-04-03 20:40:49.088939"], ["updated_at", "2016-04-03 20:40:49.088939"]] 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", "2016-04-03 20:40:49.090954"], ["updated_at", "2016-04-03 20:40:49.090954"]] 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.8ms) INSERT INTO "articles" ("title", "content", "id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Rspec tests"], ["content", "Lorem ipsum"], ["id", 100], ["created_at", "2016-04-03 20:40:49.101265"], ["updated_at", "2016-04-03 20:40:49.101265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 8ms (ActiveRecord: 1.1ms)  (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$V3RxGjE5sPORqK9qgVlGyO7cJk645p5j/SVNnArFeuHZ5O3993wym"], ["remember_token", "_VMqvXiXGgme--3093Xm4Q"], ["created_at", "2016-04-03 20:40:49.113578"], ["updated_at", "2016-04-03 20:40:49.113578"]]  (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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "letters"], ["created_at", "2016-04-03 20:40:49.117905"], ["updated_at", "2016-04-03 20:40:49.117905"]]  (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", "2016-04-03 20:40:49.120509"], ["updated_at", "2016-04-03 20:40:49.120509"]]  (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", "2016-04-03 20:40:49.123412"], ["updated_at", "2016-04-03 20:40:49.123412"]] 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", "2016-04-03 20:40:49.124716"], ["updated_at", "2016-04-03 20:40:49.124716"]] 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", "2016-04-03 20:40:49.129936"], ["updated_at", "2016-04-03 20:40:49.129936"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "_VMqvXiXGgme--3093Xm4Q"]] 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.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" = 'letters' [["read_right", "t"]] Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 1.0ms)  (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$CBC2DE8K79nFW9N6jvNfUeeo.xQO5U1HmUxvMaWwFfy2x6FGNLNbm"], ["remember_token", "wHVU8tCl2CGSIjI7M_YSEw"], ["created_at", "2016-04-03 20:40:49.148230"], ["updated_at", "2016-04-03 20:40:49.148230"]]  (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", "2016-04-03 20:40:49.152015"], ["updated_at", "2016-04-03 20:40:49.152015"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:40:49.154619"], ["updated_at", "2016-04-03 20:40:49.154619"]]  (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", "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", "2016-04-03 20:40:49.157693"], ["updated_at", "2016-04-03 20:40:49.157693"]] 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", "2016-04-03 20:40:49.158966"], ["updated_at", "2016-04-03 20:40:49.158966"]] 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", "2016-04-03 20:40:49.164366"], ["updated_at", "2016-04-03 20:40:49.164366"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.3ms)  (0.9ms) 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.2ms) 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.6ms | 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 2ms (Views: 0.4ms | ActiveRecord: 0.4ms)  (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$fZq7jefjQIlQWqIqjKXJRuRpHrMqFvmITLChDCCzq3xOElfx6SPrq"], ["remember_token", "VBiIndQ4nRkgUuXSEg7yXQ"], ["created_at", "2016-04-03 20:40:49.197591"], ["updated_at", "2016-04-03 20:40:49.197591"]]  (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", "2016-04-03 20:40:49.203076"], ["updated_at", "2016-04-03 20:40:49.203076"]]  (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", "2016-04-03 20:40:49.206670"], ["updated_at", "2016-04-03 20:40:49.206670"]]  (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", "2016-04-03 20:40:49.210116"], ["updated_at", "2016-04-03 20:40:49.210116"]] 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", "2016-04-03 20:40:49.212067"], ["updated_at", "2016-04-03 20:40:49.212067"]] 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", "VBiIndQ4nRkgUuXSEg7yXQ"]] 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.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 4ms (Views: 0.4ms | ActiveRecord: 0.4ms)  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2016-04-03 20:40:49.225018"], ["updated_at", "2016-04-03 20:40:49.225018"]]  (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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2016-04-03 20:40:49.227160"], ["updated_at", "2016-04-03 20:40:49.227160"]]  (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", "2016-04-03 20:40:49.229592"], ["updated_at", "2016-04-03 20:40:49.229592"]]  (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 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", "2016-04-03 20:40:49.237583"], ["updated_at", "2016-04-03 20:40:49.237583"]]  (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", "2016-04-03 20:40:49.240093"], ["updated_at", "2016-04-03 20:40:49.240093"]]  (0.0ms) 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 1 [["name", "admin"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2016-04-03 20:40:49.247695"], ["updated_at", "2016-04-03 20:40:49.247695"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:40:49.250351"], ["updated_at", "2016-04-03 20:40:49.250351"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.3ms) 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", "2016-04-03 20:40:49.259512"], ["updated_at", "2016-04-03 20:40:49.259512"]]  (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", "2016-04-03 20:40:49.262836"], ["updated_at", "2016-04-03 20:40:49.262836"]]  (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", "2016-04-03 20:40:49.266115"], ["updated_at", "2016-04-03 20:40:49.266115"]]  (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 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", "2016-04-03 20:40:49.274433"], ["updated_at", "2016-04-03 20:40:49.274433"]]  (0.0ms) 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2016-04-03 20:40:49.276590"], ["updated_at", "2016-04-03 20:40:49.276590"]]  (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", "2016-04-03 20:40:49.278903"], ["updated_at", "2016-04-03 20:40:49.278903"]]  (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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2016-04-03 20:40:49.285901"], ["updated_at", "2016-04-03 20:40:49.285901"]]  (0.0ms) 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.2ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2016-04-03 20:40:49.288050"], ["updated_at", "2016-04-03 20:40:49.288050"]]  (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$ex14tsrKGf3qmU3ISWZ92uge0fKfLe/xBhBth63F3OXRObKDQyNnq"], ["remember_token", "ta7veKKaVl3o2agRx1pHJQ"], ["created_at", "2016-04-03 20:40:49.296163"], ["updated_at", "2016-04-03 20:40:49.296163"]]  (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", "2016-04-03 20:40:49.299500"], ["updated_at", "2016-04-03 20:40:49.299500"]]  (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", "2016-04-03 20:40:49.302002"], ["updated_at", "2016-04-03 20:40:49.302002"]]  (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", "2016-04-03 20:40:49.304896"], ["updated_at", "2016-04-03 20:40:49.304896"]] 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", "2016-04-03 20:40:49.306080"], ["updated_at", "2016-04-03 20:40:49.306080"]] 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 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "ta7veKKaVl3o2agRx1pHJQ"]] 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.8ms) Completed 200 OK in 80ms (Views: 76.0ms | ActiveRecord: 0.5ms)  (9.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$.mtqp9lgP/9Z.am/.0ZBh.T3zOrAFo9v0J/z2gzcTpNmwQO2dAPZS"], ["remember_token", "7O9w9N9yLll_hU3VQzQFTg"], ["created_at", "2016-04-03 20:40:49.406373"], ["updated_at", "2016-04-03 20:40:49.406373"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2016-04-03 20:40:49.409583"], ["updated_at", "2016-04-03 20:40:49.409583"]]  (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", "2016-04-03 20:40:49.412302"], ["updated_at", "2016-04-03 20:40:49.412302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", "2016-04-03 20:40:49.415347"], ["updated_at", "2016-04-03 20:40:49.415347"]] 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", "2016-04-03 20:40:49.416707"], ["updated_at", "2016-04-03 20:40:49.416707"]] 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", "7O9w9N9yLll_hU3VQzQFTg"]] 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.6ms)  (5.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$Wck3Q4oTD2DfSGTSrUI.XufNY2EyoQ6tGIHH7FojNq32zEsWb0gFy"], ["remember_token", "eI_pLxFAkE6DZ9aloyFIhQ"], ["created_at", "2016-04-03 20:40:49.438334"], ["updated_at", "2016-04-03 20:40:49.438334"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2016-04-03 20:40:49.442886"], ["updated_at", "2016-04-03 20:40:49.442886"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:40:49.446107"], ["updated_at", "2016-04-03 20:40:49.446107"]]  (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", "2016-04-03 20:40:49.450705"], ["updated_at", "2016-04-03 20:40:49.450705"]] 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", "2016-04-03 20:40:49.452355"], ["updated_at", "2016-04-03 20:40:49.452355"]] 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.1ms) 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$Sd56ROqrIpkWBx5Y1e5luu5wi4L6QDJ/Yw9iJU73PPS0U60jcqhCS"], ["remember_token", "0_whqt0fgJhAAfVvdt8nCw"], ["created_at", "2016-04-03 20:40:49.458945"], ["updated_at", "2016-04-03 20:40:49.458945"]]  (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", "2016-04-03 20:40:49.461205"], ["updated_at", "2016-04-03 20:40:49.461205"]]  (0.0ms) 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", "2016-04-03 20:40:49.463191"], ["updated_at", "2016-04-03 20:40:49.463191"]]  (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", "2016-04-03 20:40:49.464997"], ["updated_at", "2016-04-03 20:40:49.464997"]]  (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", "2016-04-03 20:40:49.467007"], ["updated_at", "2016-04-03 20:40:49.467007"]]  (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", "2016-04-03 20:40:49.468762"], ["updated_at", "2016-04-03 20:40:49.468762"]]  (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", "eI_pLxFAkE6DZ9aloyFIhQ"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | 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$m8wgPGCaVsJyyJEVMDpGu..mIjIq7kSha3Vm9xkKg8LqwOUh3dlKK"], ["remember_token", "Q_AlYG1jJxvv9EQ-7R8B2A"], ["created_at", "2016-04-03 20:40:49.486723"], ["updated_at", "2016-04-03 20:40:49.486723"]]  (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", "2016-04-03 20:40:49.491353"], ["updated_at", "2016-04-03 20:40:49.491353"]]  (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", "2016-04-03 20:40:49.494410"], ["updated_at", "2016-04-03 20:40:49.494410"]]  (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", 1], ["read_right", "t"], ["created_at", "2016-04-03 20:40:49.497596"], ["updated_at", "2016-04-03 20:40:49.497596"]] 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", "2016-04-03 20:40:49.498816"], ["updated_at", "2016-04-03 20:40:49.498816"]] 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", "2016-04-03 20:40:49.501960"], ["updated_at", "2016-04-03 20:40:49.501960"]]  (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", "2016-04-03 20:40:49.503948"], ["updated_at", "2016-04-03 20:40:49.503948"]]  (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", "2016-04-03 20:40:49.505731"], ["updated_at", "2016-04-03 20:40:49.505731"]]  (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", "2016-04-03 20:40:49.515868"], ["updated_at", "2016-04-03 20:40:49.515868"]]  (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", "2016-04-03 20:40:49.519043"], ["updated_at", "2016-04-03 20:40:49.519043"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$3.0PSlgENDRQl7a7aTz0hOBOU2a42x6d.N6jeApkQwZEduymRs3Di"], ["remember_token", "D3u2wARScoOKC2iuOrcSog"], ["created_at", "2016-04-03 20:40:49.523282"], ["updated_at", "2016-04-03 20:40:49.523282"]]  (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", "2016-04-03 20:40:49.524768"], ["updated_at", "2016-04-03 20:40:49.524768"]]  (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", "2016-04-03 20:40:49.526711"], ["updated_at", "2016-04-03 20:40:49.526711"]]  (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", "2016-04-03 20:40:49.528424"], ["updated_at", "2016-04-03 20:40:49.528424"]]  (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", "2016-04-03 20:40:49.530099"], ["updated_at", "2016-04-03 20:40:49.530099"]]  (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", "2016-04-03 20:40:49.531891"], ["updated_at", "2016-04-03 20:40:49.531891"]]  (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", "Q_AlYG1jJxvv9EQ-7R8B2A"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (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$5o3KtBhX.FFi7RR69aY3VORmKCRglcy6bPyF/NEcAKKZ3ZD9X.pXC"], ["remember_token", "JLS2mNZHt_rC-3QctzxHYQ"], ["created_at", "2016-04-03 20:40:49.545635"], ["updated_at", "2016-04-03 20:40:49.545635"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2016-04-03 20:40:49.549533"], ["updated_at", "2016-04-03 20:40:49.549533"]]  (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", "2016-04-03 20:40:49.553478"], ["updated_at", "2016-04-03 20:40:49.553478"]]  (0.1ms) 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", "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", "2016-04-03 20:40:49.556627"], ["updated_at", "2016-04-03 20:40:49.556627"]] 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", "2016-04-03 20:40:49.557813"], ["updated_at", "2016-04-03 20:40:49.557813"]] 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", "2016-04-03 20:40:49.560877"], ["updated_at", "2016-04-03 20:40:49.560877"]]  (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", "2016-04-03 20:40:49.562520"], ["updated_at", "2016-04-03 20:40:49.562520"]]  (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", "2016-04-03 20:40:49.564187"], ["updated_at", "2016-04-03 20:40:49.564187"]]  (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", "2016-04-03 20:40:49.565698"], ["updated_at", "2016-04-03 20:40:49.565698"]]  (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", "2016-04-03 20:40:49.567182"], ["updated_at", "2016-04-03 20:40:49.567182"]]  (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$RCP/mM/pB5snszz5Ugd41ejV.HHtnATtAE50af7q96Y1AvxjiiZce"], ["remember_token", "J6Tpq4AJnwRd3bHSozDRcg"], ["created_at", "2016-04-03 20:40:49.570873"], ["updated_at", "2016-04-03 20:40:49.570873"]]  (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", "2016-04-03 20:40:49.572336"], ["updated_at", "2016-04-03 20:40:49.572336"]]  (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.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", "2016-04-03 20:40:49.574649"], ["updated_at", "2016-04-03 20:40:49.574649"]]  (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", "2016-04-03 20:40:49.577792"], ["updated_at", "2016-04-03 20:40:49.577792"]]  (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", "2016-04-03 20:40:49.579927"], ["updated_at", "2016-04-03 20:40:49.579927"]]  (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", "2016-04-03 20:40:49.581924"], ["updated_at", "2016-04-03 20:40:49.581924"]]  (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", "2016-04-03 20:40:49.584481"], ["updated_at", "2016-04-03 20:40:49.584481"]]  (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.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_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", "2016-04-03 20:40:49.589700"], ["updated_at", "2016-04-03 20:40:49.589700"]] 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", "2016-04-03 20:40:49.590901"], ["updated_at", "2016-04-03 20:40:49.590901"]] 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 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "JLS2mNZHt_rC-3QctzxHYQ"]] 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.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$8MyryOn/Jf1GlMqOLshtnONHo7YfCkAAw55nH/vWuWxeQBSvvIun2"], ["remember_token", "Wm4jKJEsKR6hzNBHLWMb8w"], ["created_at", "2016-04-03 20:40:49.606319"], ["updated_at", "2016-04-03 20:40:49.606319"]]  (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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$ibbxuMPhrw9oohffqdEkmuJiNozmKvw1QDcWf1A57IGjt18RYuTwu"], ["remember_token", "yTIU-l2k_8XwyEOVBvLFrw"], ["created_at", "2016-04-03 20:40:49.610662"], ["updated_at", "2016-04-03 20:40:49.610662"]]  (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", 2], ["created_at", "2016-04-03 20:40:49.612933"], ["updated_at", "2016-04-03 20:40:49.612933"]]  (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", "2016-04-03 20:40:49.615238"], ["updated_at", "2016-04-03 20:40:49.615238"]]  (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", "2016-04-03 20:40:49.617452"], ["updated_at", "2016-04-03 20:40:49.617452"]]  (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", "2016-04-03 20:40:49.619305"], ["updated_at", "2016-04-03 20:40:49.619305"]]  (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", "2016-04-03 20:40:49.621051"], ["updated_at", "2016-04-03 20:40:49.621051"]]  (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", "2016-04-03 20:40:49.622758"], ["updated_at", "2016-04-03 20:40:49.622758"]]  (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", "2016-04-03 20:40:49.624404"], ["updated_at", "2016-04-03 20:40:49.624404"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2016-04-03 20:40:49.626923"], ["updated_at", "2016-04-03 20:40:49.626923"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:40:49.629060"], ["updated_at", "2016-04-03 20:40:49.629060"]]  (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", "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", "2016-04-03 20:40:49.631820"], ["updated_at", "2016-04-03 20:40:49.631820"]] 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", "2016-04-03 20:40:49.633187"], ["updated_at", "2016-04-03 20:40:49.633187"]] 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::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.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", 2], ["read_right", "t"], ["created_at", "2016-04-03 20:40:49.640087"], ["updated_at", "2016-04-03 20:40:49.640087"]] 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", "2016-04-03 20:40:49.642583"], ["updated_at", "2016-04-03 20:40:49.642583"]] 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", "Wm4jKJEsKR6hzNBHLWMb8w"]] 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" = 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 7ms (Views: 1.1ms | ActiveRecord: 0.7ms) 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.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$Qp73t/pTjtzpv42zGpvC5e7VvtZZXXNVSA5GKjUIXp4eAIEpUq8eK"], ["remember_token", "jD96BYWE_-i9JJHBF582iw"], ["created_at", "2016-04-03 20:40:49.660812"], ["updated_at", "2016-04-03 20:40:49.660812"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2016-04-03 20:40:49.663705"], ["updated_at", "2016-04-03 20:40:49.663705"]]  (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", "2016-04-03 20:40:49.666194"], ["updated_at", "2016-04-03 20:40:49.666194"]]  (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", "2016-04-03 20:40:49.671773"], ["updated_at", "2016-04-03 20:40:49.671773"]] 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", "2016-04-03 20:40:49.673782"], ["updated_at", "2016-04-03 20:40:49.673782"]] 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 User Load (0.1ms) 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$ezvSoas12VKQk50Wy412Ru5GQ0c1Syspwmcl1Jkez2/0rz2yN8LXW"], ["remember_token", "Tl4VF9-9fPUqTsbvUu74Vw"], ["created_at", "2016-04-03 20:40:49.683224"], ["updated_at", "2016-04-03 20:40:49.683224"]]  (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", "2016-04-03 20:40:49.685710"], ["updated_at", "2016-04-03 20:40:49.685710"]]  (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 1 [["remember_token", "jD96BYWE_-i9JJHBF582iw"]] 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.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::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 articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 9ms (Views: 3.3ms | ActiveRecord: 0.6ms)  (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$20gnorKZEvss8fY7bSd0Nu4zP8rJ7ySFI3pff9y66lM60uiZ.GqTa"], ["remember_token", "qGMjMguhKVPcT8v2oMW6EA"], ["created_at", "2016-04-03 20:40:49.703026"], ["updated_at", "2016-04-03 20:40:49.703026"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2016-04-03 20:40:49.706317"], ["updated_at", "2016-04-03 20:40:49.706317"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:40:49.708739"], ["updated_at", "2016-04-03 20:40:49.708739"]]  (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", "2016-04-03 20:40:49.712516"], ["updated_at", "2016-04-03 20:40:49.712516"]] 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", "2016-04-03 20:40:49.713713"], ["updated_at", "2016-04-03 20:40:49.713713"]] 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.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$Z38yzOYLf4xUqJVV02DIcu/VIcfW0cui/mJSS.KEtlR3m2L4pZfum"], ["remember_token", "Xi-hkoLsq9lQYKuduF1Dsg"], ["created_at", "2016-04-03 20:40:49.718941"], ["updated_at", "2016-04-03 20:40:49.718941"]]  (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", "2016-04-03 20:40:49.720448"], ["updated_at", "2016-04-03 20:40:49.720448"]]  (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", "qGMjMguhKVPcT8v2oMW6EA"]] 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"."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"]] Rendered articles/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.4ms)  (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$uCp5pMHzL.IKqWFAwepdqOcCLgAchUZ5JP5qVxeI.8GliC5.DQTZm"], ["remember_token", "E0TpVpACeSNne-6ff_QbJg"], ["created_at", "2016-04-03 20:40:49.733193"], ["updated_at", "2016-04-03 20:40:49.733193"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2016-04-03 20:40:49.736827"], ["updated_at", "2016-04-03 20:40:49.736827"]]  (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", "2016-04-03 20:40:49.741578"], ["updated_at", "2016-04-03 20:40:49.741578"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) 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", "2016-04-03 20:40:49.745647"], ["updated_at", "2016-04-03 20:40:49.745647"]] 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", "2016-04-03 20:40:49.748753"], ["updated_at", "2016-04-03 20:40:49.748753"]] 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#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "E0TpVpACeSNne-6ff_QbJg"]] 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 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.5ms) Completed 200 OK in 7ms (Views: 3.9ms | ActiveRecord: 0.4ms)  (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$QuRs/ESADpgExU0YrpPTZ.RKBXzqfNcvGyst6FnTXIOT0mRcV6swK"], ["remember_token", "KH7RISE0PcDBtaK6cDrN7Q"], ["created_at", "2016-04-03 20:40:49.766871"], ["updated_at", "2016-04-03 20:40:49.766871"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2016-04-03 20:40:49.769822"], ["updated_at", "2016-04-03 20:40:49.769822"]]  (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", "2016-04-03 20:40:49.772371"], ["updated_at", "2016-04-03 20:40:49.772371"]]  (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", "2016-04-03 20:40:49.775542"], ["updated_at", "2016-04-03 20:40:49.775542"]] 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", "2016-04-03 20:40:49.776701"], ["updated_at", "2016-04-03 20:40:49.776701"]] 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.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$6xUgWkybMgSou1jbNy911uB06Cha0FhZmtxW2c.8eYilZS5PZWApK"], ["remember_token", "6aNyXNLAbhbxDGBzpWzhtA"], ["created_at", "2016-04-03 20:40:49.781916"], ["updated_at", "2016-04-03 20:40:49.781916"]]  (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", "2016-04-03 20:40:49.783383"], ["updated_at", "2016-04-03 20:40:49.783383"]]  (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", "KH7RISE0PcDBtaK6cDrN7Q"]] 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.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 7ms (Views: 3.1ms | 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$0Tpv0nN/WT95XZ9IOaRt7ukxnX146Zu/g5UiwlXfNn/izP9vUrowO"], ["remember_token", "iO6Vm9hL9ygGr7UBqy2ukQ"], ["created_at", "2016-04-03 20:40:49.800839"], ["updated_at", "2016-04-03 20:40:49.800839"]]  (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", "2016-04-03 20:40:49.805499"], ["updated_at", "2016-04-03 20:40:49.805499"]]  (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", "2016-04-03 20:40:49.808327"], ["updated_at", "2016-04-03 20:40:49.808327"]]  (0.1ms) 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", "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", "2016-04-03 20:40:49.811300"], ["updated_at", "2016-04-03 20:40:49.811300"]] 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", "2016-04-03 20:40:49.812645"], ["updated_at", "2016-04-03 20:40:49.812645"]] 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.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$pfhzqGKqv5Js8znBWIJRs.xMtGSr7k/2FV/9cmuVjqdL5HBFo1KT2"], ["remember_token", "d5GQb1VT4K4TCXjOpnwOig"], ["created_at", "2016-04-03 20:40:49.818807"], ["updated_at", "2016-04-03 20:40:49.818807"]]  (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", "2016-04-03 20:40:49.821826"], ["updated_at", "2016-04-03 20:40:49.821826"]]  (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", "iO6Vm9hL9ygGr7UBqy2ukQ"]] 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 4ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (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$BVCshKXO6Q62eRlet.YeFey0K7p9hoPzXwkaTbXRMd2N1Uj9c.EgS"], ["remember_token", "szdlZ6LLJlQG4oE3a5HhWg"], ["created_at", "2016-04-03 20:40:49.837234"], ["updated_at", "2016-04-03 20:40:49.837234"]]  (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", "2016-04-03 20:40:49.842632"], ["updated_at", "2016-04-03 20:40:49.842632"]]  (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", "2016-04-03 20:40:49.847065"], ["updated_at", "2016-04-03 20:40:49.847065"]]  (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", "2016-04-03 20:40:49.851164"], ["updated_at", "2016-04-03 20:40:49.851164"]] 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", "2016-04-03 20:40:49.852607"], ["updated_at", "2016-04-03 20:40:49.852607"]] 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 Started GET "/articles" for 127.0.0.1 at 2016-04-03 22:40:49 +0200 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.2ms) Started GET "/login" for 127.0.0.1 at 2016-04-03 22:40:49 +0200 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (20.3ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 423ms (Views: 422.3ms | ActiveRecord: 0.3ms) Started POST "/sessions" for 127.0.0.1 at 2016-04-03 22:40:50 +0200 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 2016-04-03 22:40:50 +0200 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "szdlZ6LLJlQG4oE3a5HhWg"]] 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"]] CACHE (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Article Load (0.2ms) SELECT "articles".* FROM "articles" Rendered articles/index.html.erb within layouts/application (14.1ms) Completed 200 OK in 20ms (Views: 16.1ms | ActiveRecord: 0.6ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments" for 127.0.0.1 at 2016-04-03 22:40:50 +0200 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 2016-04-03 22:40:50 +0200 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 5ms (Views: 4.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$EnirdrWnjMJQ8Gh8Mg4hX.t6KRYquIcO4QdTANBhpJFt.7jmOwoO6"], ["remember_token", "fJifYgD1CUITiLLYsl15SQ"], ["created_at", "2016-04-03 20:40:50.369181"], ["updated_at", "2016-04-03 20:40:50.369181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2016-04-03 22:40:50 +0200 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 2016-04-03 22:40:50 +0200 Processing by CommentsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "fJifYgD1CUITiLLYsl15SQ"]] Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments/new" for 127.0.0.1 at 2016-04-03 22:40:50 +0200 Processing by CommentsController#new as HTML Rendered comments/new.html.erb within layouts/application (1.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 11ms (Views: 10.9ms | ActiveRecord: 0.2ms) Started POST "/comments" for 127.0.0.1 at 2016-04-03 22:40:50 +0200 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 2016-04-03 22:40:50 +0200 Processing by SessionsController#new as HTML 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 1 Completed 200 OK in 5ms (Views: 5.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$o9T90jRj2dmmxqlHeEDCP.tclUL39JE85RoPi2YJTckvOE.BGCEFG"], ["remember_token", "zb6h62bPx1D1J7opxq7wAQ"], ["created_at", "2016-04-03 20:40:50.411517"], ["updated_at", "2016-04-03 20:40:50.411517"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2016-04-03 22:40:50 +0200 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 1 [["name", "admin"]] Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2016-04-03 22:40:50 +0200 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", "zb6h62bPx1D1J7opxq7wAQ"]] Completed 200 OK in 7ms (Views: 7.2ms | 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$C5KoQmAb3yOz5ko.7RO9/uODh.1FzpF9bG0.rEeHJwIKPYeC.PT1a"], ["remember_token", "btcDzcjeIFdBH9nuNDuyQw"], ["created_at", "2016-04-03 20:40:50.440400"], ["updated_at", "2016-04-03 20:40:50.440400"]]  (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", "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", "2016-04-03 20:40:50.442843"], ["updated_at", "2016-04-03 20:40:50.442843"]]  (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", "t"], ["created_at", "2016-04-03 20:40:50.445096"], ["updated_at", "2016-04-03 20:40:50.445096"]] 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.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$hefK/SFSpMLBrurZsvnUTe3DKN0IWKeOwpAojAi3p62NZaON.SQGG"], ["remember_token", "rrMKqGl2lX80LZDTmgDyCA"], ["created_at", "2016-04-03 20:40:50.454268"], ["updated_at", "2016-04-03 20:40:50.454268"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:40:50.457064"], ["updated_at", "2016-04-03 20:40:50.457064"]]  (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", "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", "2016-04-03 20:40:50.459187"], ["updated_at", "2016-04-03 20:40:50.459187"]]  (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", "t"], ["resource_id", 1], ["created_at", "2016-04-03 20:40:50.463152"], ["updated_at", "2016-04-03 20:40:50.463152"]] 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", "2016-04-03 20:40:50.464733"], ["updated_at", "2016-04-03 20:40:50.464733"]] 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  (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$mVfYaB4scoJ3tO4e7c.dtOb2BWqzeEibCVSjJyiA9Gheq0vXytNAG"], ["remember_token", "ZSLqTnSQVnhRNw0ofpDcZA"], ["created_at", "2016-04-03 20:40:50.473725"], ["updated_at", "2016-04-03 20:40:50.473725"]]  (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", "adeia/permissions"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2016-04-03 20:40:50.476175"], ["updated_at", "2016-04-03 20:40:50.476175"]]  (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", "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", "2016-04-03 20:40:50.478466"], ["updated_at", "2016-04-03 20:40:50.478466"]] 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.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$79hpRoq5XcwwjwfY2sQj3.DoqkAgjvbY0bUXQ5TCeGghS8WNHmeFK"], ["remember_token", "fEzJvSk3wehUQP9O8_6IIw"], ["created_at", "2016-04-03 20:40:50.485976"], ["updated_at", "2016-04-03 20:40:50.485976"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:40:50.488470"], ["updated_at", "2016-04-03 20:40:50.488470"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2016-04-03 20:40:50.491199"], ["updated_at", "2016-04-03 20:40:50.491199"]]  (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", "2016-04-03 20:40:50.495922"], ["updated_at", "2016-04-03 20:40:50.495922"]] 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", "2016-04-03 20:40:50.497272"], ["updated_at", "2016-04-03 20:40:50.497272"]] 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.2ms) 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.1ms) 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 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 (0.9ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2016-04-03 20:42:06.538100"], ["updated_at", "2016-04-03 20:42:06.538100"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Group Load (0.7ms) 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", "2016-04-03 20:42:06.560566"], ["updated_at", "2016-04-03 20:42:06.560566"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.7ms) 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", "2016-04-03 20:42:06.572931"], ["updated_at", "2016-04-03 20:42:06.572931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) 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", "2016-04-03 20:42:06.604781"], ["updated_at", "2016-04-03 20:42:06.604781"]] 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", "2016-04-03 20:42:06.607697"], ["updated_at", "2016-04-03 20:42:06.607697"]] 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.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "exp_at", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "Kw9Fz1r-yuKF9e8W8WMaqg"], ["is_valid", "t"], ["exp_at", "2016-05-03"], ["adeia_permission_id", 1], ["created_at", "2016-04-03 20:42:06.629288"], ["updated_at", "2016-04-03 20:42:06.629288"]]  (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", "Kw9Fz1r-yuKF9e8W8WMaqg"]]  (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.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_permissions"."create_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["create_right", "t"]]  (1.0ms) rollback transaction  (0.1ms) begin transaction Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL 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" = 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"."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.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2016-04-03 20:42:06.658287"], ["updated_at", "2016-04-03 20:42:06.658287"]]  (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", "2016-04-03 20:42:06.661520"], ["updated_at", "2016-04-03 20:42:06.661520"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", "2016-04-03 20:42:06.665772"], ["updated_at", "2016-04-03 20:42:06.665772"]] 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", "2016-04-03 20:42:06.667446"], ["updated_at", "2016-04-03 20:42:06.667446"]] 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" = 1002 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1002 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (0.9ms) 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", "2016-04-03 20:42:06.698534"], ["updated_at", "2016-04-03 20:42:06.698534"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:42:06.700937"], ["updated_at", "2016-04-03 20:42:06.700937"]]  (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", 1003], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["created_at", "2016-04-03 20:42:06.704191"], ["updated_at", "2016-04-03 20:42:06.704191"]] 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", "2016-04-03 20:42:06.705735"], ["updated_at", "2016-04-03 20:42:06.705735"]] 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.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" = 1003 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" = 1003 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2016-04-03 20:42:06.715488"], ["updated_at", "2016-04-03 20:42:06.715488"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:42:06.717887"], ["updated_at", "2016-04-03 20:42:06.717887"]]  (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", 1004], ["owner_type", "User"], ["permission_type", 0], ["read_right", "t"], ["created_at", "2016-04-03 20:42:06.720860"], ["updated_at", "2016-04-03 20:42:06.720860"]] 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", "2016-04-03 20:42:06.722036"], ["updated_at", "2016-04-03 20:42:06.722036"]] 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" = 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"]]  (0.9ms) 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", "2016-04-03 20:42:06.732689"], ["updated_at", "2016-04-03 20:42:06.732689"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:42:06.735229"], ["updated_at", "2016-04-03 20:42:06.735229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", "2016-04-03 20:42:06.738586"], ["updated_at", "2016-04-03 20:42:06.738586"]] 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", "2016-04-03 20:42:06.741446"], ["updated_at", "2016-04-03 20:42:06.741446"]] 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" = 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"."create_right" = ? AND "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1005 AND "adeia_elements"."name" = 'admin/articles' [["create_right", "t"]]  (1.2ms) 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", "2016-04-03 20:42:06.754205"], ["updated_at", "2016-04-03 20:42:06.754205"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:42:06.757036"], ["updated_at", "2016-04-03 20:42:06.757036"]]  (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", "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", "2016-04-03 20:42:06.760560"], ["updated_at", "2016-04-03 20:42:06.760560"]] 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", "2016-04-03 20:42:06.762074"], ["updated_at", "2016-04-03 20:42:06.762074"]] 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" = 1006 Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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.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", "2016-04-03 20:42:06.771391"], ["updated_at", "2016-04-03 20:42:06.771391"]]  (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", "2016-04-03 20:42:06.773864"], ["updated_at", "2016-04-03 20:42:06.773864"]]  (0.0ms) 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", "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", "2016-04-03 20:42:06.776791"], ["updated_at", "2016-04-03 20:42:06.776791"]] 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", "2016-04-03 20:42:06.778716"], ["updated_at", "2016-04-03 20:42:06.778716"]] 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" = 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.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" = 1007 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (0.9ms) 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", "2016-04-03 20:42:06.791909"], ["updated_at", "2016-04-03 20:42:06.791909"]]  (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", "2016-04-03 20:42:06.794526"], ["updated_at", "2016-04-03 20:42:06.794526"]]  (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", "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", "2016-04-03 20:42:06.797658"], ["updated_at", "2016-04-03 20:42:06.797658"]] 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", "2016-04-03 20:42:06.799183"], ["updated_at", "2016-04-03 20:42:06.799183"]] 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" = 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"."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.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" = 1008 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", "2016-04-03 20:42:06.809848"], ["updated_at", "2016-04-03 20:42:06.809848"]]  (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", "2016-04-03 20:42:06.813540"], ["updated_at", "2016-04-03 20:42:06.813540"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", "2016-04-03 20:42:06.817893"], ["updated_at", "2016-04-03 20:42:06.817893"]] 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", "2016-04-03 20:42:06.819941"], ["updated_at", "2016-04-03 20:42:06.819941"]] 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.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.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"."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.2ms) 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"]]  (1.1ms) 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2016-04-03 20:42:06.835749"], ["updated_at", "2016-04-03 20:42:06.835749"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:42:06.838489"], ["updated_at", "2016-04-03 20:42:06.838489"]]  (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", "2016-04-03 20:42:06.843064"], ["updated_at", "2016-04-03 20:42:06.843064"]] 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", "2016-04-03 20:42:06.844752"], ["updated_at", "2016-04-03 20:42:06.844752"]] 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" = 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" = 'admin/articles' AND "adeia_actions"."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" = 'admin/articles' AND "adeia_actions"."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 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", "2016-04-03 20:42:06.856173"], ["updated_at", "2016-04-03 20:42:06.856173"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:42:06.858589"], ["updated_at", "2016-04-03 20:42:06.858589"]]  (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", "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", "2016-04-03 20:42:06.861550"], ["updated_at", "2016-04-03 20:42:06.861550"]] 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", "2016-04-03 20:42:06.863178"], ["updated_at", "2016-04-03 20:42:06.863178"]] 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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "exp_at", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "siRjo2PEm9Ffamh7aaYABw"], ["is_valid", "t"], ["exp_at", "2016-05-03"], ["adeia_permission_id", 1], ["created_at", "2016-04-03 20:42:06.866666"], ["updated_at", "2016-04-03 20:42:06.866666"]]  (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", "siRjo2PEm9Ffamh7aaYABw"]]  (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.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"]]  (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"."update_right" = ? AND "adeia_elements"."name" = 'admin/articles' [["id", 1], ["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"."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.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", "2016-04-03 20:42:06.875770"], ["updated_at", "2016-04-03 20:42:06.875770"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:42:06.878210"], ["updated_at", "2016-04-03 20:42:06.878210"]]  (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", "2016-04-03 20:42:06.882431"], ["updated_at", "2016-04-03 20:42:06.882431"]] 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", "2016-04-03 20:42:06.884154"], ["updated_at", "2016-04-03 20:42:06.884154"]] 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" = 1012  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."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"]]  (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", "2016-04-03 20:42:06.894481"], ["updated_at", "2016-04-03 20:42:06.894481"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:42:06.896956"], ["updated_at", "2016-04-03 20:42:06.896956"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", "2016-04-03 20:42:06.899949"], ["updated_at", "2016-04-03 20:42:06.899949"]] 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", "2016-04-03 20:42:06.902756"], ["updated_at", "2016-04-03 20:42:06.902756"]] 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" = 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"."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.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" = 1013 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.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2016-04-03 20:42:06.920021"], ["updated_at", "2016-04-03 20:42:06.920021"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:42:06.922885"], ["updated_at", "2016-04-03 20:42:06.922885"]]  (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", "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", "2016-04-03 20:42:06.925922"], ["updated_at", "2016-04-03 20:42:06.925922"]] 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", "2016-04-03 20:42:06.927631"], ["updated_at", "2016-04-03 20:42:06.927631"]] 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.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" = 1016  (1.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"."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.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" = 1016 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", "2016-04-03 20:42:06.944677"], ["updated_at", "2016-04-03 20:42:06.944677"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:42:06.947383"], ["updated_at", "2016-04-03 20:42:06.947383"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", "2016-04-03 20:42:06.951669"], ["updated_at", "2016-04-03 20:42:06.951669"]] 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", "2016-04-03 20:42:06.954427"], ["updated_at", "2016-04-03 20:42:06.954427"]] 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.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.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" = 1018 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" = 1018 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.2ms) 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", "2016-04-03 20:42:06.967882"], ["updated_at", "2016-04-03 20:42:06.967882"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:42:06.970329"], ["updated_at", "2016-04-03 20:42:06.970329"]]  (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", "2016-04-03 20:42:06.973732"], ["updated_at", "2016-04-03 20:42:06.973732"]] 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", "2016-04-03 20:42:06.975125"], ["updated_at", "2016-04-03 20:42:06.975125"]] 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" = 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.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" = 1020 AND "adeia_elements"."name" = 'admin/articles' [["update_right", "t"]]  (1.1ms) 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", "2016-04-03 20:42:06.988726"], ["updated_at", "2016-04-03 20:42:06.988726"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:42:06.992546"], ["updated_at", "2016-04-03 20:42:06.992546"]]  (0.1ms) 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", "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", "2016-04-03 20:42:06.995929"], ["updated_at", "2016-04-03 20:42:06.995929"]] 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", "2016-04-03 20:42:06.997124"], ["updated_at", "2016-04-03 20:42:06.997124"]] 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.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" = 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"]]  (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.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2016-04-03 20:42:07.014276"], ["updated_at", "2016-04-03 20:42:07.014276"]]  (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", "2016-04-03 20:42:07.019171"], ["updated_at", "2016-04-03 20:42:07.019171"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2016-04-03 20:42:07.023319"], ["updated_at", "2016-04-03 20:42:07.023319"]]  (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", "2016-04-03 20:42:07.025618"], ["updated_at", "2016-04-03 20:42:07.025618"]]  (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", "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", "2016-04-03 20:42:07.028708"], ["updated_at", "2016-04-03 20:42:07.028708"]] 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", "2016-04-03 20:42:07.029981"], ["updated_at", "2016-04-03 20:42:07.029981"]] 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" = 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"."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.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 1 Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.8ms)  (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$Mn/CkV/6sdTvjl0C.5GXOuHKCV17/aEYq6re97nEbATcjJLaAAu6q"], ["remember_token", "g3rMTP79kjMXxyWRBGvJyQ"], ["created_at", "2016-04-03 20:42:07.079656"], ["updated_at", "2016-04-03 20:42:07.079656"]]  (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 1 [["remember_token", "g3rMTP79kjMXxyWRBGvJyQ"]] Rendered text template (0.0ms) Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.1ms)  (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 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$ulsV1PMJHcFsHjjJeNTdselPVII.jaalc1T/M7lpbltQ2XmiIJDk."], ["remember_token", "xqUe4HHvelpVMO1tKQ7pBQ"], ["created_at", "2016-04-03 20:42:07.119157"], ["updated_at", "2016-04-03 20:42:07.119157"]]  (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", "xqUe4HHvelpVMO1tKQ7pBQ"]] Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.6ms | 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 8ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (0.2ms) 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 5ms (Views: 0.4ms | ActiveRecord: 0.6ms)  (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$5mdGTa/7Vn1SttWCSiIJx.1w5ckGjsKPicAZtD5RjHfjKGvkYctMi"], ["remember_token", "Fb-unNiZwjE3M-t2121oQA"], ["created_at", "2016-04-03 20:42:07.177013"], ["updated_at", "2016-04-03 20:42:07.177013"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2016-04-03 20:42:07.183718"], ["updated_at", "2016-04-03 20:42:07.183718"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.3ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT 1 [["name", "share"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:42:07.190860"], ["updated_at", "2016-04-03 20:42:07.190860"]]  (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", "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", "2016-04-03 20:42:07.200801"], ["updated_at", "2016-04-03 20:42:07.200801"]] 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", "2016-04-03 20:42:07.203863"], ["updated_at", "2016-04-03 20:42:07.203863"]] 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", "Fb-unNiZwjE3M-t2121oQA"]] 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" = 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"."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 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" = 'articles' [["read_right", "t"]] Rendered text template (0.0ms) Completed 200 OK in 10ms (Views: 0.7ms | ActiveRecord: 1.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$3Oy9TyoVFROHWb9Hz6hqyuK3nVNKCGtF1E3RN14dqpZQq111CmTTm"], ["remember_token", "_qJ50msZHZbvM8Taf16kpg"], ["created_at", "2016-04-03 20:42:07.232787"], ["updated_at", "2016-04-03 20:42:07.232787"]]  (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.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2016-04-03 20:42:07.237659"], ["updated_at", "2016-04-03 20:42:07.237659"]]  (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", "2016-04-03 20:42:07.242111"], ["updated_at", "2016-04-03 20:42:07.242111"]]  (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", "2016-04-03 20:42:07.248057"], ["updated_at", "2016-04-03 20:42:07.248057"]] 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", "2016-04-03 20:42:07.249995"], ["updated_at", "2016-04-03 20:42:07.249995"]] 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.9ms) INSERT INTO "articles" ("title", "content", "id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Rspec tests"], ["content", "Lorem ipsum"], ["id", 100], ["created_at", "2016-04-03 20:42:07.266064"], ["updated_at", "2016-04-03 20:42:07.266064"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "_qJ50msZHZbvM8Taf16kpg"]] 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 19ms (Views: 1.0ms | ActiveRecord: 2.0ms)  (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$GPwuul9tCgDqTv.nhRCzU.oVLczZe0Ol5ziIJHbZ3drZ0hnMT3HAO"], ["remember_token", "H09m89Ue80F7VV-B8Oq-Tw"], ["created_at", "2016-04-03 20:42:07.297178"], ["updated_at", "2016-04-03 20:42:07.297178"]]  (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", "letters"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "letters"], ["created_at", "2016-04-03 20:42:07.304612"], ["updated_at", "2016-04-03 20:42:07.304612"]]  (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", "2016-04-03 20:42:07.310036"], ["updated_at", "2016-04-03 20:42:07.310036"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", "2016-04-03 20:42:07.317968"], ["updated_at", "2016-04-03 20:42:07.317968"]] 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", "2016-04-03 20:42:07.321131"], ["updated_at", "2016-04-03 20:42:07.321131"]] 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", "2016-04-03 20:42:07.327911"], ["updated_at", "2016-04-03 20:42:07.327911"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "H09m89Ue80F7VV-B8Oq-Tw"]] 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" = 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.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 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"."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 14ms (Views: 0.6ms | ActiveRecord: 1.7ms)  (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$pztw1HpaxL0FOKqt.dcImeQ6IHNp9AC1L4jaue0DPMt0GdpSzmU8i"], ["remember_token", "tJeaGQelWD-SdJTelbGuSQ"], ["created_at", "2016-04-03 20:42:07.357562"], ["updated_at", "2016-04-03 20:42:07.357562"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2016-04-03 20:42:07.361043"], ["updated_at", "2016-04-03 20:42:07.361043"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:42:07.366822"], ["updated_at", "2016-04-03 20:42:07.366822"]]  (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", "2016-04-03 20:42:07.373870"], ["updated_at", "2016-04-03 20:42:07.373870"]] 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", "2016-04-03 20:42:07.375210"], ["updated_at", "2016-04-03 20:42:07.375210"]] 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", "2016-04-03 20:42:07.383550"], ["updated_at", "2016-04-03 20:42:07.383550"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "tJeaGQelWD-SdJTelbGuSQ"]] Adeia::Group Load (0.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" = 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" = '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 11ms (Views: 0.5ms | ActiveRecord: 1.4ms)  (1.0ms) 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 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 2ms (Views: 0.4ms | ActiveRecord: 0.4ms)  (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$6ql5gLH3Y/X0VtblIMgmFulNH3i8rhuz9UYQ3vLBzDQdgzUgcvop2"], ["remember_token", "A3N5r0FE804_RetUGC6Skw"], ["created_at", "2016-04-03 20:42:07.444175"], ["updated_at", "2016-04-03 20:42:07.444175"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.3ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "articles"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2016-04-03 20:42:07.457127"], ["updated_at", "2016-04-03 20:42:07.457127"]]  (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", "2016-04-03 20:42:07.461518"], ["updated_at", "2016-04-03 20:42:07.461518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", "2016-04-03 20:42:07.470595"], ["updated_at", "2016-04-03 20:42:07.470595"]] 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", "2016-04-03 20:42:07.473597"], ["updated_at", "2016-04-03 20:42:07.473597"]] 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", "A3N5r0FE804_RetUGC6Skw"]] 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.2ms) 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 12ms (Views: 0.5ms | ActiveRecord: 0.7ms)  (2.2ms) 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", "2016-04-03 20:42:07.496439"], ["updated_at", "2016-04-03 20:42:07.496439"]]  (0.5ms) 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.5ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2016-04-03 20:42:07.503620"], ["updated_at", "2016-04-03 20:42:07.503620"]]  (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.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:42:07.507912"], ["updated_at", "2016-04-03 20:42:07.507912"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.6ms) 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", "2016-04-03 20:42:07.517624"], ["updated_at", "2016-04-03 20:42:07.517624"]]  (0.2ms) 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", "2016-04-03 20:42:07.523494"], ["updated_at", "2016-04-03 20:42:07.523494"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction Adeia::Group Load (0.9ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT 1 [["name", "admin"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", "2016-04-03 20:42:07.534269"], ["updated_at", "2016-04-03 20:42:07.534269"]]  (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", "2016-04-03 20:42:07.540184"], ["updated_at", "2016-04-03 20:42:07.540184"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.5ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "admin/articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2016-04-03 20:42:07.549542"], ["updated_at", "2016-04-03 20:42:07.549542"]]  (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", "2016-04-03 20:42:07.555545"], ["updated_at", "2016-04-03 20:42:07.555545"]]  (0.2ms) 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", "2016-04-03 20:42:07.559259"], ["updated_at", "2016-04-03 20:42:07.559259"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.3ms) rollback transaction  (0.1ms) begin transaction Adeia::Element Load (0.4ms) 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", "2016-04-03 20:42:07.572807"], ["updated_at", "2016-04-03 20:42:07.572807"]]  (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", "2016-04-03 20:42:07.575745"], ["updated_at", "2016-04-03 20:42:07.575745"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:42:07.578649"], ["updated_at", "2016-04-03 20:42:07.578649"]]  (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 1 [["name", "admin/articles"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", "2016-04-03 20:42:07.589384"], ["updated_at", "2016-04-03 20:42:07.589384"]]  (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", "2016-04-03 20:42:07.593381"], ["updated_at", "2016-04-03 20:42:07.593381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.4ms) 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$kFvCrFCKpAKZ9MgHTF2IUe4zW4ZYQv1o4uiuVjFGvWkJwBk9gIG6i"], ["remember_token", "7Mr9we3RMteGQw5vci3GPg"], ["created_at", "2016-04-03 20:42:07.607690"], ["updated_at", "2016-04-03 20:42:07.607690"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2016-04-03 20:42:07.610995"], ["updated_at", "2016-04-03 20:42:07.610995"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:42:07.613629"], ["updated_at", "2016-04-03 20:42:07.613629"]]  (0.2ms) 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", "2016-04-03 20:42:07.623355"], ["updated_at", "2016-04-03 20:42:07.623355"]] 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", "2016-04-03 20:42:07.624933"], ["updated_at", "2016-04-03 20:42:07.624933"]] 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", "7Mr9we3RMteGQw5vci3GPg"]] Adeia::Token Load (2.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.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.5ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered articles/index.html.erb within layouts/application (0.7ms) Completed 200 OK in 21ms (Views: 10.2ms | ActiveRecord: 3.2ms)  (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$LVxsbkbcSC/B1.EMf4lD1ORFLvEjVo6opRPIR0xsWw3NsfxUatcpS"], ["remember_token", "zMX5FTvW9aMyG0lPbOWD_Q"], ["created_at", "2016-04-03 20:42:07.659759"], ["updated_at", "2016-04-03 20:42:07.659759"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2016-04-03 20:42:07.663081"], ["updated_at", "2016-04-03 20:42:07.663081"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:42:07.671987"], ["updated_at", "2016-04-03 20:42:07.671987"]]  (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", "2016-04-03 20:42:07.675570"], ["updated_at", "2016-04-03 20:42:07.675570"]] 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", "2016-04-03 20:42:07.676810"], ["updated_at", "2016-04-03 20:42:07.676810"]] 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", "zMX5FTvW9aMyG0lPbOWD_Q"]] Adeia::Token Load (0.3ms) 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" = 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.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT 1 Rendered articles/index.html.erb within layouts/application (1.0ms) Completed 200 OK in 12ms (Views: 2.5ms | ActiveRecord: 1.0ms)  (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$96opaTupcs5JuIDx6Bt1huiiN9gkUDBdgCLWG1jE8dP5wyH46ogqS"], ["remember_token", "N-xZHUpOg2z_jh-nkcbG0g"], ["created_at", "2016-04-03 20:42:07.700907"], ["updated_at", "2016-04-03 20:42:07.700907"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2016-04-03 20:42:07.708151"], ["updated_at", "2016-04-03 20:42:07.708151"]]  (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", "2016-04-03 20:42:07.710936"], ["updated_at", "2016-04-03 20:42:07.710936"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", "2016-04-03 20:42:07.713821"], ["updated_at", "2016-04-03 20:42:07.713821"]] 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", "2016-04-03 20:42:07.719909"], ["updated_at", "2016-04-03 20:42:07.719909"]] 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 User Load (0.2ms) 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$ddps6NSC8AamrYZNq2.P.uDGDzJ7CtqJzGPiOiM5oZEnUW9p2iboK"], ["remember_token", "6O5msmPjEa-qhtsapZ0cNA"], ["created_at", "2016-04-03 20:42:07.732616"], ["updated_at", "2016-04-03 20:42:07.732616"]]  (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", 2], ["created_at", "2016-04-03 20:42:07.736945"], ["updated_at", "2016-04-03 20:42:07.736945"]]  (0.2ms) 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", "2016-04-03 20:42:07.742898"], ["updated_at", "2016-04-03 20:42:07.742898"]]  (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", "2016-04-03 20:42:07.745070"], ["updated_at", "2016-04-03 20:42:07.745070"]]  (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", "2016-04-03 20:42:07.746850"], ["updated_at", "2016-04-03 20:42:07.746850"]]  (0.5ms) 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", "2016-04-03 20:42:07.750627"], ["updated_at", "2016-04-03 20:42:07.750627"]]  (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", "N-xZHUpOg2z_jh-nkcbG0g"]] Adeia::Token Load (0.3ms) 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.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 8ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (4.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$iME5VSUqCqufxLUAHpv3gO2hMbS/7fNZece3ASBM8Hs0WN7G0BRxy"], ["remember_token", "NCnIUJxkjeqx-KkTcb__tA"], ["created_at", "2016-04-03 20:42:07.784242"], ["updated_at", "2016-04-03 20:42:07.784242"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adeia::Element Load (0.2ms) 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", "2016-04-03 20:42:07.790644"], ["updated_at", "2016-04-03 20:42:07.790644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adeia::Action Load (0.3ms) 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", "2016-04-03 20:42:07.796599"], ["updated_at", "2016-04-03 20:42:07.796599"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", "2016-04-03 20:42:07.803292"], ["updated_at", "2016-04-03 20:42:07.803292"]] 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", "2016-04-03 20:42:07.806094"], ["updated_at", "2016-04-03 20:42:07.806094"]] 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.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", "2016-04-03 20:42:07.823499"], ["updated_at", "2016-04-03 20:42:07.823499"]]  (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", "2016-04-03 20:42:07.826059"], ["updated_at", "2016-04-03 20:42:07.826059"]]  (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", "2016-04-03 20:42:07.827775"], ["updated_at", "2016-04-03 20:42:07.827775"]]  (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", "2016-04-03 20:42:07.829462"], ["updated_at", "2016-04-03 20:42:07.829462"]]  (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", "2016-04-03 20:42:07.831210"], ["updated_at", "2016-04-03 20:42:07.831210"]]  (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 "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$rgP0uvfkoPPxHWX2BzWR1eQ9kqCtmBQnjk9C7mAtd9Ew/ThEm56N6"], ["remember_token", "39C7rGKfHT_Ty2kGuassGQ"], ["created_at", "2016-04-03 20:42:07.836327"], ["updated_at", "2016-04-03 20:42:07.836327"]]  (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", "2016-04-03 20:42:07.838104"], ["updated_at", "2016-04-03 20:42:07.838104"]]  (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", "2016-04-03 20:42:07.840217"], ["updated_at", "2016-04-03 20:42:07.840217"]]  (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", "2016-04-03 20:42:07.842411"], ["updated_at", "2016-04-03 20:42:07.842411"]]  (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", "2016-04-03 20:42:07.844213"], ["updated_at", "2016-04-03 20:42:07.844213"]]  (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", "2016-04-03 20:42:07.846084"], ["updated_at", "2016-04-03 20:42:07.846084"]]  (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", "NCnIUJxkjeqx-KkTcb__tA"]] 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) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))  (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$UDOZp8xStxwQMM7ZMCqXHOT9JT1ApS3zfqzEdC6Mtj3YXi6cmhIjG"], ["remember_token", "-5P1FNEQpx1VyuKPOyX6QQ"], ["created_at", "2016-04-03 20:42:07.861117"], ["updated_at", "2016-04-03 20:42:07.861117"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2016-04-03 20:42:07.864386"], ["updated_at", "2016-04-03 20:42:07.864386"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:42:07.867522"], ["updated_at", "2016-04-03 20:42:07.867522"]]  (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", "2016-04-03 20:42:07.871179"], ["updated_at", "2016-04-03 20:42:07.871179"]] 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", "2016-04-03 20:42:07.872535"], ["updated_at", "2016-04-03 20:42:07.872535"]] 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", "2016-04-03 20:42:07.876102"], ["updated_at", "2016-04-03 20:42:07.876102"]]  (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", "2016-04-03 20:42:07.877824"], ["updated_at", "2016-04-03 20:42:07.877824"]]  (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", "2016-04-03 20:42:07.880272"], ["updated_at", "2016-04-03 20:42:07.880272"]]  (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", "2016-04-03 20:42:07.883165"], ["updated_at", "2016-04-03 20:42:07.883165"]]  (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", "2016-04-03 20:42:07.885710"], ["updated_at", "2016-04-03 20:42:07.885710"]]  (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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$vK/uFX7/mHG1wxvnyxmH/eTmNsRsS9qXiKfMgkUnkfsPMeXceazZC"], ["remember_token", "DTsrFcSQV6UiZGTQMAA2GA"], ["created_at", "2016-04-03 20:42:07.891353"], ["updated_at", "2016-04-03 20:42:07.891353"]]  (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", "2016-04-03 20:42:07.893570"], ["updated_at", "2016-04-03 20:42:07.893570"]]  (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", "2016-04-03 20:42:07.895529"], ["updated_at", "2016-04-03 20:42:07.895529"]]  (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", "2016-04-03 20:42:07.897284"], ["updated_at", "2016-04-03 20:42:07.897284"]]  (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", "2016-04-03 20:42:07.898954"], ["updated_at", "2016-04-03 20:42:07.898954"]]  (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", "2016-04-03 20:42:07.900719"], ["updated_at", "2016-04-03 20:42:07.900719"]]  (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", "2016-04-03 20:42:07.903453"], ["updated_at", "2016-04-03 20:42:07.903453"]]  (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", "2016-04-03 20:42:07.911520"], ["updated_at", "2016-04-03 20:42:07.911520"]] 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", "2016-04-03 20:42:07.913101"], ["updated_at", "2016-04-03 20:42:07.913101"]] 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", "-5P1FNEQpx1VyuKPOyX6QQ"]] 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.2ms) 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$eAVQWHa.7SHiLt69sgvtEehU2POydNzGFREY/Ue865hij8PinyIr2"], ["remember_token", "HvLq3qEK-qJYtRSNmJ9k0g"], ["created_at", "2016-04-03 20:42:07.928908"], ["updated_at", "2016-04-03 20:42:07.928908"]]  (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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$.Dw3FckFIqtqzyow9Wkgu.ZjlLXTC1sOZ.XOkNX4QiLgi0HvJOXYC"], ["remember_token", "zY_PNj1qBTZ9nf1qj2Mk-A"], ["created_at", "2016-04-03 20:42:07.933287"], ["updated_at", "2016-04-03 20:42:07.933287"]]  (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", "2016-04-03 20:42:07.935579"], ["updated_at", "2016-04-03 20:42:07.935579"]]  (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.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", "2016-04-03 20:42:07.939448"], ["updated_at", "2016-04-03 20:42:07.939448"]]  (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", "2016-04-03 20:42:07.942331"], ["updated_at", "2016-04-03 20:42:07.942331"]]  (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", "2016-04-03 20:42:07.944721"], ["updated_at", "2016-04-03 20:42:07.944721"]]  (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", "2016-04-03 20:42:07.946766"], ["updated_at", "2016-04-03 20:42:07.946766"]]  (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", "2016-04-03 20:42:07.948786"], ["updated_at", "2016-04-03 20:42:07.948786"]]  (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", "2016-04-03 20:42:07.950741"], ["updated_at", "2016-04-03 20:42:07.950741"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2016-04-03 20:42:07.953613"], ["updated_at", "2016-04-03 20:42:07.953613"]]  (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", "2016-04-03 20:42:07.955999"], ["updated_at", "2016-04-03 20:42:07.955999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", "2016-04-03 20:42:07.961848"], ["updated_at", "2016-04-03 20:42:07.961848"]] 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", "2016-04-03 20:42:07.966612"], ["updated_at", "2016-04-03 20:42:07.966612"]] 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", "2016-04-03 20:42:07.976629"], ["updated_at", "2016-04-03 20:42:07.976629"]] 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", "2016-04-03 20:42:07.978253"], ["updated_at", "2016-04-03 20:42:07.978253"]] 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", "HvLq3qEK-qJYtRSNmJ9k0g"]] 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" = 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 7ms (Views: 1.1ms | ActiveRecord: 0.7ms) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)  (2.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$ThBv0fa3YdCyr8hwxYn2NueKb5YrUpTkF53NcWCQhkR5dbSyZ5Zl."], ["remember_token", "_NkyhWDJGFJRJvHZctD3MA"], ["created_at", "2016-04-03 20:42:07.998188"], ["updated_at", "2016-04-03 20:42:07.998188"]]  (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", "articles"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2016-04-03 20:42:08.001479"], ["updated_at", "2016-04-03 20:42:08.001479"]]  (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", "2016-04-03 20:42:08.004995"], ["updated_at", "2016-04-03 20:42:08.004995"]]  (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", "2016-04-03 20:42:08.007904"], ["updated_at", "2016-04-03 20:42:08.007904"]] 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", "2016-04-03 20:42:08.009081"], ["updated_at", "2016-04-03 20:42:08.009081"]] 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.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$UguUMjb2UJN9DESwIg6e7eq3KvGTzy.Y4SzvA323zMKW5/dzzFENq"], ["remember_token", "abKJQJRfeTvBbYcZc6jAjA"], ["created_at", "2016-04-03 20:42:08.014734"], ["updated_at", "2016-04-03 20:42:08.014734"]]  (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", 2], ["created_at", "2016-04-03 20:42:08.016444"], ["updated_at", "2016-04-03 20:42:08.016444"]]  (0.1ms) 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 1 [["remember_token", "_NkyhWDJGFJRJvHZctD3MA"]] 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.3ms) Completed 200 OK in 7ms (Views: 2.6ms | ActiveRecord: 0.6ms)  (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$sccPzOjoFM2CE9JjZZlE6uyCkIgs452MRplsxNoj80JIsfrYp6EXy"], ["remember_token", "shs82DSEo7lkX9ctYXjGyw"], ["created_at", "2016-04-03 20:42:08.031551"], ["updated_at", "2016-04-03 20:42:08.031551"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2016-04-03 20:42:08.034577"], ["updated_at", "2016-04-03 20:42:08.034577"]]  (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", "2016-04-03 20:42:08.036976"], ["updated_at", "2016-04-03 20:42:08.036976"]]  (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", "2016-04-03 20:42:08.040923"], ["updated_at", "2016-04-03 20:42:08.040923"]] 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", "2016-04-03 20:42:08.042199"], ["updated_at", "2016-04-03 20:42:08.042199"]] 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$1r3Vp4.80lIrrPb9gAz28.Py9jrHHYh9i9oXg3CPdOqkbHcQN1kyO"], ["remember_token", "n5k-kTzbhZIlmNAtGuJbnw"], ["created_at", "2016-04-03 20:42:08.049030"], ["updated_at", "2016-04-03 20:42:08.049030"]]  (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", "2016-04-03 20:42:08.051949"], ["updated_at", "2016-04-03 20:42:08.051949"]]  (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 1 [["remember_token", "shs82DSEo7lkX9ctYXjGyw"]] 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.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"]] Rendered articles/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.6ms)  (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$7sQ2Nxjr6kAZhaxlMFpVceRyPoWipOQuYslBSpKWUucaWoKNdr6Je"], ["remember_token", "7J8I3lh8qvThK5BhOas-vA"], ["created_at", "2016-04-03 20:42:08.068625"], ["updated_at", "2016-04-03 20:42:08.068625"]]  (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", "2016-04-03 20:42:08.071966"], ["updated_at", "2016-04-03 20:42:08.071966"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:42:08.075114"], ["updated_at", "2016-04-03 20:42:08.075114"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", "2016-04-03 20:42:08.078646"], ["updated_at", "2016-04-03 20:42:08.078646"]] 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", "2016-04-03 20:42:08.079814"], ["updated_at", "2016-04-03 20:42:08.079814"]] 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 Processing by ArticlesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "7J8I3lh8qvThK5BhOas-vA"]] 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 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.5ms) Completed 200 OK in 7ms (Views: 3.5ms | 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$9XWMSr7WqCG56sXmJ8NmB.LS0mxo9QW.661eh8DhQ3iz6J1Puo8Uy"], ["remember_token", "X4nExVdBVZf4Ey8FPE2XAA"], ["created_at", "2016-04-03 20:42:08.096966"], ["updated_at", "2016-04-03 20:42:08.096966"]]  (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.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2016-04-03 20:42:08.101407"], ["updated_at", "2016-04-03 20:42:08.101407"]]  (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", "2016-04-03 20:42:08.106023"], ["updated_at", "2016-04-03 20:42:08.106023"]]  (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", 1], ["owner_type", "User"], ["permission_type", 0], ["update_right", "t"], ["created_at", "2016-04-03 20:42:08.109963"], ["updated_at", "2016-04-03 20:42:08.109963"]] 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", "2016-04-03 20:42:08.111402"], ["updated_at", "2016-04-03 20:42:08.111402"]] 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.1ms) 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$WVsbctviz8IGngyUbvVrae4oB18exP4mO/KEmPgZZTmsfX38z.7lu"], ["remember_token", "1HJLt5Fc_ljNqPwXEOVYYQ"], ["created_at", "2016-04-03 20:42:08.118244"], ["updated_at", "2016-04-03 20:42:08.118244"]]  (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", "2016-04-03 20:42:08.120122"], ["updated_at", "2016-04-03 20:42:08.120122"]]  (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", "X4nExVdBVZf4Ey8FPE2XAA"]] 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.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.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" = 1 AND "adeia_elements"."name" = 'articles' [["update_right", "t"]] Rendered articles/edit.html.erb within layouts/application (0.4ms) Completed 200 OK in 10ms (Views: 3.9ms | ActiveRecord: 1.0ms)  (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$OFrabtlVNJwXRJI1/vOs9.GHuwJBxlQF3eV7lfPN63GN5/wIuhAny"], ["remember_token", "uzIP4TYkyTTSWntrjdxuJg"], ["created_at", "2016-04-03 20:42:08.139296"], ["updated_at", "2016-04-03 20:42:08.139296"]]  (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", "2016-04-03 20:42:08.143075"], ["updated_at", "2016-04-03 20:42:08.143075"]]  (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", "2016-04-03 20:42:08.146293"], ["updated_at", "2016-04-03 20:42:08.146293"]]  (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", "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", "2016-04-03 20:42:08.149188"], ["updated_at", "2016-04-03 20:42:08.149188"]] 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", "2016-04-03 20:42:08.150350"], ["updated_at", "2016-04-03 20:42:08.150350"]] 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.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$dQGxea1o1rtCqqi0Nsz34eMFIuy.HY5sNU0AclRaw9xCiRkbD1ltG"], ["remember_token", "MAv5IFKk3yPJicSPLxRPFA"], ["created_at", "2016-04-03 20:42:08.158193"], ["updated_at", "2016-04-03 20:42:08.158193"]]  (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", "2016-04-03 20:42:08.160646"], ["updated_at", "2016-04-03 20:42:08.160646"]]  (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", "uzIP4TYkyTTSWntrjdxuJg"]] 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.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.5ms) Completed 200 OK in 8ms (Views: 1.4ms | ActiveRecord: 0.7ms)  (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$bE/Ge8hdRLTHTh5pzOUjo.6K.Tdimlq.QKbEeG6Hvl0M2VJe6rjx2"], ["remember_token", "puEFMR9wHVgLzUYXNVp4nQ"], ["created_at", "2016-04-03 20:42:08.176363"], ["updated_at", "2016-04-03 20:42:08.176363"]]  (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", "articles"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", "2016-04-03 20:42:08.179371"], ["updated_at", "2016-04-03 20:42:08.179371"]]  (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", "2016-04-03 20:42:08.181733"], ["updated_at", "2016-04-03 20:42:08.181733"]]  (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", "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", "2016-04-03 20:42:08.186934"], ["updated_at", "2016-04-03 20:42:08.186934"]] 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", "2016-04-03 20:42:08.188972"], ["updated_at", "2016-04-03 20:42:08.188972"]] 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 Started GET "/articles" for 127.0.0.1 at 2016-04-03 22:42:08 +0200 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 2016-04-03 22:42:08 +0200 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (16.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 262ms (Views: 261.5ms | ActiveRecord: 0.2ms) Started POST "/sessions" for 127.0.0.1 at 2016-04-03 22:42:08 +0200 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 2016-04-03 22:42:08 +0200 Processing by ArticlesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "puEFMR9wHVgLzUYXNVp4nQ"]] 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 (11.1ms) Completed 200 OK in 17ms (Views: 12.7ms | ActiveRecord: 0.6ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments" for 127.0.0.1 at 2016-04-03 22:42:08 +0200 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 2016-04-03 22:42:08 +0200 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.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$4kZrVXEH0L1J1NmVz2am8uqbMonf2KQy22tJPqlKN/oNuGc.xq4na"], ["remember_token", "CnTfKh1XglNxBVV56ljmIg"], ["created_at", "2016-04-03 20:42:08.529616"], ["updated_at", "2016-04-03 20:42:08.529616"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2016-04-03 22:42:08 +0200 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 4ms (ActiveRecord: 0.1ms) Started GET "/comments" for 127.0.0.1 at 2016-04-03 22:42:08 +0200 Processing by CommentsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "CnTfKh1XglNxBVV56ljmIg"]] Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction Started GET "/comments/new" for 127.0.0.1 at 2016-04-03 22:42:08 +0200 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 8ms (Views: 7.9ms | ActiveRecord: 0.2ms) Started POST "/comments" for 127.0.0.1 at 2016-04-03 22:42:08 +0200 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 2016-04-03 22:42:08 +0200 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT 1 Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms)  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$9AIQW55ES0qN21VtyqAWWu46TwJYvlpL/cedl90t5SHGvT8gSXEW."], ["remember_token", "qUhGn2G12ISX4jCMYiFL5Q"], ["created_at", "2016-04-03 20:42:08.566835"], ["updated_at", "2016-04-03 20:42:08.566835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started POST "/sessions" for 127.0.0.1 at 2016-04-03 22:42:08 +0200 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 2016-04-03 22:42:08 +0200 Processing by PagesController#dashboard as HTML Rendered pages/dashboard.html.erb within layouts/application (0.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT 1 [["remember_token", "qUhGn2G12ISX4jCMYiFL5Q"]] Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.1ms)  (2.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$phMmOYpG9wFItTcrJ2A7huFwHYWANan1.L7Enuh372UF4dJf19f46"], ["remember_token", "V6rJYMewtYdIEjLnOMLLDw"], ["created_at", "2016-04-03 20:42:08.597682"], ["updated_at", "2016-04-03 20:42:08.597682"]]  (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", "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", "2016-04-03 20:42:08.600154"], ["updated_at", "2016-04-03 20:42:08.600154"]]  (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", "2016-04-03 20:42:08.602500"], ["updated_at", "2016-04-03 20:42:08.602500"]] 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$ZAKSF.yIFNy3IJSAl/Wy4eA1Y.ZG/YfiuBoMYgd9BSnOCIwyA0HSO"], ["remember_token", "PEQfFyfzXAuYJaZKFLSlNA"], ["created_at", "2016-04-03 20:42:08.611213"], ["updated_at", "2016-04-03 20:42:08.611213"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:42:08.613613"], ["updated_at", "2016-04-03 20:42:08.613613"]]  (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", "2016-04-03 20:42:08.615594"], ["updated_at", "2016-04-03 20:42:08.615594"]]  (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", "2016-04-03 20:42:08.619251"], ["updated_at", "2016-04-03 20:42:08.619251"]] 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", "2016-04-03 20:42:08.620652"], ["updated_at", "2016-04-03 20:42:08.620652"]] 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  (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$4DsFXmSqRMpMUtW9Pz0tmuT6qDdCC0jT8V2RoiXu7WCacDL3C2nL6"], ["remember_token", "c0PapL1ZLPSa5cl_bqoSFw"], ["created_at", "2016-04-03 20:42:08.633140"], ["updated_at", "2016-04-03 20:42:08.633140"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", "2016-04-03 20:42:08.636897"], ["updated_at", "2016-04-03 20:42:08.636897"]]  (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", "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", "2016-04-03 20:42:08.639931"], ["updated_at", "2016-04-03 20:42:08.639931"]] 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$EhO58T8zP8m432Hr.FE3CuA/w9MUB7PbEKuk7VsVsDApsN4nGnCn."], ["remember_token", "sJoKq4n-khEvO1T9yEaU_Q"], ["created_at", "2016-04-03 20:42:08.648127"], ["updated_at", "2016-04-03 20:42:08.648127"]]  (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.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", "2016-04-03 20:42:08.650917"], ["updated_at", "2016-04-03 20:42:08.650917"]]  (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", "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", "2016-04-03 20:42:08.652916"], ["updated_at", "2016-04-03 20:42:08.652916"]]  (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", "t"], ["resource_id", 1], ["created_at", "2016-04-03 20:42:08.657437"], ["updated_at", "2016-04-03 20:42:08.657437"]] 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", "2016-04-03 20:42:08.660034"], ["updated_at", "2016-04-03 20:42:08.660034"]] 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.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT 1 [["name", "adeia/permissions"]] Adeia::Permission Load (0.2ms) 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.4ms) rollback transaction